var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934392&x=3943',
		'title': '',
		'imageId': '69934392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934393&x=3943',
		'title': '',
		'imageId': '69934393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934394&x=3943',
		'title': '',
		'imageId': '69934394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934395&x=3943',
		'title': '',
		'imageId': '69934395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934396&x=3943',
		'title': '',
		'imageId': '69934396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934397&x=3943',
		'title': '',
		'imageId': '69934397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934398&x=3943',
		'title': '',
		'imageId': '69934398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934399&x=3943',
		'title': '',
		'imageId': '69934399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934400&x=3943',
		'title': '',
		'imageId': '69934400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934401&x=3943',
		'title': '',
		'imageId': '69934401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934402&x=3943',
		'title': '',
		'imageId': '69934402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934403&x=3943',
		'title': '',
		'imageId': '69934403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934404&x=3943',
		'title': '',
		'imageId': '69934404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934405&x=3943',
		'title': '',
		'imageId': '69934405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934406&x=3943',
		'title': '',
		'imageId': '69934406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934407&x=3943',
		'title': '',
		'imageId': '69934407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934408&x=3943',
		'title': '',
		'imageId': '69934408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934409&x=3943',
		'title': '',
		'imageId': '69934409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934410&x=3943',
		'title': '',
		'imageId': '69934410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934411&x=3943',
		'title': '',
		'imageId': '69934411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934412&x=3943',
		'title': '',
		'imageId': '69934412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008952&docid=69934413&x=3943',
		'title': '',
		'imageId': '69934413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008952';

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