var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241909&x=2050',
		'title': '',
		'imageId': '70241909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241910&x=2050',
		'title': '',
		'imageId': '70241910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241906&x=2050',
		'title': '',
		'imageId': '70241906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241904&x=2050',
		'title': '',
		'imageId': '70241904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241907&x=2050',
		'title': '',
		'imageId': '70241907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241903&x=2050',
		'title': '',
		'imageId': '70241903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241905&x=2050',
		'title': '',
		'imageId': '70241905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241908&x=2050',
		'title': '',
		'imageId': '70241908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241911&x=2050',
		'title': '',
		'imageId': '70241911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241895&x=2050',
		'title': '',
		'imageId': '70241895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241897&x=2050',
		'title': '',
		'imageId': '70241897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241901&x=2050',
		'title': '',
		'imageId': '70241901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241898&x=2050',
		'title': '',
		'imageId': '70241898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241894&x=2050',
		'title': '',
		'imageId': '70241894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241892&x=2050',
		'title': '',
		'imageId': '70241892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241893&x=2050',
		'title': '',
		'imageId': '70241893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241890&x=2050',
		'title': '',
		'imageId': '70241890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241896&x=2050',
		'title': '',
		'imageId': '70241896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241900&x=2050',
		'title': '',
		'imageId': '70241900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241891&x=2050',
		'title': '',
		'imageId': '70241891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241902&x=2050',
		'title': '',
		'imageId': '70241902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020410&docid=70241899&x=2050',
		'title': '',
		'imageId': '70241899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020410';

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