var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759127&x=3437',
		'title': '',
		'imageId': '67759127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759130&x=3437',
		'title': '',
		'imageId': '67759130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759133&x=3437',
		'title': '',
		'imageId': '67759133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759136&x=3437',
		'title': '',
		'imageId': '67759136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759141&x=3437',
		'title': '',
		'imageId': '67759141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759144&x=3437',
		'title': '',
		'imageId': '67759144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759155&x=3437',
		'title': '',
		'imageId': '67759155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759158&x=3437',
		'title': '',
		'imageId': '67759158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759172&x=3437',
		'title': '',
		'imageId': '67759172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759175&x=3437',
		'title': '',
		'imageId': '67759175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978194&docid=67759214&x=3437',
		'title': '',
		'imageId': '67759214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978194';

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