var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444087&x=2936',
		'title': '',
		'imageId': '70444087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444090&x=2936',
		'title': '',
		'imageId': '70444090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444093&x=2936',
		'title': '',
		'imageId': '70444093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444096&x=2936',
		'title': '',
		'imageId': '70444096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444099&x=2936',
		'title': '',
		'imageId': '70444099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444102&x=2936',
		'title': '',
		'imageId': '70444102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444105&x=2936',
		'title': '',
		'imageId': '70444105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444108&x=2936',
		'title': '',
		'imageId': '70444108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444111&x=2936',
		'title': '',
		'imageId': '70444111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444114&x=2936',
		'title': '',
		'imageId': '70444114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444084&x=2936',
		'title': '',
		'imageId': '70444084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029568&docid=70444137&x=2936',
		'title': '',
		'imageId': '70444137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029568';

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