var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888068&x=916',
		'title': '',
		'imageId': '66888068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888070&x=916',
		'title': '',
		'imageId': '66888070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888071&x=916',
		'title': '',
		'imageId': '66888071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888069&x=916',
		'title': '',
		'imageId': '66888069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888072&x=916',
		'title': '',
		'imageId': '66888072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888073&x=916',
		'title': '',
		'imageId': '66888073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888074&x=916',
		'title': '',
		'imageId': '66888074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888075&x=916',
		'title': '',
		'imageId': '66888075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888076&x=916',
		'title': '',
		'imageId': '66888076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888067&x=916',
		'title': '',
		'imageId': '66888067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880437&docid=66888077&x=916',
		'title': '',
		'imageId': '66888077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880437';

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