var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028702&x=1326',
		'title': '',
		'imageId': '59028702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028703&x=1326',
		'title': '',
		'imageId': '59028703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028704&x=1326',
		'title': '',
		'imageId': '59028704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028705&x=1326',
		'title': '',
		'imageId': '59028705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028706&x=1326',
		'title': '',
		'imageId': '59028706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028707&x=1326',
		'title': '',
		'imageId': '59028707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028708&x=1326',
		'title': '',
		'imageId': '59028708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028709&x=1326',
		'title': '',
		'imageId': '59028709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028710&x=1326',
		'title': '',
		'imageId': '59028710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028711&x=1326',
		'title': '',
		'imageId': '59028711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028712&x=1326',
		'title': '',
		'imageId': '59028712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028713&x=1326',
		'title': '',
		'imageId': '59028713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028714&x=1326',
		'title': '',
		'imageId': '59028714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028715&x=1326',
		'title': '',
		'imageId': '59028715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028716&x=1326',
		'title': '',
		'imageId': '59028716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028717&x=1326',
		'title': '',
		'imageId': '59028717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028718&x=1326',
		'title': '',
		'imageId': '59028718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028719&x=1326',
		'title': '',
		'imageId': '59028719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028720&x=1326',
		'title': '',
		'imageId': '59028720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028721&x=1326',
		'title': '',
		'imageId': '59028721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028722&x=1326',
		'title': '',
		'imageId': '59028722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028723&x=1326',
		'title': '',
		'imageId': '59028723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028724&x=1326',
		'title': '',
		'imageId': '59028724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967840&docid=59028725&x=1326',
		'title': '',
		'imageId': '59028725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967840';

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