var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856215&x=3119',
		'title': '',
		'imageId': '68856215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856233&x=3119',
		'title': '',
		'imageId': '68856233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856214&x=3119',
		'title': '',
		'imageId': '68856214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856231&x=3119',
		'title': '',
		'imageId': '68856231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856213&x=3119',
		'title': '',
		'imageId': '68856213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856224&x=3119',
		'title': '',
		'imageId': '68856224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856219&x=3119',
		'title': '',
		'imageId': '68856219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856222&x=3119',
		'title': '',
		'imageId': '68856222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856221&x=3119',
		'title': '',
		'imageId': '68856221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856216&x=3119',
		'title': '',
		'imageId': '68856216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856226&x=3119',
		'title': '',
		'imageId': '68856226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856218&x=3119',
		'title': '',
		'imageId': '68856218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856228&x=3119',
		'title': '',
		'imageId': '68856228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856220&x=3119',
		'title': '',
		'imageId': '68856220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856225&x=3119',
		'title': '',
		'imageId': '68856225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856223&x=3119',
		'title': '',
		'imageId': '68856223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856227&x=3119',
		'title': '',
		'imageId': '68856227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856235&x=3119',
		'title': '',
		'imageId': '68856235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856217&x=3119',
		'title': '',
		'imageId': '68856217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856234&x=3119',
		'title': '',
		'imageId': '68856234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856232&x=3119',
		'title': '',
		'imageId': '68856232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856229&x=3119',
		'title': '',
		'imageId': '68856229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856230&x=3119',
		'title': '',
		'imageId': '68856230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960857&docid=68856212&x=3119',
		'title': '',
		'imageId': '68856212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960857';

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