var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71433865&x=542',
		'title': '',
		'imageId': '71433865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71433867&x=542',
		'title': '',
		'imageId': '71433867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336853&x=542',
		'title': '',
		'imageId': '71336853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336854&x=542',
		'title': '',
		'imageId': '71336854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336863&x=542',
		'title': '',
		'imageId': '71336863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336860&x=542',
		'title': '',
		'imageId': '71336860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336865&x=542',
		'title': '',
		'imageId': '71336865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336858&x=542',
		'title': '',
		'imageId': '71336858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336866&x=542',
		'title': '',
		'imageId': '71336866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336852&x=542',
		'title': '',
		'imageId': '71336852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336864&x=542',
		'title': '',
		'imageId': '71336864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336857&x=542',
		'title': '',
		'imageId': '71336857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71433866&x=542',
		'title': '',
		'imageId': '71433866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336859&x=542',
		'title': '',
		'imageId': '71336859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336867&x=542',
		'title': '',
		'imageId': '71336867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336861&x=542',
		'title': '',
		'imageId': '71336861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063910&docid=71336855&x=542',
		'title': '',
		'imageId': '71336855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063910';

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