var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134167&x=3026',
		'title': '',
		'imageId': '69134167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134172&x=3026',
		'title': '',
		'imageId': '69134172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134174&x=3026',
		'title': '',
		'imageId': '69134174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134169&x=3026',
		'title': '',
		'imageId': '69134169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134176&x=3026',
		'title': '',
		'imageId': '69134176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134173&x=3026',
		'title': '',
		'imageId': '69134173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134177&x=3026',
		'title': '',
		'imageId': '69134177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134166&x=3026',
		'title': '',
		'imageId': '69134166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134175&x=3026',
		'title': '',
		'imageId': '69134175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134345&x=3026',
		'title': '',
		'imageId': '69134345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974381&docid=69134170&x=3026',
		'title': '',
		'imageId': '69134170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974381';

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