var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784359&x=1347',
		'title': '',
		'imageId': '68784359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784353&x=1347',
		'title': '',
		'imageId': '68784353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784360&x=1347',
		'title': '',
		'imageId': '68784360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784355&x=1347',
		'title': '',
		'imageId': '68784355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784363&x=1347',
		'title': '',
		'imageId': '68784363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784361&x=1347',
		'title': '',
		'imageId': '68784361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784364&x=1347',
		'title': '',
		'imageId': '68784364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784358&x=1347',
		'title': '',
		'imageId': '68784358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784354&x=1347',
		'title': '',
		'imageId': '68784354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784362&x=1347',
		'title': '',
		'imageId': '68784362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784357&x=1347',
		'title': '',
		'imageId': '68784357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958319&docid=68784356&x=1347',
		'title': '',
		'imageId': '68784356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958319';

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