var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688053&x=5846',
		'title': '',
		'imageId': '69688053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688052&x=5846',
		'title': '',
		'imageId': '69688052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688055&x=5846',
		'title': '',
		'imageId': '69688055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688054&x=5846',
		'title': '',
		'imageId': '69688054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688056&x=5846',
		'title': '',
		'imageId': '69688056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688063&x=5846',
		'title': '',
		'imageId': '69688063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688058&x=5846',
		'title': '',
		'imageId': '69688058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688059&x=5846',
		'title': '',
		'imageId': '69688059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688057&x=5846',
		'title': '',
		'imageId': '69688057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688060&x=5846',
		'title': '',
		'imageId': '69688060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688061&x=5846',
		'title': '',
		'imageId': '69688061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010923&docid=69688062&x=5846',
		'title': '',
		'imageId': '69688062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010923';

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