var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318964&x=577',
		'title': '',
		'imageId': '68318964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318973&x=577',
		'title': '',
		'imageId': '68318973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318967&x=577',
		'title': '',
		'imageId': '68318967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318966&x=577',
		'title': '',
		'imageId': '68318966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318969&x=577',
		'title': '',
		'imageId': '68318969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318968&x=577',
		'title': '',
		'imageId': '68318968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318972&x=577',
		'title': '',
		'imageId': '68318972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318970&x=577',
		'title': '',
		'imageId': '68318970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68318965&x=577',
		'title': '',
		'imageId': '68318965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68448702&x=577',
		'title': '',
		'imageId': '68448702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937977&docid=68448703&x=577',
		'title': '',
		'imageId': '68448703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937977';

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