// JavaScript Document
function show_window(obj)
		{
		document.getElementById(obj).style.visibility="visible";
		}
function hide_window(obj)
		{
		document.getElementById(obj).style.visibility="hidden";
		}
		
function open_pes(p1,p2,p3,p4)
			{
			tot= document.getElementById(p1);
			nan= document.getElementById(p2);
			ttot= document.getElementById(p3);
			tnan= document.getElementById(p4);
			iframe_nano= document.getElementById("frame_nano");
			re=ttot.className;
			opt=tot.className;
			opn=nan.className;
			if (re=="tab" || re=="tab current"){
			nan.style.display="none";
			tot.style.display="block";
			tnan.className="tab";
			ttot.className="tab current";
			}else{
			nan.style.display="none";
			tot.style.display="block";
			tnan.className="tab2";
			ttot.className="tab2 current";
			}
			}
			
function close_pes(p1,p2,p3,p4)
			{
			tot= document.getElementById(p1);
			nan= document.getElementById(p2);
			ttot= document.getElementById(p3);
			tnan= document.getElementById(p4);
			iframe_nano= document.getElementById("frame_nano");
			re=ttot.className;
			if (re=="tab" || re=="tab current"){
			nan.style.display="block";
			tot.style.display="none";
			tnan.className="tab  current";
			ttot.className="tab";
			}else{
			nan.style.display="block";
			tot.style.display="none";
			tnan.className="tab2  current";
			ttot.className="tab2";
			}
			}
function open_frame(p1,p2)
		{
		blo= document.getElementById(p1);
		nato= document.getElementById(p2);
		blo.style.display="block";
		nato.style.display="none";
		}