var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072644&x=1316',
		'title': '',
		'imageId': '70072644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072650&x=1316',
		'title': '',
		'imageId': '70072650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072646&x=1316',
		'title': '',
		'imageId': '70072646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072653&x=1316',
		'title': '',
		'imageId': '70072653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072645&x=1316',
		'title': '',
		'imageId': '70072645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072647&x=1316',
		'title': '',
		'imageId': '70072647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072643&x=1316',
		'title': '',
		'imageId': '70072643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072652&x=1316',
		'title': '',
		'imageId': '70072652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072651&x=1316',
		'title': '',
		'imageId': '70072651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072648&x=1316',
		'title': '',
		'imageId': '70072648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014841&docid=70072649&x=1316',
		'title': '',
		'imageId': '70072649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014841';

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