var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222801&x=2422',
		'title': '',
		'imageId': '68222801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222814&x=2422',
		'title': '',
		'imageId': '68222814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222837&x=2422',
		'title': '',
		'imageId': '68222837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222852&x=2422',
		'title': '',
		'imageId': '68222852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222857&x=2422',
		'title': '',
		'imageId': '68222857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222864&x=2422',
		'title': '',
		'imageId': '68222864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222871&x=2422',
		'title': '',
		'imageId': '68222871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222876&x=2422',
		'title': '',
		'imageId': '68222876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222881&x=2422',
		'title': '',
		'imageId': '68222881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222887&x=2422',
		'title': '',
		'imageId': '68222887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933717&docid=68222895&x=2422',
		'title': '',
		'imageId': '68222895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933717';

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