var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656539&x=199',
		'title': '',
		'imageId': '68656539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656551&x=199',
		'title': '',
		'imageId': '68656551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656564&x=199',
		'title': '',
		'imageId': '68656564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656565&x=199',
		'title': '',
		'imageId': '68656565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656566&x=199',
		'title': '',
		'imageId': '68656566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656567&x=199',
		'title': '',
		'imageId': '68656567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656568&x=199',
		'title': '',
		'imageId': '68656568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656569&x=199',
		'title': '',
		'imageId': '68656569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656570&x=199',
		'title': '',
		'imageId': '68656570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=68656571&x=199',
		'title': '',
		'imageId': '68656571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=69201201&x=199',
		'title': '',
		'imageId': '69201201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953293&docid=69201200&x=199',
		'title': '',
		'imageId': '69201200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953293';

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