var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043342&x=4654',
		'title': '',
		'imageId': '68043342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043337&x=4654',
		'title': '',
		'imageId': '68043337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043338&x=4654',
		'title': '',
		'imageId': '68043338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043341&x=4654',
		'title': '',
		'imageId': '68043341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043340&x=4654',
		'title': '',
		'imageId': '68043340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043339&x=4654',
		'title': '',
		'imageId': '68043339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043343&x=4654',
		'title': '',
		'imageId': '68043343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043346&x=4654',
		'title': '',
		'imageId': '68043346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043347&x=4654',
		'title': '',
		'imageId': '68043347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043345&x=4654',
		'title': '',
		'imageId': '68043345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925591&docid=68043344&x=4654',
		'title': '',
		'imageId': '68043344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925591';

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