var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71438163&x=2042',
		'title': '',
		'imageId': '71438163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71438142&x=2042',
		'title': '',
		'imageId': '71438142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71438139&x=2042',
		'title': '',
		'imageId': '71438139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71438141&x=2042',
		'title': '',
		'imageId': '71438141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71438140&x=2042',
		'title': '',
		'imageId': '71438140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437760&x=2042',
		'title': '',
		'imageId': '71437760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437747&x=2042',
		'title': '',
		'imageId': '71437747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437759&x=2042',
		'title': '',
		'imageId': '71437759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437946&x=2042',
		'title': '',
		'imageId': '71437946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437944&x=2042',
		'title': '',
		'imageId': '71437944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069018&docid=71437945&x=2042',
		'title': '',
		'imageId': '71437945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069018';

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