var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424768&x=4618',
		'title': '',
		'imageId': '71424768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424773&x=4618',
		'title': '',
		'imageId': '71424773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424772&x=4618',
		'title': '',
		'imageId': '71424772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424770&x=4618',
		'title': '',
		'imageId': '71424770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424766&x=4618',
		'title': '',
		'imageId': '71424766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424769&x=4618',
		'title': '',
		'imageId': '71424769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424767&x=4618',
		'title': '',
		'imageId': '71424767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424765&x=4618',
		'title': '',
		'imageId': '71424765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424774&x=4618',
		'title': '',
		'imageId': '71424774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424771&x=4618',
		'title': '',
		'imageId': '71424771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067282&docid=71424764&x=4618',
		'title': '',
		'imageId': '71424764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067282';

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