var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090292&x=716',
		'title': '',
		'imageId': '70090292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090291&x=716',
		'title': '',
		'imageId': '70090291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090294&x=716',
		'title': '',
		'imageId': '70090294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090293&x=716',
		'title': '',
		'imageId': '70090293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090314&x=716',
		'title': '',
		'imageId': '70090314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090310&x=716',
		'title': '',
		'imageId': '70090310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090312&x=716',
		'title': '',
		'imageId': '70090312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090311&x=716',
		'title': '',
		'imageId': '70090311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090319&x=716',
		'title': '',
		'imageId': '70090319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090320&x=716',
		'title': '',
		'imageId': '70090320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015233&docid=70090317&x=716',
		'title': '',
		'imageId': '70090317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015233';

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