var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709221&x=629',
		'title': '',
		'imageId': '66709221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709220&x=629',
		'title': '',
		'imageId': '66709220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=69288158&x=629',
		'title': '',
		'imageId': '69288158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709226&x=629',
		'title': '',
		'imageId': '66709226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709222&x=629',
		'title': '',
		'imageId': '66709222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709235&x=629',
		'title': '',
		'imageId': '66709235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709223&x=629',
		'title': '',
		'imageId': '66709223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709228&x=629',
		'title': '',
		'imageId': '66709228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709229&x=629',
		'title': '',
		'imageId': '66709229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709224&x=629',
		'title': '',
		'imageId': '66709224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709234&x=629',
		'title': '',
		'imageId': '66709234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709225&x=629',
		'title': '',
		'imageId': '66709225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709230&x=629',
		'title': '',
		'imageId': '66709230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709227&x=629',
		'title': '',
		'imageId': '66709227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709232&x=629',
		'title': '',
		'imageId': '66709232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=66709231&x=629',
		'title': '',
		'imageId': '66709231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3872831&docid=69198821&x=629',
		'title': '',
		'imageId': '69198821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3872831';

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