var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900252&x=2524',
		'title': '',
		'imageId': '68900252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900253&x=2524',
		'title': '',
		'imageId': '68900253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900254&x=2524',
		'title': '',
		'imageId': '68900254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900255&x=2524',
		'title': '',
		'imageId': '68900255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900256&x=2524',
		'title': '',
		'imageId': '68900256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900257&x=2524',
		'title': '',
		'imageId': '68900257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900258&x=2524',
		'title': '',
		'imageId': '68900258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900259&x=2524',
		'title': '',
		'imageId': '68900259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900260&x=2524',
		'title': '',
		'imageId': '68900260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900261&x=2524',
		'title': '',
		'imageId': '68900261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900262&x=2524',
		'title': '',
		'imageId': '68900262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963891&docid=68900263&x=2524',
		'title': '',
		'imageId': '68900263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963891';

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