var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899517&x=4939',
		'title': '',
		'imageId': '67899517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899518&x=4939',
		'title': '',
		'imageId': '67899518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899519&x=4939',
		'title': '',
		'imageId': '67899519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899520&x=4939',
		'title': '',
		'imageId': '67899520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899521&x=4939',
		'title': '',
		'imageId': '67899521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899522&x=4939',
		'title': '',
		'imageId': '67899522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899523&x=4939',
		'title': '',
		'imageId': '67899523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899524&x=4939',
		'title': '',
		'imageId': '67899524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899525&x=4939',
		'title': '',
		'imageId': '67899525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899526&x=4939',
		'title': '',
		'imageId': '67899526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899527&x=4939',
		'title': '',
		'imageId': '67899527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919918&docid=67899528&x=4939',
		'title': '',
		'imageId': '67899528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919918';

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