var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078041&x=1528',
		'title': '',
		'imageId': '70078041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078043&x=1528',
		'title': '',
		'imageId': '70078043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078044&x=1528',
		'title': '',
		'imageId': '70078044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078045&x=1528',
		'title': '',
		'imageId': '70078045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078048&x=1528',
		'title': '',
		'imageId': '70078048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078049&x=1528',
		'title': '',
		'imageId': '70078049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078050&x=1528',
		'title': '',
		'imageId': '70078050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078051&x=1528',
		'title': '',
		'imageId': '70078051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078052&x=1528',
		'title': '',
		'imageId': '70078052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015125&docid=70078053&x=1528',
		'title': '',
		'imageId': '70078053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015125';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
