var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514410&x=1915',
		'title': '',
		'imageId': '68514410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514415&x=1915',
		'title': '',
		'imageId': '68514415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514413&x=1915',
		'title': '',
		'imageId': '68514413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514411&x=1915',
		'title': '',
		'imageId': '68514411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514417&x=1915',
		'title': '',
		'imageId': '68514417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514418&x=1915',
		'title': '',
		'imageId': '68514418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514421&x=1915',
		'title': '',
		'imageId': '68514421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514423&x=1915',
		'title': '',
		'imageId': '68514423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514422&x=1915',
		'title': '',
		'imageId': '68514422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514416&x=1915',
		'title': '',
		'imageId': '68514416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947174&docid=68514425&x=1915',
		'title': '',
		'imageId': '68514425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947174';

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