var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956021&x=1720',
		'title': '',
		'imageId': '67956021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956027&x=1720',
		'title': '',
		'imageId': '67956027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956030&x=1720',
		'title': '',
		'imageId': '67956030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956031&x=1720',
		'title': '',
		'imageId': '67956031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956025&x=1720',
		'title': '',
		'imageId': '67956025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956033&x=1720',
		'title': '',
		'imageId': '67956033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956029&x=1720',
		'title': '',
		'imageId': '67956029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956032&x=1720',
		'title': '',
		'imageId': '67956032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956026&x=1720',
		'title': '',
		'imageId': '67956026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956024&x=1720',
		'title': '',
		'imageId': '67956024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956022&x=1720',
		'title': '',
		'imageId': '67956022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942995&docid=67956028&x=1720',
		'title': '',
		'imageId': '67956028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3942995';

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