var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953855&x=42',
		'title': '',
		'imageId': '69953855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953856&x=42',
		'title': '',
		'imageId': '69953856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953857&x=42',
		'title': '',
		'imageId': '69953857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953858&x=42',
		'title': '',
		'imageId': '69953858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953859&x=42',
		'title': '',
		'imageId': '69953859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953862&x=42',
		'title': '',
		'imageId': '69953862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953867&x=42',
		'title': '',
		'imageId': '69953867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953872&x=42',
		'title': '',
		'imageId': '69953872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953873&x=42',
		'title': '',
		'imageId': '69953873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953874&x=42',
		'title': '',
		'imageId': '69953874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953877&x=42',
		'title': '',
		'imageId': '69953877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009758&docid=69953854&x=42',
		'title': '',
		'imageId': '69953854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009758';

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