var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081914&x=217',
		'title': '',
		'imageId': '68081914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081899&x=217',
		'title': '',
		'imageId': '68081899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081898&x=217',
		'title': '',
		'imageId': '68081898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081909&x=217',
		'title': '',
		'imageId': '68081909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081912&x=217',
		'title': '',
		'imageId': '68081912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081903&x=217',
		'title': '',
		'imageId': '68081903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081908&x=217',
		'title': '',
		'imageId': '68081908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081907&x=217',
		'title': '',
		'imageId': '68081907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081904&x=217',
		'title': '',
		'imageId': '68081904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081905&x=217',
		'title': '',
		'imageId': '68081905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081906&x=217',
		'title': '',
		'imageId': '68081906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926548&docid=68081901&x=217',
		'title': '',
		'imageId': '68081901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926548';

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