var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685000&x=5528',
		'title': '',
		'imageId': '67685000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685001&x=5528',
		'title': '',
		'imageId': '67685001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685002&x=5528',
		'title': '',
		'imageId': '67685002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685018&x=5528',
		'title': '',
		'imageId': '67685018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685019&x=5528',
		'title': '',
		'imageId': '67685019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685020&x=5528',
		'title': '',
		'imageId': '67685020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685021&x=5528',
		'title': '',
		'imageId': '67685021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911895&docid=67685022&x=5528',
		'title': '',
		'imageId': '67685022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911895';

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