var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174109&x=614',
		'title': '',
		'imageId': '67174109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174110&x=614',
		'title': '',
		'imageId': '67174110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174115&x=614',
		'title': '',
		'imageId': '67174115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174118&x=614',
		'title': '',
		'imageId': '67174118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174119&x=614',
		'title': '',
		'imageId': '67174119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174122&x=614',
		'title': '',
		'imageId': '67174122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174125&x=614',
		'title': '',
		'imageId': '67174125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174130&x=614',
		'title': '',
		'imageId': '67174130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174131&x=614',
		'title': '',
		'imageId': '67174131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174132&x=614',
		'title': '',
		'imageId': '67174132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174133&x=614',
		'title': '',
		'imageId': '67174133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891133&docid=67174134&x=614',
		'title': '',
		'imageId': '67174134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891133';

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