var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173983&x=3350',
		'title': '',
		'imageId': '67173983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173984&x=3350',
		'title': '',
		'imageId': '67173984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173985&x=3350',
		'title': '',
		'imageId': '67173985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173986&x=3350',
		'title': '',
		'imageId': '67173986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173987&x=3350',
		'title': '',
		'imageId': '67173987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173988&x=3350',
		'title': '',
		'imageId': '67173988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173989&x=3350',
		'title': '',
		'imageId': '67173989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173990&x=3350',
		'title': '',
		'imageId': '67173990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173991&x=3350',
		'title': '',
		'imageId': '67173991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173992&x=3350',
		'title': '',
		'imageId': '67173992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891127&docid=67173993&x=3350',
		'title': '',
		'imageId': '67173993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891127';

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