var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014971&x=3443',
		'title': '',
		'imageId': '67014971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014973&x=3443',
		'title': '',
		'imageId': '67014973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014974&x=3443',
		'title': '',
		'imageId': '67014974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014982&x=3443',
		'title': '',
		'imageId': '67014982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014977&x=3443',
		'title': '',
		'imageId': '67014977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014978&x=3443',
		'title': '',
		'imageId': '67014978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014979&x=3443',
		'title': '',
		'imageId': '67014979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014980&x=3443',
		'title': '',
		'imageId': '67014980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014981&x=3443',
		'title': '',
		'imageId': '67014981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014975&x=3443',
		'title': '',
		'imageId': '67014975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961094&docid=67014976&x=3443',
		'title': '',
		'imageId': '67014976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961094';

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