var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964915&x=491',
		'title': '',
		'imageId': '68964915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964920&x=491',
		'title': '',
		'imageId': '68964920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964923&x=491',
		'title': '',
		'imageId': '68964923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964921&x=491',
		'title': '',
		'imageId': '68964921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964919&x=491',
		'title': '',
		'imageId': '68964919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964917&x=491',
		'title': '',
		'imageId': '68964917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964924&x=491',
		'title': '',
		'imageId': '68964924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964922&x=491',
		'title': '',
		'imageId': '68964922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964925&x=491',
		'title': '',
		'imageId': '68964925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964918&x=491',
		'title': '',
		'imageId': '68964918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964916&x=491',
		'title': '',
		'imageId': '68964916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966571&docid=68964914&x=491',
		'title': '',
		'imageId': '68964914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966571';

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