var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902849&x=5145',
		'title': '',
		'imageId': '69902849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902689&x=5145',
		'title': '',
		'imageId': '69902689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902853&x=5145',
		'title': '',
		'imageId': '69902853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902850&x=5145',
		'title': '',
		'imageId': '69902850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902847&x=5145',
		'title': '',
		'imageId': '69902847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902852&x=5145',
		'title': '',
		'imageId': '69902852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902856&x=5145',
		'title': '',
		'imageId': '69902856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902851&x=5145',
		'title': '',
		'imageId': '69902851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902846&x=5145',
		'title': '',
		'imageId': '69902846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902854&x=5145',
		'title': '',
		'imageId': '69902854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902855&x=5145',
		'title': '',
		'imageId': '69902855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007739&docid=69902848&x=5145',
		'title': '',
		'imageId': '69902848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007739';

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