var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267953&x=813',
		'title': '',
		'imageId': '71267953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267955&x=813',
		'title': '',
		'imageId': '71267955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267948&x=813',
		'title': '',
		'imageId': '71267948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267952&x=813',
		'title': '',
		'imageId': '71267952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267950&x=813',
		'title': '',
		'imageId': '71267950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267954&x=813',
		'title': '',
		'imageId': '71267954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267951&x=813',
		'title': '',
		'imageId': '71267951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267949&x=813',
		'title': '',
		'imageId': '71267949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060419&docid=71267956&x=813',
		'title': '',
		'imageId': '71267956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4060419';

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