var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679124&x=209',
		'title': '',
		'imageId': '69679124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679129&x=209',
		'title': '',
		'imageId': '69679129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679131&x=209',
		'title': '',
		'imageId': '69679131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679127&x=209',
		'title': '',
		'imageId': '69679127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679157&x=209',
		'title': '',
		'imageId': '69679157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679130&x=209',
		'title': '',
		'imageId': '69679130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679126&x=209',
		'title': '',
		'imageId': '69679126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679128&x=209',
		'title': '',
		'imageId': '69679128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679132&x=209',
		'title': '',
		'imageId': '69679132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679133&x=209',
		'title': '',
		'imageId': '69679133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679135&x=209',
		'title': '',
		'imageId': '69679135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998870&docid=69679125&x=209',
		'title': '',
		'imageId': '69679125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998870';

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