var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743320&x=5247',
		'title': '',
		'imageId': '68743320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743321&x=5247',
		'title': '',
		'imageId': '68743321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743322&x=5247',
		'title': '',
		'imageId': '68743322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743323&x=5247',
		'title': '',
		'imageId': '68743323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743324&x=5247',
		'title': '',
		'imageId': '68743324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743325&x=5247',
		'title': '',
		'imageId': '68743325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743326&x=5247',
		'title': '',
		'imageId': '68743326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743327&x=5247',
		'title': '',
		'imageId': '68743327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68781154&x=5247',
		'title': '',
		'imageId': '68781154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68743328&x=5247',
		'title': '',
		'imageId': '68743328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68781156&x=5247',
		'title': '',
		'imageId': '68781156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956670&docid=68781155&x=5247',
		'title': '',
		'imageId': '68781155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956670';

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