var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778682&x=3250',
		'title': '',
		'imageId': '68778682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778692&x=3250',
		'title': '',
		'imageId': '68778692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778689&x=3250',
		'title': '',
		'imageId': '68778689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778684&x=3250',
		'title': '',
		'imageId': '68778684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778690&x=3250',
		'title': '',
		'imageId': '68778690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778691&x=3250',
		'title': '',
		'imageId': '68778691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778683&x=3250',
		'title': '',
		'imageId': '68778683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778688&x=3250',
		'title': '',
		'imageId': '68778688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778686&x=3250',
		'title': '',
		'imageId': '68778686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778685&x=3250',
		'title': '',
		'imageId': '68778685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778681&x=3250',
		'title': '',
		'imageId': '68778681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958106&docid=68778687&x=3250',
		'title': '',
		'imageId': '68778687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958106';

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