var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080274&x=3746',
		'title': '',
		'imageId': '71080274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080273&x=3746',
		'title': '',
		'imageId': '71080273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080275&x=3746',
		'title': '',
		'imageId': '71080275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080269&x=3746',
		'title': '',
		'imageId': '71080269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080271&x=3746',
		'title': '',
		'imageId': '71080271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080259&x=3746',
		'title': '',
		'imageId': '71080259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080264&x=3746',
		'title': '',
		'imageId': '71080264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080268&x=3746',
		'title': '',
		'imageId': '71080268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080267&x=3746',
		'title': '',
		'imageId': '71080267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080265&x=3746',
		'title': '',
		'imageId': '71080265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080261&x=3746',
		'title': '',
		'imageId': '71080261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080266&x=3746',
		'title': '',
		'imageId': '71080266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080262&x=3746',
		'title': '',
		'imageId': '71080262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080276&x=3746',
		'title': '',
		'imageId': '71080276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080272&x=3746',
		'title': '',
		'imageId': '71080272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080270&x=3746',
		'title': '',
		'imageId': '71080270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080260&x=3746',
		'title': '',
		'imageId': '71080260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=71080263&x=3746',
		'title': '',
		'imageId': '71080263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=59270415&x=3746',
		'title': '',
		'imageId': '59270415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045806&docid=59270407&x=3746',
		'title': '',
		'imageId': '59270407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045806';

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