var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134171&x=3020',
		'title': '',
		'imageId': '70134171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134172&x=3020',
		'title': '',
		'imageId': '70134172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134173&x=3020',
		'title': '',
		'imageId': '70134173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134174&x=3020',
		'title': '',
		'imageId': '70134174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134175&x=3020',
		'title': '',
		'imageId': '70134175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134176&x=3020',
		'title': '',
		'imageId': '70134176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134177&x=3020',
		'title': '',
		'imageId': '70134177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134178&x=3020',
		'title': '',
		'imageId': '70134178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016550&docid=70134179&x=3020',
		'title': '',
		'imageId': '70134179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016550';

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