var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514435&x=5913',
		'title': '',
		'imageId': '68514435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514440&x=5913',
		'title': '',
		'imageId': '68514440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514438&x=5913',
		'title': '',
		'imageId': '68514438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514436&x=5913',
		'title': '',
		'imageId': '68514436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514426&x=5913',
		'title': '',
		'imageId': '68514426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514427&x=5913',
		'title': '',
		'imageId': '68514427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514431&x=5913',
		'title': '',
		'imageId': '68514431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514430&x=5913',
		'title': '',
		'imageId': '68514430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514432&x=5913',
		'title': '',
		'imageId': '68514432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514441&x=5913',
		'title': '',
		'imageId': '68514441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947175&docid=68514433&x=5913',
		'title': '',
		'imageId': '68514433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947175';

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