var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617615&x=284',
		'title': '',
		'imageId': '71617615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617620&x=284',
		'title': '',
		'imageId': '71617620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617621&x=284',
		'title': '',
		'imageId': '71617621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617627&x=284',
		'title': '',
		'imageId': '71617627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617614&x=284',
		'title': '',
		'imageId': '71617614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617624&x=284',
		'title': '',
		'imageId': '71617624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617625&x=284',
		'title': '',
		'imageId': '71617625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617629&x=284',
		'title': '',
		'imageId': '71617629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617617&x=284',
		'title': '',
		'imageId': '71617617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617618&x=284',
		'title': '',
		'imageId': '71617618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617613&x=284',
		'title': '',
		'imageId': '71617613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617616&x=284',
		'title': '',
		'imageId': '71617616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617619&x=284',
		'title': '',
		'imageId': '71617619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617622&x=284',
		'title': '',
		'imageId': '71617622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617623&x=284',
		'title': '',
		'imageId': '71617623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617628&x=284',
		'title': '',
		'imageId': '71617628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075849&docid=71617626&x=284',
		'title': '',
		'imageId': '71617626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075849';

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