var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306573&x=5850',
		'title': '',
		'imageId': '70306573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306575&x=5850',
		'title': '',
		'imageId': '70306575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306576&x=5850',
		'title': '',
		'imageId': '70306576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306577&x=5850',
		'title': '',
		'imageId': '70306577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306578&x=5850',
		'title': '',
		'imageId': '70306578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306579&x=5850',
		'title': '',
		'imageId': '70306579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306580&x=5850',
		'title': '',
		'imageId': '70306580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306581&x=5850',
		'title': '',
		'imageId': '70306581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306582&x=5850',
		'title': '',
		'imageId': '70306582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306583&x=5850',
		'title': '',
		'imageId': '70306583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042737&docid=70306584&x=5850',
		'title': '',
		'imageId': '70306584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042737';

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