var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747104&x=848',
		'title': '',
		'imageId': '69747104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747102&x=848',
		'title': '',
		'imageId': '69747102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747101&x=848',
		'title': '',
		'imageId': '69747101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747105&x=848',
		'title': '',
		'imageId': '69747105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747100&x=848',
		'title': '',
		'imageId': '69747100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747093&x=848',
		'title': '',
		'imageId': '69747093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747098&x=848',
		'title': '',
		'imageId': '69747098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747097&x=848',
		'title': '',
		'imageId': '69747097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747096&x=848',
		'title': '',
		'imageId': '69747096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747110&x=848',
		'title': '',
		'imageId': '69747110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747103&x=848',
		'title': '',
		'imageId': '69747103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001361&docid=69747094&x=848',
		'title': '',
		'imageId': '69747094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001361';

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