var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945574&x=408',
		'title': '',
		'imageId': '69945574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945422&x=408',
		'title': '',
		'imageId': '69945422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945573&x=408',
		'title': '',
		'imageId': '69945573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945571&x=408',
		'title': '',
		'imageId': '69945571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945419&x=408',
		'title': '',
		'imageId': '69945419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945420&x=408',
		'title': '',
		'imageId': '69945420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945418&x=408',
		'title': '',
		'imageId': '69945418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945421&x=408',
		'title': '',
		'imageId': '69945421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945417&x=408',
		'title': '',
		'imageId': '69945417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945572&x=408',
		'title': '',
		'imageId': '69945572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009379&docid=69945423&x=408',
		'title': '',
		'imageId': '69945423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009379';

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