var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098670&x=5850',
		'title': '',
		'imageId': '70098670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098671&x=5850',
		'title': '',
		'imageId': '70098671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098672&x=5850',
		'title': '',
		'imageId': '70098672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098673&x=5850',
		'title': '',
		'imageId': '70098673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098677&x=5850',
		'title': '',
		'imageId': '70098677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098682&x=5850',
		'title': '',
		'imageId': '70098682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098688&x=5850',
		'title': '',
		'imageId': '70098688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098689&x=5850',
		'title': '',
		'imageId': '70098689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098690&x=5850',
		'title': '',
		'imageId': '70098690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098691&x=5850',
		'title': '',
		'imageId': '70098691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098669&x=5850',
		'title': '',
		'imageId': '70098669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015703&docid=70098668&x=5850',
		'title': '',
		'imageId': '70098668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015703';

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