var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124140&x=299',
		'title': '',
		'imageId': '70124140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124141&x=299',
		'title': '',
		'imageId': '70124141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124142&x=299',
		'title': '',
		'imageId': '70124142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124143&x=299',
		'title': '',
		'imageId': '70124143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124144&x=299',
		'title': '',
		'imageId': '70124144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124145&x=299',
		'title': '',
		'imageId': '70124145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124146&x=299',
		'title': '',
		'imageId': '70124146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124147&x=299',
		'title': '',
		'imageId': '70124147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016270&docid=70124148&x=299',
		'title': '',
		'imageId': '70124148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016270';

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