var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714399&x=5726',
		'title': '',
		'imageId': '69714399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714392&x=5726',
		'title': '',
		'imageId': '69714392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714398&x=5726',
		'title': '',
		'imageId': '69714398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714400&x=5726',
		'title': '',
		'imageId': '69714400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714401&x=5726',
		'title': '',
		'imageId': '69714401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714402&x=5726',
		'title': '',
		'imageId': '69714402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714403&x=5726',
		'title': '',
		'imageId': '69714403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714404&x=5726',
		'title': '',
		'imageId': '69714404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714405&x=5726',
		'title': '',
		'imageId': '69714405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714406&x=5726',
		'title': '',
		'imageId': '69714406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714407&x=5726',
		'title': '',
		'imageId': '69714407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714408&x=5726',
		'title': '',
		'imageId': '69714408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714409&x=5726',
		'title': '',
		'imageId': '69714409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714410&x=5726',
		'title': '',
		'imageId': '69714410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714411&x=5726',
		'title': '',
		'imageId': '69714411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714412&x=5726',
		'title': '',
		'imageId': '69714412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714414&x=5726',
		'title': '',
		'imageId': '69714414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714415&x=5726',
		'title': '',
		'imageId': '69714415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714416&x=5726',
		'title': '',
		'imageId': '69714416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714417&x=5726',
		'title': '',
		'imageId': '69714417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714418&x=5726',
		'title': '',
		'imageId': '69714418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000220&docid=69714419&x=5726',
		'title': '',
		'imageId': '69714419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000220';

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