var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422753&x=3238',
		'title': '',
		'imageId': '70422753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422750&x=3238',
		'title': '',
		'imageId': '70422750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422742&x=3238',
		'title': '',
		'imageId': '70422742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422739&x=3238',
		'title': '',
		'imageId': '70422739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422746&x=3238',
		'title': '',
		'imageId': '70422746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422711&x=3238',
		'title': '',
		'imageId': '70422711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422681&x=3238',
		'title': '',
		'imageId': '70422681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422687&x=3238',
		'title': '',
		'imageId': '70422687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422699&x=3238',
		'title': '',
		'imageId': '70422699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422705&x=3238',
		'title': '',
		'imageId': '70422705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422678&x=3238',
		'title': '',
		'imageId': '70422678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422672&x=3238',
		'title': '',
		'imageId': '70422672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422685&x=3238',
		'title': '',
		'imageId': '70422685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422691&x=3238',
		'title': '',
		'imageId': '70422691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422718&x=3238',
		'title': '',
		'imageId': '70422718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422721&x=3238',
		'title': '',
		'imageId': '70422721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422724&x=3238',
		'title': '',
		'imageId': '70422724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422728&x=3238',
		'title': '',
		'imageId': '70422728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422657&x=3238',
		'title': '',
		'imageId': '70422657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422639&x=3238',
		'title': '',
		'imageId': '70422639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422640&x=3238',
		'title': '',
		'imageId': '70422640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422641&x=3238',
		'title': '',
		'imageId': '70422641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422642&x=3238',
		'title': '',
		'imageId': '70422642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422643&x=3238',
		'title': '',
		'imageId': '70422643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422644&x=3238',
		'title': '',
		'imageId': '70422644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422677&x=3238',
		'title': '',
		'imageId': '70422677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422693&x=3238',
		'title': '',
		'imageId': '70422693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422696&x=3238',
		'title': '',
		'imageId': '70422696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422702&x=3238',
		'title': '',
		'imageId': '70422702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422708&x=3238',
		'title': '',
		'imageId': '70422708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422715&x=3238',
		'title': '',
		'imageId': '70422715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422730&x=3238',
		'title': '',
		'imageId': '70422730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422733&x=3238',
		'title': '',
		'imageId': '70422733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422736&x=3238',
		'title': '',
		'imageId': '70422736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021236&docid=70422662&x=3238',
		'title': '',
		'imageId': '70422662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021236';

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