var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678261&x=459',
		'title': '',
		'imageId': '70678261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678262&x=459',
		'title': '',
		'imageId': '70678262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678263&x=459',
		'title': '',
		'imageId': '70678263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678264&x=459',
		'title': '',
		'imageId': '70678264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678265&x=459',
		'title': '',
		'imageId': '70678265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678266&x=459',
		'title': '',
		'imageId': '70678266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678267&x=459',
		'title': '',
		'imageId': '70678267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678268&x=459',
		'title': '',
		'imageId': '70678268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678249&x=459',
		'title': '',
		'imageId': '70678249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678250&x=459',
		'title': '',
		'imageId': '70678250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678256&x=459',
		'title': '',
		'imageId': '70678256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678255&x=459',
		'title': '',
		'imageId': '70678255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678251&x=459',
		'title': '',
		'imageId': '70678251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678252&x=459',
		'title': '',
		'imageId': '70678252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678253&x=459',
		'title': '',
		'imageId': '70678253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678254&x=459',
		'title': '',
		'imageId': '70678254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678257&x=459',
		'title': '',
		'imageId': '70678257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678259&x=459',
		'title': '',
		'imageId': '70678259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038168&docid=70678260&x=459',
		'title': '',
		'imageId': '70678260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038168';

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";
	})
}
