var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325017&x=3635',
		'title': '',
		'imageId': '68325017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325019&x=3635',
		'title': '',
		'imageId': '68325019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325020&x=3635',
		'title': '',
		'imageId': '68325020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325025&x=3635',
		'title': '',
		'imageId': '68325025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325022&x=3635',
		'title': '',
		'imageId': '68325022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325021&x=3635',
		'title': '',
		'imageId': '68325021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325024&x=3635',
		'title': '',
		'imageId': '68325024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325026&x=3635',
		'title': '',
		'imageId': '68325026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938274&docid=68325023&x=3635',
		'title': '',
		'imageId': '68325023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938274';

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