var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291994&x=5042',
		'title': '',
		'imageId': '68291994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68292001&x=5042',
		'title': '',
		'imageId': '68292001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68292000&x=5042',
		'title': '',
		'imageId': '68292000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291996&x=5042',
		'title': '',
		'imageId': '68291996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291991&x=5042',
		'title': '',
		'imageId': '68291991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291992&x=5042',
		'title': '',
		'imageId': '68291992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291997&x=5042',
		'title': '',
		'imageId': '68291997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291999&x=5042',
		'title': '',
		'imageId': '68291999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291995&x=5042',
		'title': '',
		'imageId': '68291995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291998&x=5042',
		'title': '',
		'imageId': '68291998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964133&docid=68291993&x=5042',
		'title': '',
		'imageId': '68291993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964133';

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