function bt(id,after) { eval(id+'.filters.blendTrans.stop();'); eval(id+'.filters.blendTrans.Apply();'); eval(id+'.src="'+after+'";'); eval(id+'.filters.blendTrans.Play();'); } 

function NL(lname,flag){
	if (flag==0){
		document.all[lname].style.visibility = 'visible';	
		where_counterX = document.body.clientWidth - 150;
		where_counterY = document.body.clientHeight - 90 + document.body.scrollTop;
		counter.style.pixelLeft = where_counterX;
		counter.style.pixelTop = where_counterY;
	}

	else{
		document.all[lname].style.visibility = 'hidden';	
		counter.style.pixelLeft = 1;
		counter.style.pixelTop = 1;
	}
}

function openw() {
	xwin = parseInt (screen.width / 2 - 150 , 10);
	ywin = parseInt (screen.height / 2 - 100 , 10);
	window.open ("/pano.htm", "panorama", "width=332,height=215,scrollbars=no,resizable=no, left=" + xwin + ",top=" + ywin)
}

function openw2(URL,wid,hie) {
	xwin = parseInt ((screen.width / 2) - (wid / 2) , 10);
	ywin = parseInt ((screen.height / 2) - (hie / 2) , 10);
	window.open (URL, "newwin", "width=" + wid + ",height=" + hie + ",scrollbars=no,resizable=no, left=" + xwin + ",top=" + ywin)
}
