var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543711&x=3945',
		'title': '',
		'imageId': '68543711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543712&x=3945',
		'title': '',
		'imageId': '68543712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543713&x=3945',
		'title': '',
		'imageId': '68543713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543714&x=3945',
		'title': '',
		'imageId': '68543714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543715&x=3945',
		'title': '',
		'imageId': '68543715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543716&x=3945',
		'title': '',
		'imageId': '68543716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543717&x=3945',
		'title': '',
		'imageId': '68543717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543718&x=3945',
		'title': '',
		'imageId': '68543718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543719&x=3945',
		'title': '',
		'imageId': '68543719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543720&x=3945',
		'title': '',
		'imageId': '68543720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543722&x=3945',
		'title': '',
		'imageId': '68543722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955610&docid=68543723&x=3945',
		'title': '',
		'imageId': '68543723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955610';

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