var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020144&x=5110',
		'title': '',
		'imageId': '69020144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020145&x=5110',
		'title': '',
		'imageId': '69020145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020146&x=5110',
		'title': '',
		'imageId': '69020146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020147&x=5110',
		'title': '',
		'imageId': '69020147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020153&x=5110',
		'title': '',
		'imageId': '69020153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020160&x=5110',
		'title': '',
		'imageId': '69020160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020167&x=5110',
		'title': '',
		'imageId': '69020167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020170&x=5110',
		'title': '',
		'imageId': '69020170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020171&x=5110',
		'title': '',
		'imageId': '69020171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020172&x=5110',
		'title': '',
		'imageId': '69020172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970021&docid=69020173&x=5110',
		'title': '',
		'imageId': '69020173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970021';

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