var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932793&x=5619',
		'title': '',
		'imageId': '69932793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932794&x=5619',
		'title': '',
		'imageId': '69932794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932795&x=5619',
		'title': '',
		'imageId': '69932795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932797&x=5619',
		'title': '',
		'imageId': '69932797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932798&x=5619',
		'title': '',
		'imageId': '69932798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932799&x=5619',
		'title': '',
		'imageId': '69932799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932800&x=5619',
		'title': '',
		'imageId': '69932800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932801&x=5619',
		'title': '',
		'imageId': '69932801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932802&x=5619',
		'title': '',
		'imageId': '69932802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932803&x=5619',
		'title': '',
		'imageId': '69932803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008869&docid=69932804&x=5619',
		'title': '',
		'imageId': '69932804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008869';

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