var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513945&x=1920',
		'title': '',
		'imageId': '71513945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513946&x=1920',
		'title': '',
		'imageId': '71513946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513947&x=1920',
		'title': '',
		'imageId': '71513947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513948&x=1920',
		'title': '',
		'imageId': '71513948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513949&x=1920',
		'title': '',
		'imageId': '71513949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513950&x=1920',
		'title': '',
		'imageId': '71513950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513951&x=1920',
		'title': '',
		'imageId': '71513951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513952&x=1920',
		'title': '',
		'imageId': '71513952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072572&docid=71513953&x=1920',
		'title': '',
		'imageId': '71513953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072572';

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