var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857585&x=2824',
		'title': '',
		'imageId': '69857585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857578&x=2824',
		'title': '',
		'imageId': '69857578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857591&x=2824',
		'title': '',
		'imageId': '69857591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857590&x=2824',
		'title': '',
		'imageId': '69857590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857551&x=2824',
		'title': '',
		'imageId': '69857551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857573&x=2824',
		'title': '',
		'imageId': '69857573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857565&x=2824',
		'title': '',
		'imageId': '69857565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857550&x=2824',
		'title': '',
		'imageId': '69857550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857558&x=2824',
		'title': '',
		'imageId': '69857558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857572&x=2824',
		'title': '',
		'imageId': '69857572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857554&x=2824',
		'title': '',
		'imageId': '69857554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857566&x=2824',
		'title': '',
		'imageId': '69857566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857584&x=2824',
		'title': '',
		'imageId': '69857584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857555&x=2824',
		'title': '',
		'imageId': '69857555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857567&x=2824',
		'title': '',
		'imageId': '69857567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857581&x=2824',
		'title': '',
		'imageId': '69857581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857532&x=2824',
		'title': '',
		'imageId': '69857532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857536&x=2824',
		'title': '',
		'imageId': '69857536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857531&x=2824',
		'title': '',
		'imageId': '69857531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857534&x=2824',
		'title': '',
		'imageId': '69857534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857533&x=2824',
		'title': '',
		'imageId': '69857533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857535&x=2824',
		'title': '',
		'imageId': '69857535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857598&x=2824',
		'title': '',
		'imageId': '69857598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005987&docid=69857549&x=2824',
		'title': '',
		'imageId': '69857549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005987';

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