var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419606&x=177',
		'title': '',
		'imageId': '69419606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419619&x=177',
		'title': '',
		'imageId': '69419619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419609&x=177',
		'title': '',
		'imageId': '69419609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419610&x=177',
		'title': '',
		'imageId': '69419610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419612&x=177',
		'title': '',
		'imageId': '69419612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419614&x=177',
		'title': '',
		'imageId': '69419614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419617&x=177',
		'title': '',
		'imageId': '69419617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419621&x=177',
		'title': '',
		'imageId': '69419621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419624&x=177',
		'title': '',
		'imageId': '69419624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419623&x=177',
		'title': '',
		'imageId': '69419623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986629&docid=69419625&x=177',
		'title': '',
		'imageId': '69419625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986629';

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