var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965500&x=432',
		'title': '',
		'imageId': '68965500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965501&x=432',
		'title': '',
		'imageId': '68965501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965502&x=432',
		'title': '',
		'imageId': '68965502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965503&x=432',
		'title': '',
		'imageId': '68965503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965504&x=432',
		'title': '',
		'imageId': '68965504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965506&x=432',
		'title': '',
		'imageId': '68965506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965505&x=432',
		'title': '',
		'imageId': '68965505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965507&x=432',
		'title': '',
		'imageId': '68965507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965509&x=432',
		'title': '',
		'imageId': '68965509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965508&x=432',
		'title': '',
		'imageId': '68965508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965510&x=432',
		'title': '',
		'imageId': '68965510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966624&docid=68965499&x=432',
		'title': '',
		'imageId': '68965499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966624';

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