var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853960&x=4816',
		'title': '',
		'imageId': '69853960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853961&x=4816',
		'title': '',
		'imageId': '69853961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853962&x=4816',
		'title': '',
		'imageId': '69853962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853963&x=4816',
		'title': '',
		'imageId': '69853963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853964&x=4816',
		'title': '',
		'imageId': '69853964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853975&x=4816',
		'title': '',
		'imageId': '69853975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853979&x=4816',
		'title': '',
		'imageId': '69853979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853980&x=4816',
		'title': '',
		'imageId': '69853980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853981&x=4816',
		'title': '',
		'imageId': '69853981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853982&x=4816',
		'title': '',
		'imageId': '69853982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853983&x=4816',
		'title': '',
		'imageId': '69853983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005746&docid=69853984&x=4816',
		'title': '',
		'imageId': '69853984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005746';

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