var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918080&x=2344',
		'title': '',
		'imageId': '69918080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918081&x=2344',
		'title': '',
		'imageId': '69918081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918082&x=2344',
		'title': '',
		'imageId': '69918082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918083&x=2344',
		'title': '',
		'imageId': '69918083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918084&x=2344',
		'title': '',
		'imageId': '69918084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918085&x=2344',
		'title': '',
		'imageId': '69918085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918086&x=2344',
		'title': '',
		'imageId': '69918086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918087&x=2344',
		'title': '',
		'imageId': '69918087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918088&x=2344',
		'title': '',
		'imageId': '69918088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008355&docid=69918089&x=2344',
		'title': '',
		'imageId': '69918089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008355';

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