var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932357&x=1254',
		'title': '',
		'imageId': '67932357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932359&x=1254',
		'title': '',
		'imageId': '67932359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932363&x=1254',
		'title': '',
		'imageId': '67932363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932356&x=1254',
		'title': '',
		'imageId': '67932356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932362&x=1254',
		'title': '',
		'imageId': '67932362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932360&x=1254',
		'title': '',
		'imageId': '67932360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932358&x=1254',
		'title': '',
		'imageId': '67932358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932355&x=1254',
		'title': '',
		'imageId': '67932355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932361&x=1254',
		'title': '',
		'imageId': '67932361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954695&docid=67932364&x=1254',
		'title': '',
		'imageId': '67932364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954695';

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