var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072169&x=96',
		'title': '',
		'imageId': '70072169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072152&x=96',
		'title': '',
		'imageId': '70072152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072155&x=96',
		'title': '',
		'imageId': '70072155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072153&x=96',
		'title': '',
		'imageId': '70072153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072154&x=96',
		'title': '',
		'imageId': '70072154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072151&x=96',
		'title': '',
		'imageId': '70072151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072168&x=96',
		'title': '',
		'imageId': '70072168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072166&x=96',
		'title': '',
		'imageId': '70072166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072170&x=96',
		'title': '',
		'imageId': '70072170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014855&docid=70072150&x=96',
		'title': '',
		'imageId': '70072150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014855';

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