var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661295&x=3141',
		'title': '',
		'imageId': '68661295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661299&x=3141',
		'title': '',
		'imageId': '68661299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661316&x=3141',
		'title': '',
		'imageId': '68661316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661317&x=3141',
		'title': '',
		'imageId': '68661317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661318&x=3141',
		'title': '',
		'imageId': '68661318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661319&x=3141',
		'title': '',
		'imageId': '68661319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661341&x=3141',
		'title': '',
		'imageId': '68661341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661389&x=3141',
		'title': '',
		'imageId': '68661389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661392&x=3141',
		'title': '',
		'imageId': '68661392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661395&x=3141',
		'title': '',
		'imageId': '68661395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964767&docid=68661401&x=3141',
		'title': '',
		'imageId': '68661401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964767';

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