var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70105831&x=4641',
		'title': '',
		'imageId': '70105831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70105852&x=4641',
		'title': '',
		'imageId': '70105852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106229&x=4641',
		'title': '',
		'imageId': '70106229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70105996&x=4641',
		'title': '',
		'imageId': '70105996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70105941&x=4641',
		'title': '',
		'imageId': '70105941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70105999&x=4641',
		'title': '',
		'imageId': '70105999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106002&x=4641',
		'title': '',
		'imageId': '70106002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106006&x=4641',
		'title': '',
		'imageId': '70106006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106011&x=4641',
		'title': '',
		'imageId': '70106011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106018&x=4641',
		'title': '',
		'imageId': '70106018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106041&x=4641',
		'title': '',
		'imageId': '70106041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106058&x=4641',
		'title': '',
		'imageId': '70106058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106065&x=4641',
		'title': '',
		'imageId': '70106065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106069&x=4641',
		'title': '',
		'imageId': '70106069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106084&x=4641',
		'title': '',
		'imageId': '70106084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106103&x=4641',
		'title': '',
		'imageId': '70106103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106119&x=4641',
		'title': '',
		'imageId': '70106119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106184&x=4641',
		'title': '',
		'imageId': '70106184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106223&x=4641',
		'title': '',
		'imageId': '70106223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106722&x=4641',
		'title': '',
		'imageId': '70106722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106731&x=4641',
		'title': '',
		'imageId': '70106731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015858&docid=70106863&x=4641',
		'title': '',
		'imageId': '70106863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015858';

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