var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590299&x=3755',
		'title': '',
		'imageId': '68590299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590305&x=3755',
		'title': '',
		'imageId': '68590305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590304&x=3755',
		'title': '',
		'imageId': '68590304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590303&x=3755',
		'title': '',
		'imageId': '68590303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590307&x=3755',
		'title': '',
		'imageId': '68590307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590308&x=3755',
		'title': '',
		'imageId': '68590308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590301&x=3755',
		'title': '',
		'imageId': '68590301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590300&x=3755',
		'title': '',
		'imageId': '68590300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590298&x=3755',
		'title': '',
		'imageId': '68590298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590306&x=3755',
		'title': '',
		'imageId': '68590306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590309&x=3755',
		'title': '',
		'imageId': '68590309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590302&x=3755',
		'title': '',
		'imageId': '68590302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590310&x=3755',
		'title': '',
		'imageId': '68590310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590311&x=3755',
		'title': '',
		'imageId': '68590311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590312&x=3755',
		'title': '',
		'imageId': '68590312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590313&x=3755',
		'title': '',
		'imageId': '68590313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590314&x=3755',
		'title': '',
		'imageId': '68590314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590315&x=3755',
		'title': '',
		'imageId': '68590315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590316&x=3755',
		'title': '',
		'imageId': '68590316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590322&x=3755',
		'title': '',
		'imageId': '68590322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590318&x=3755',
		'title': '',
		'imageId': '68590318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590327&x=3755',
		'title': '',
		'imageId': '68590327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590317&x=3755',
		'title': '',
		'imageId': '68590317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590324&x=3755',
		'title': '',
		'imageId': '68590324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590325&x=3755',
		'title': '',
		'imageId': '68590325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590321&x=3755',
		'title': '',
		'imageId': '68590321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590326&x=3755',
		'title': '',
		'imageId': '68590326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590319&x=3755',
		'title': '',
		'imageId': '68590319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590328&x=3755',
		'title': '',
		'imageId': '68590328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590323&x=3755',
		'title': '',
		'imageId': '68590323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590330&x=3755',
		'title': '',
		'imageId': '68590330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590320&x=3755',
		'title': '',
		'imageId': '68590320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950305&docid=68590329&x=3755',
		'title': '',
		'imageId': '68590329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950305';

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