var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350261&x=547',
		'title': '',
		'imageId': '70350261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350262&x=547',
		'title': '',
		'imageId': '70350262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350263&x=547',
		'title': '',
		'imageId': '70350263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350264&x=547',
		'title': '',
		'imageId': '70350264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350265&x=547',
		'title': '',
		'imageId': '70350265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350266&x=547',
		'title': '',
		'imageId': '70350266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350267&x=547',
		'title': '',
		'imageId': '70350267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70350268&x=547',
		'title': '',
		'imageId': '70350268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70559535&x=547',
		'title': '',
		'imageId': '70559535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70559544&x=547',
		'title': '',
		'imageId': '70559544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038684&docid=70559550&x=547',
		'title': '',
		'imageId': '70559550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038684';

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