var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838816&x=3743',
		'title': '',
		'imageId': '69838816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838822&x=3743',
		'title': '',
		'imageId': '69838822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838831&x=3743',
		'title': '',
		'imageId': '69838831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838834&x=3743',
		'title': '',
		'imageId': '69838834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838838&x=3743',
		'title': '',
		'imageId': '69838838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838844&x=3743',
		'title': '',
		'imageId': '69838844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838847&x=3743',
		'title': '',
		'imageId': '69838847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69838850&x=3743',
		'title': '',
		'imageId': '69838850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69850306&x=3743',
		'title': '',
		'imageId': '69850306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69850305&x=3743',
		'title': '',
		'imageId': '69850305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69850307&x=3743',
		'title': '',
		'imageId': '69850307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005030&docid=69850308&x=3743',
		'title': '',
		'imageId': '69850308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005030';

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