var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226559&x=917',
		'title': '',
		'imageId': '69226559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226623&x=917',
		'title': '',
		'imageId': '69226623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226564&x=917',
		'title': '',
		'imageId': '69226564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226562&x=917',
		'title': '',
		'imageId': '69226562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226566&x=917',
		'title': '',
		'imageId': '69226566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226576&x=917',
		'title': '',
		'imageId': '69226576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226575&x=917',
		'title': '',
		'imageId': '69226575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226582&x=917',
		'title': '',
		'imageId': '69226582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226560&x=917',
		'title': '',
		'imageId': '69226560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226577&x=917',
		'title': '',
		'imageId': '69226577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226583&x=917',
		'title': '',
		'imageId': '69226583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226589&x=917',
		'title': '',
		'imageId': '69226589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226609&x=917',
		'title': '',
		'imageId': '69226609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226604&x=917',
		'title': '',
		'imageId': '69226604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226618&x=917',
		'title': '',
		'imageId': '69226618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226586&x=917',
		'title': '',
		'imageId': '69226586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226545&x=917',
		'title': '',
		'imageId': '69226545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226543&x=917',
		'title': '',
		'imageId': '69226543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226541&x=917',
		'title': '',
		'imageId': '69226541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226544&x=917',
		'title': '',
		'imageId': '69226544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226546&x=917',
		'title': '',
		'imageId': '69226546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977664&docid=69226551&x=917',
		'title': '',
		'imageId': '69226551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977664';

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