var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652911&x=2755',
		'title': '',
		'imageId': '67652911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652912&x=2755',
		'title': '',
		'imageId': '67652912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652913&x=2755',
		'title': '',
		'imageId': '67652913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652914&x=2755',
		'title': '',
		'imageId': '67652914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652915&x=2755',
		'title': '',
		'imageId': '67652915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652916&x=2755',
		'title': '',
		'imageId': '67652916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652917&x=2755',
		'title': '',
		'imageId': '67652917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652918&x=2755',
		'title': '',
		'imageId': '67652918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652919&x=2755',
		'title': '',
		'imageId': '67652919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652920&x=2755',
		'title': '',
		'imageId': '67652920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652921&x=2755',
		'title': '',
		'imageId': '67652921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910591&docid=67652922&x=2755',
		'title': '',
		'imageId': '67652922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910591';

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