var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067145&x=938',
		'title': '',
		'imageId': '70067145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067142&x=938',
		'title': '',
		'imageId': '70067142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067148&x=938',
		'title': '',
		'imageId': '70067148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067143&x=938',
		'title': '',
		'imageId': '70067143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067144&x=938',
		'title': '',
		'imageId': '70067144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067147&x=938',
		'title': '',
		'imageId': '70067147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067146&x=938',
		'title': '',
		'imageId': '70067146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067164&x=938',
		'title': '',
		'imageId': '70067164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067165&x=938',
		'title': '',
		'imageId': '70067165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067163&x=938',
		'title': '',
		'imageId': '70067163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014484&docid=70067166&x=938',
		'title': '',
		'imageId': '70067166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014484';

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