var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872608&x=2430',
		'title': '',
		'imageId': '67872608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872605&x=2430',
		'title': '',
		'imageId': '67872605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872603&x=2430',
		'title': '',
		'imageId': '67872603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872602&x=2430',
		'title': '',
		'imageId': '67872602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872611&x=2430',
		'title': '',
		'imageId': '67872611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872609&x=2430',
		'title': '',
		'imageId': '67872609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872606&x=2430',
		'title': '',
		'imageId': '67872606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872610&x=2430',
		'title': '',
		'imageId': '67872610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872604&x=2430',
		'title': '',
		'imageId': '67872604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872702&x=2430',
		'title': '',
		'imageId': '67872702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936056&docid=67872607&x=2430',
		'title': '',
		'imageId': '67872607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936056';

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