var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214024&x=2229',
		'title': '',
		'imageId': '67214024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214027&x=2229',
		'title': '',
		'imageId': '67214027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214031&x=2229',
		'title': '',
		'imageId': '67214031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214117&x=2229',
		'title': '',
		'imageId': '67214117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214125&x=2229',
		'title': '',
		'imageId': '67214125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214133&x=2229',
		'title': '',
		'imageId': '67214133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214211&x=2229',
		'title': '',
		'imageId': '67214211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214217&x=2229',
		'title': '',
		'imageId': '67214217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214223&x=2229',
		'title': '',
		'imageId': '67214223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67214255&x=2229',
		'title': '',
		'imageId': '67214255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887187&docid=67565456&x=2229',
		'title': '',
		'imageId': '67565456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887187';

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