var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035142&x=1816',
		'title': '',
		'imageId': '70035142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035143&x=1816',
		'title': '',
		'imageId': '70035143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035144&x=1816',
		'title': '',
		'imageId': '70035144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035147&x=1816',
		'title': '',
		'imageId': '70035147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035148&x=1816',
		'title': '',
		'imageId': '70035148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035149&x=1816',
		'title': '',
		'imageId': '70035149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035150&x=1816',
		'title': '',
		'imageId': '70035150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035151&x=1816',
		'title': '',
		'imageId': '70035151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035152&x=1816',
		'title': '',
		'imageId': '70035152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035153&x=1816',
		'title': '',
		'imageId': '70035153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035154&x=1816',
		'title': '',
		'imageId': '70035154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035155&x=1816',
		'title': '',
		'imageId': '70035155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035156&x=1816',
		'title': '',
		'imageId': '70035156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035157&x=1816',
		'title': '',
		'imageId': '70035157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035158&x=1816',
		'title': '',
		'imageId': '70035158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035145&x=1816',
		'title': '',
		'imageId': '70035145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035146&x=1816',
		'title': '',
		'imageId': '70035146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035159&x=1816',
		'title': '',
		'imageId': '70035159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035160&x=1816',
		'title': '',
		'imageId': '70035160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035482&docid=70035161&x=1816',
		'title': '',
		'imageId': '70035161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035482';

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