var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508414&x=205',
		'title': '',
		'imageId': '67508414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508446&x=205',
		'title': '',
		'imageId': '67508446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508421&x=205',
		'title': '',
		'imageId': '67508421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508419&x=205',
		'title': '',
		'imageId': '67508419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508420&x=205',
		'title': '',
		'imageId': '67508420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508413&x=205',
		'title': '',
		'imageId': '67508413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508416&x=205',
		'title': '',
		'imageId': '67508416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508415&x=205',
		'title': '',
		'imageId': '67508415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508423&x=205',
		'title': '',
		'imageId': '67508423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508422&x=205',
		'title': '',
		'imageId': '67508422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508418&x=205',
		'title': '',
		'imageId': '67508418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904181&docid=67508417&x=205',
		'title': '',
		'imageId': '67508417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904181';

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