var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596224&x=527',
		'title': '',
		'imageId': '71596224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596218&x=527',
		'title': '',
		'imageId': '71596218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596216&x=527',
		'title': '',
		'imageId': '71596216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596222&x=527',
		'title': '',
		'imageId': '71596222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596215&x=527',
		'title': '',
		'imageId': '71596215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596217&x=527',
		'title': '',
		'imageId': '71596217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596219&x=527',
		'title': '',
		'imageId': '71596219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596220&x=527',
		'title': '',
		'imageId': '71596220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596221&x=527',
		'title': '',
		'imageId': '71596221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596225&x=527',
		'title': '',
		'imageId': '71596225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072619&docid=71596223&x=527',
		'title': '',
		'imageId': '71596223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072619';

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