var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589350&x=3215',
		'title': '',
		'imageId': '2589350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589353&x=3215',
		'title': '',
		'imageId': '2589353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589356&x=3215',
		'title': '',
		'imageId': '2589356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589359&x=3215',
		'title': '',
		'imageId': '2589359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589362&x=3215',
		'title': '',
		'imageId': '2589362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589365&x=3215',
		'title': '',
		'imageId': '2589365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589368&x=3215',
		'title': '',
		'imageId': '2589368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473614&docid=2589371&x=3215',
		'title': '',
		'imageId': '2589371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #473614';

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