var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671187&x=3728',
		'title': '',
		'imageId': '69671187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671192&x=3728',
		'title': '',
		'imageId': '69671192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671190&x=3728',
		'title': '',
		'imageId': '69671190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671191&x=3728',
		'title': '',
		'imageId': '69671191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671186&x=3728',
		'title': '',
		'imageId': '69671186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671195&x=3728',
		'title': '',
		'imageId': '69671195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671193&x=3728',
		'title': '',
		'imageId': '69671193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671189&x=3728',
		'title': '',
		'imageId': '69671189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671188&x=3728',
		'title': '',
		'imageId': '69671188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015903&docid=69671194&x=3728',
		'title': '',
		'imageId': '69671194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015903';

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