var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046626&x=4243',
		'title': '',
		'imageId': '69046626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046628&x=4243',
		'title': '',
		'imageId': '69046628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046625&x=4243',
		'title': '',
		'imageId': '69046625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046630&x=4243',
		'title': '',
		'imageId': '69046630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046633&x=4243',
		'title': '',
		'imageId': '69046633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046627&x=4243',
		'title': '',
		'imageId': '69046627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046632&x=4243',
		'title': '',
		'imageId': '69046632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046629&x=4243',
		'title': '',
		'imageId': '69046629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046636&x=4243',
		'title': '',
		'imageId': '69046636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046634&x=4243',
		'title': '',
		'imageId': '69046634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046631&x=4243',
		'title': '',
		'imageId': '69046631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971232&docid=69046635&x=4243',
		'title': '',
		'imageId': '69046635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971232';

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