var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205185&x=5325',
		'title': '',
		'imageId': '70205185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205192&x=5325',
		'title': '',
		'imageId': '70205192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205194&x=5325',
		'title': '',
		'imageId': '70205194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205195&x=5325',
		'title': '',
		'imageId': '70205195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205196&x=5325',
		'title': '',
		'imageId': '70205196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205203&x=5325',
		'title': '',
		'imageId': '70205203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205181&x=5325',
		'title': '',
		'imageId': '70205181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205204&x=5325',
		'title': '',
		'imageId': '70205204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205205&x=5325',
		'title': '',
		'imageId': '70205205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019034&docid=70205214&x=5325',
		'title': '',
		'imageId': '70205214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019034';

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