var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927226&x=469',
		'title': '',
		'imageId': '69927226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927227&x=469',
		'title': '',
		'imageId': '69927227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927228&x=469',
		'title': '',
		'imageId': '69927228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927229&x=469',
		'title': '',
		'imageId': '69927229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927230&x=469',
		'title': '',
		'imageId': '69927230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927231&x=469',
		'title': '',
		'imageId': '69927231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927242&x=469',
		'title': '',
		'imageId': '69927242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927243&x=469',
		'title': '',
		'imageId': '69927243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927234&x=469',
		'title': '',
		'imageId': '69927234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927252&x=469',
		'title': '',
		'imageId': '69927252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927251&x=469',
		'title': '',
		'imageId': '69927251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927237&x=469',
		'title': '',
		'imageId': '69927237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927253&x=469',
		'title': '',
		'imageId': '69927253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927256&x=469',
		'title': '',
		'imageId': '69927256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927263&x=469',
		'title': '',
		'imageId': '69927263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927266&x=469',
		'title': '',
		'imageId': '69927266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008715&docid=69927267&x=469',
		'title': '',
		'imageId': '69927267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008715';

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