var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650697&x=3142',
		'title': '',
		'imageId': '68650697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650690&x=3142',
		'title': '',
		'imageId': '68650690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650688&x=3142',
		'title': '',
		'imageId': '68650688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650705&x=3142',
		'title': '',
		'imageId': '68650705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650694&x=3142',
		'title': '',
		'imageId': '68650694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650696&x=3142',
		'title': '',
		'imageId': '68650696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650700&x=3142',
		'title': '',
		'imageId': '68650700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650695&x=3142',
		'title': '',
		'imageId': '68650695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650706&x=3142',
		'title': '',
		'imageId': '68650706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650708&x=3142',
		'title': '',
		'imageId': '68650708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650701&x=3142',
		'title': '',
		'imageId': '68650701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650691&x=3142',
		'title': '',
		'imageId': '68650691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650704&x=3142',
		'title': '',
		'imageId': '68650704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650710&x=3142',
		'title': '',
		'imageId': '68650710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650707&x=3142',
		'title': '',
		'imageId': '68650707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650693&x=3142',
		'title': '',
		'imageId': '68650693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650702&x=3142',
		'title': '',
		'imageId': '68650702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650692&x=3142',
		'title': '',
		'imageId': '68650692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650703&x=3142',
		'title': '',
		'imageId': '68650703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650698&x=3142',
		'title': '',
		'imageId': '68650698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650709&x=3142',
		'title': '',
		'imageId': '68650709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650689&x=3142',
		'title': '',
		'imageId': '68650689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650699&x=3142',
		'title': '',
		'imageId': '68650699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952951&docid=68650687&x=3142',
		'title': '',
		'imageId': '68650687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952951';

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