var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094918&x=136',
		'title': '',
		'imageId': '71094918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094917&x=136',
		'title': '',
		'imageId': '71094917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094911&x=136',
		'title': '',
		'imageId': '71094911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094910&x=136',
		'title': '',
		'imageId': '71094910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094925&x=136',
		'title': '',
		'imageId': '71094925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094907&x=136',
		'title': '',
		'imageId': '71094907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094906&x=136',
		'title': '',
		'imageId': '71094906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094909&x=136',
		'title': '',
		'imageId': '71094909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094920&x=136',
		'title': '',
		'imageId': '71094920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094922&x=136',
		'title': '',
		'imageId': '71094922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094924&x=136',
		'title': '',
		'imageId': '71094924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094921&x=136',
		'title': '',
		'imageId': '71094921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094913&x=136',
		'title': '',
		'imageId': '71094913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094919&x=136',
		'title': '',
		'imageId': '71094919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094916&x=136',
		'title': '',
		'imageId': '71094916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094914&x=136',
		'title': '',
		'imageId': '71094914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094915&x=136',
		'title': '',
		'imageId': '71094915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053779&docid=71094908&x=136',
		'title': '',
		'imageId': '71094908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053779';

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