var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837375&x=2258',
		'title': '',
		'imageId': '69837375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837377&x=2258',
		'title': '',
		'imageId': '69837377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837374&x=2258',
		'title': '',
		'imageId': '69837374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837371&x=2258',
		'title': '',
		'imageId': '69837371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837376&x=2258',
		'title': '',
		'imageId': '69837376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837373&x=2258',
		'title': '',
		'imageId': '69837373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837370&x=2258',
		'title': '',
		'imageId': '69837370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837369&x=2258',
		'title': '',
		'imageId': '69837369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837379&x=2258',
		'title': '',
		'imageId': '69837379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004976&docid=69837378&x=2258',
		'title': '',
		'imageId': '69837378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004976';

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