var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602058&x=1654',
		'title': '',
		'imageId': '68602058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602066&x=1654',
		'title': '',
		'imageId': '68602066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602070&x=1654',
		'title': '',
		'imageId': '68602070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602072&x=1654',
		'title': '',
		'imageId': '68602072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602061&x=1654',
		'title': '',
		'imageId': '68602061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602068&x=1654',
		'title': '',
		'imageId': '68602068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602075&x=1654',
		'title': '',
		'imageId': '68602075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602078&x=1654',
		'title': '',
		'imageId': '68602078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602079&x=1654',
		'title': '',
		'imageId': '68602079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602063&x=1654',
		'title': '',
		'imageId': '68602063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602076&x=1654',
		'title': '',
		'imageId': '68602076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602062&x=1654',
		'title': '',
		'imageId': '68602062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602069&x=1654',
		'title': '',
		'imageId': '68602069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602064&x=1654',
		'title': '',
		'imageId': '68602064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602067&x=1654',
		'title': '',
		'imageId': '68602067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602065&x=1654',
		'title': '',
		'imageId': '68602065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602071&x=1654',
		'title': '',
		'imageId': '68602071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602073&x=1654',
		'title': '',
		'imageId': '68602073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602059&x=1654',
		'title': '',
		'imageId': '68602059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602060&x=1654',
		'title': '',
		'imageId': '68602060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68602074&x=1654',
		'title': '',
		'imageId': '68602074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950661&docid=68734813&x=1654',
		'title': '',
		'imageId': '68734813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950661';

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