var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545992&x=387',
		'title': '',
		'imageId': '68545992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545990&x=387',
		'title': '',
		'imageId': '68545990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546001&x=387',
		'title': '',
		'imageId': '68546001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546002&x=387',
		'title': '',
		'imageId': '68546002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545999&x=387',
		'title': '',
		'imageId': '68545999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545996&x=387',
		'title': '',
		'imageId': '68545996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546006&x=387',
		'title': '',
		'imageId': '68546006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545998&x=387',
		'title': '',
		'imageId': '68545998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545986&x=387',
		'title': '',
		'imageId': '68545986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545994&x=387',
		'title': '',
		'imageId': '68545994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546003&x=387',
		'title': '',
		'imageId': '68546003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546005&x=387',
		'title': '',
		'imageId': '68546005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546004&x=387',
		'title': '',
		'imageId': '68546004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546007&x=387',
		'title': '',
		'imageId': '68546007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545995&x=387',
		'title': '',
		'imageId': '68545995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545987&x=387',
		'title': '',
		'imageId': '68545987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545988&x=387',
		'title': '',
		'imageId': '68545988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545991&x=387',
		'title': '',
		'imageId': '68545991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545989&x=387',
		'title': '',
		'imageId': '68545989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545993&x=387',
		'title': '',
		'imageId': '68545993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546000&x=387',
		'title': '',
		'imageId': '68546000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68545997&x=387',
		'title': '',
		'imageId': '68545997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948241&docid=68546060&x=387',
		'title': '',
		'imageId': '68546060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948241';

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