var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248232&x=496',
		'title': '',
		'imageId': '68248232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248240&x=496',
		'title': '',
		'imageId': '68248240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248225&x=496',
		'title': '',
		'imageId': '68248225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248226&x=496',
		'title': '',
		'imageId': '68248226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248227&x=496',
		'title': '',
		'imageId': '68248227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248229&x=496',
		'title': '',
		'imageId': '68248229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248228&x=496',
		'title': '',
		'imageId': '68248228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248224&x=496',
		'title': '',
		'imageId': '68248224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248223&x=496',
		'title': '',
		'imageId': '68248223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248230&x=496',
		'title': '',
		'imageId': '68248230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935062&docid=68248231&x=496',
		'title': '',
		'imageId': '68248231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935062';

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