var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962687&x=3421',
		'title': '',
		'imageId': '68962687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962693&x=3421',
		'title': '',
		'imageId': '68962693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962686&x=3421',
		'title': '',
		'imageId': '68962686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962684&x=3421',
		'title': '',
		'imageId': '68962684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962683&x=3421',
		'title': '',
		'imageId': '68962683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962690&x=3421',
		'title': '',
		'imageId': '68962690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962680&x=3421',
		'title': '',
		'imageId': '68962680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962691&x=3421',
		'title': '',
		'imageId': '68962691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962679&x=3421',
		'title': '',
		'imageId': '68962679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962688&x=3421',
		'title': '',
		'imageId': '68962688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962696&x=3421',
		'title': '',
		'imageId': '68962696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962681&x=3421',
		'title': '',
		'imageId': '68962681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962700&x=3421',
		'title': '',
		'imageId': '68962700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962699&x=3421',
		'title': '',
		'imageId': '68962699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962697&x=3421',
		'title': '',
		'imageId': '68962697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962689&x=3421',
		'title': '',
		'imageId': '68962689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962682&x=3421',
		'title': '',
		'imageId': '68962682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962694&x=3421',
		'title': '',
		'imageId': '68962694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962698&x=3421',
		'title': '',
		'imageId': '68962698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962692&x=3421',
		'title': '',
		'imageId': '68962692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962695&x=3421',
		'title': '',
		'imageId': '68962695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966538&docid=68962685&x=3421',
		'title': '',
		'imageId': '68962685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966538';

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