var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667818&x=2929',
		'title': '',
		'imageId': '69667818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667823&x=2929',
		'title': '',
		'imageId': '69667823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667826&x=2929',
		'title': '',
		'imageId': '69667826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667831&x=2929',
		'title': '',
		'imageId': '69667831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667837&x=2929',
		'title': '',
		'imageId': '69667837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667832&x=2929',
		'title': '',
		'imageId': '69667832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667838&x=2929',
		'title': '',
		'imageId': '69667838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667842&x=2929',
		'title': '',
		'imageId': '69667842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667856&x=2929',
		'title': '',
		'imageId': '69667856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667859&x=2929',
		'title': '',
		'imageId': '69667859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667844&x=2929',
		'title': '',
		'imageId': '69667844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667847&x=2929',
		'title': '',
		'imageId': '69667847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667852&x=2929',
		'title': '',
		'imageId': '69667852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667853&x=2929',
		'title': '',
		'imageId': '69667853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667816&x=2929',
		'title': '',
		'imageId': '69667816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998638&docid=69667822&x=2929',
		'title': '',
		'imageId': '69667822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998638';

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