var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593097&x=185',
		'title': '',
		'imageId': '69593097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593096&x=185',
		'title': '',
		'imageId': '69593096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593092&x=185',
		'title': '',
		'imageId': '69593092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593091&x=185',
		'title': '',
		'imageId': '69593091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593087&x=185',
		'title': '',
		'imageId': '69593087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593094&x=185',
		'title': '',
		'imageId': '69593094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593088&x=185',
		'title': '',
		'imageId': '69593088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593093&x=185',
		'title': '',
		'imageId': '69593093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593095&x=185',
		'title': '',
		'imageId': '69593095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593089&x=185',
		'title': '',
		'imageId': '69593089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593098&x=185',
		'title': '',
		'imageId': '69593098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994336&docid=69593090&x=185',
		'title': '',
		'imageId': '69593090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994336';

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