var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68708449&x=4849',
		'title': '',
		'imageId': '68708449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68708447&x=4849',
		'title': '',
		'imageId': '68708447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68708446&x=4849',
		'title': '',
		'imageId': '68708446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68708448&x=4849',
		'title': '',
		'imageId': '68708448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68747518&x=4849',
		'title': '',
		'imageId': '68747518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68747516&x=4849',
		'title': '',
		'imageId': '68747516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68747517&x=4849',
		'title': '',
		'imageId': '68747517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=68747515&x=4849',
		'title': '',
		'imageId': '68747515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=69003952&x=4849',
		'title': '',
		'imageId': '69003952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=69003951&x=4849',
		'title': '',
		'imageId': '69003951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955385&docid=69003953&x=4849',
		'title': '',
		'imageId': '69003953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955385';

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