var cacheArray=new Array(0);

function aaa(s1,s2,s3,s4) { alert(s1+"-"+s2+"-"+s3+"-"+s4);}

function dwn(n,ex) {window.location=n+'.'+ex; return true;}

function imageGroup() 
  {if (this.total==null) 
     {this.total=this.cached=this.rollovers=0; 
	  this.names=new Array(0); 
	  this.urls=new Array(0); 
	  this.count=new Array(0); 
	  this.i=new Object(); 
	  this.index=cacheArray.length; 
	  cacheArray[this.index]=this; 
	  this.defURL=''; 
	  this.add=imageGroup; 
	 }
	var a,j,k,args=arguments; 
	for (j=0; j<args.length; j++) 
	 {k=this.total; 
	  a=args[j].split('|'); 
	  this.names[k]=a[0]; 
	  this.urls[k]=this.defURL+a[1]; 
	  this.total++; 
	 } 
  }
function d_loadImages() 
  {if (document.images) 
     {var j,c=cacheArray;
	  for (j=0; j<c.length; j++) d_loadGroup(c[j]);}
  }
function d_loadGroup(obj,pre)
  {if (obj.loaded) return;
   obj.loaded=1; 
   var k,img,stuff=''; 
   for (k=0; k<obj.total; k++) 
     {img=obj.i[obj.names[k]]=new Image();
	  if (isNS4) 
	    {stuff+='<IMG SRC="'+ obj.urls[k] 
		       +'" BORDER="0" ONLOAD="d_countImg('+obj.index+','+k+');"><BR>';} 
          else
	    {img.group=obj.index; 
		 img.num=k; 
		 img.onload=d_countImg;} 
	  img.src=obj.urls[k]; 
	 }
   if (isNS4) 
     {if (pre) {document.newLayer('cacher'+obj.index,stuff,0);} 
	  else 
	    {var cacher=new Layer(0),c=cacher.document; 
		 c.write(stuff);
		 c.close();} 
	 } 
  }
function d_countImg(n,k) 
  {if (!isNS4) {n=this.group; k=this.num;}
   var obj=cacheArray[n]; 
   if (obj.count[k]!=1) 
     {obj.count[k]=1;
	  obj.cached++; 
	  if (obj.cached==obj.total) 
	    {obj.rollovers=1;
		 if (obj.onload) eval(obj.onload);} 
	 } 
  }
function d_swapImg(obj,who,n) 
  {var img=document[who+'_bttn']; 
   if ((obj.rollovers)&&(img)) 
     {img.src = obj.i[who+((n)?'_on':'_off')].src;}
  }
function d_n_Bullet(lev,who,n) 
  {var t=(isNS4)?getML(lev):window;
   var img=t.document.images[who]; 
   if (img) img.src=boxPics.i['n_bullet_'+((n==1)?'on':'off')].src;
  }

document.js = true; var n_Ready=0; var cn_Ready=0;

var isIE=(document.all)?1:0;
var isNS4=(document.layers)?1:0;
var isNS6=((document.getElementById)&&(navigator.appName=='Netscape'))?1:0;
var isNS=(isNS4)?1:0;
var DHTML=(isIE||isNS4||isNS6)?1:0;

if (document.images) 
  {n_Pics=new imageGroup();
   n_Pics.defURL='';
   n_Pics.add('chi_on|n_chi_on.gif',
		       'chi_off|n_chi_off.gif',
		       'pof_on|n_pof_on.gif',
		       'pof_off|n_pof_off.gif',
		       'dove_on|n_dove_on.gif',
		       'dove_off|n_dove_off.gif',
		       'visita_on|n_visita_on.gif',
		       'visita_off|n_visita_off.gif',
		       'storia_on|n_storia_on.gif',
		       'storia_off|n_storia_off.gif',
		       'foto_on|n_foto_on.gif',
		       'foto_off|n_foto_off.gif',
		       'info_on|n_info_on.gif',
		       'info_off|n_info_off.gif',
		       'vita_on|n_vita_on.gif',
		       'vita_off|n_vita_off.gif',
		       'inizia_on|n_inizia_on.gif',
		       'inizia_off|n_inizia_off.gif',
		       'eno_on|n_eno_on.gif',
		       'eno_off|n_eno_off.gif',
		       'biblio_on|n_biblio_on.gif',
		       'biblio_off|n_biblio_off.gif',
			   'ristorante_on|n_ristorante_on.gif',
		       'ristorante_off|n_ristorante_off.gif',
			   'tirocini_on|n_tirocini_on.gif',
		       'tirocini_off|n_tirocini_off.gif',
			   'lavoro_on|n_lavoro_on.gif',
		       'lavoro_off|n_lavoro_off.gif',
			   'amministra_on|n_amministra_on.gif',
		       'amministra_off|n_amministra_off.gif');
  }
var xmargin = (isIE)?10:8; var ymargin=(isIE)?15:8;
d_hidden = (isNS4)? 'hide':'hidden'; 
d_visible = (isNS4)? 'show':'visible';
currentNav=new Array(0);
d_mouseY=0;	
nsFix=0;
d_n_Timer=setTimeout("null",10); clearTimeout(d_n_Timer);
d_moveNavTimer = setInterval('null',1); 
clearInterval(d_moveNavTimer);
d_popupTimer = setTimeout("null",10); clearTimeout(d_popupTimer);
d_n_tabletop = '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD WIDTH="1" ROWSPAN="3" BGCOLOR="#FF9900">'
               +d_spacer()+'</TD><TD BGCOLOR="#FF9900">'
			   +d_spacer()+'</TD><TD WIDTH="7" ROWSPAN="2" COLSPAN="3">'
			   +IMG('n_topright.gif',7,7)
			   +'</TD></TR><TR><TD BGCOLOR="#FFFFCC">'
			   +d_spacer(1,6)+'</TD></TR><TR><TD BGCOLOR="#FFFFCC">';
d_n_tablebot = '</TD><TD WIDTH="5" BGCOLOR="#FFFFCC">'
               +d_spacer(5,1)+'</TD><TD WIDTH="1" BGCOLOR="#FF9900">'
			   +d_spacer()+'</TD><TD WIDTH="1" BGCOLOR="#000000">'
			   +d_spacer()+'</TD></TR><TR><TD WIDTH="1" ROWSPAN="3">'
			   +IMG('n_botleft2.gif',1,8)
			   +'</TD><TD BGCOLOR="#FFFFCC">'
			   +d_spacer(1,5)+'</TD><TD WIDTH="7" ROWSPAN="3" COLSPAN="3">'
			   +IMG('n_botright.gif',7,8)
			   +'</TD></TR><TR><TD BGCOLOR="#FF9900">'
			   +d_spacer()+'</TD></TR><TR><TD BGCOLOR="#000000">'
			   +d_spacer(1,2)+'</TD></TR></TABLE>';
d_n_Class=d_n_Class2= 'CLASS="n_';
d_n_Class+='1'+((isNS4)?'ns"':'ie"');
d_n_Class2+='2'+((isNS4)?'ns"':'ie"');

boxPics=new imageGroup(); 
boxPics.defURL='';
boxPics.add('n_bullet_off|spacer.gif',
            'n_bullet_on|n_bullet.gif',
			'n_arrow|n_arrow.gif',
			'n_arrowblue|n_arrowblue.gif',
			'tr|n_topright.gif', 
			'bl|n_botleft2.gif', 
			'br|n_botright.gif',
			'stl|n_s_topleft.gif', 
			'str|n_s_topright.gif', 
			'su|n_s_up.gif', 
			'sbl|n_s_botleft.gif', 
			'sbr|n_s_botright.gif', 
			'sd|n_s_dn.gif');
cascadeNav=new Object(); 
menuList=new Object(); 
layers=new Object(); 
layers.EQ=new Array();

var TempArgs;

//******* Basic DHTML Functions ********//

function equalizeLayers(n) 
  {var k,l;
   var list=(n==null)?layers.EQ:arguments; 
   for (k=0; k<list.length; k++) 
     {l=d_getLayer(list[k]);
	  if (l) d_equalize(l); 
	 } 
   if (n==null) layers.EQ=new Array(); 
  }
function d_getLayer(spec,base) 
  {if (!isNS4) return getIt(spec);
   var j=0,temp=null; 
   if (!base) base=document; 
   if (base.layers[spec]) return base.layers[spec]; 
   for (j=0; j<base.layers.length; j++) 
     {temp=d_getLayer(spec,base.layers[j].document);
	  if (temp) return temp;} 
   return null; 
  }
function getIt(id) 
  {if (isIE) return document.all[id];
   if (isNS6) return document.getElementById(id); 
  }
function d_equalize(layer) 
  {if (layers[layer.id]) return;
   layer.getTop = new Function("return(parseInt(this.style.top))");
   layer.getLeft = new Function("return(parseInt(this.style.left))");
   layer.getHeight = new Function("if (isIE) return this.scrollHeight; if (isNS4) return this.document.height; if (isNS6) return this.offsetHeight;");
   layer.setClip = new Function ("l","t","r","b","if (isNS4) {this.clip.left=l; this.clip.top=t; this.clip.right=r; this.clip.bottom=b;} else { this.style.clip='rect('+t+' '+r+' '+b+' '+l+')'; }");
   layer.rewrite = new Function ("html","if (isIE||isNS6) this.innerHTML=html; if (isNS4) {this.document.write(html); this.document.close();}");
   layer.vis = new Function("n","this.style.visibility=(n)?d_visible:d_hidden; if (isNS6) {this.style.zIndex=(n)?this.z:eval(this.z)-1;}");
   layers[layer.id]=layer; 
   if (isNS4) layer.style=layer; 
   if (isNS6) 
     {layer.z=layer.style.zIndex; 
	  if (layer.style.visibility==d_hidden) layer.vis(0);} 
  }
function layerTag(id,content,z,vis,l,t,w,h,extra) 
  {layers.EQ[layers.EQ.length]=id;
   if (w==0) w=1; 
   if (!t) t=0; 
   if (!l) l=0; 
   if (!vis) vis=d_hidden; 
   if (!z) z=10; 
   if (!extra) extra='';
   if (isNS4) 
     {var stuff = '<LAYER NAME="'+id+'" left="'+l+'" top="'+t+'"'
	          +((w)?(' width="'+w+'"'):'')+((h)?(' height="'+h+'"'):'')
		  +' visibility="'+vis+'" z-index="'+z+'" '+extra+'>';}
   else 
     {var stuff = '<DIV ID="'+id
	          +'" STYLE="position:absolute; overflow:visible; left:'
		  +l+'px; top:'+t+'px;'+((w)?(' width:'+w+'px;'):'')
		  +((h)?(' height:'+h+'px;'):'')+' visibility:'+vis
		  +'; z-index:'+z+'" '+extra+'>';}
   return (stuff+content+((isNS4)?'</LAYER>':'</DIV>')); 
  }
function newLayer(id,content,z,vis,l,t,w,h,extra) 
  {var layer; /*?*/
   if (isIE) 
     {document.body.insertAdjacentHTML('BeforeEnd',layerTag(id,content,z,vis,l,t,w,h,extra));
	  layer=document.all[id];}
   if (isNS4) 
     {if (w==null)w=2000;
	  layer=new Layer(w); 
	  layer.document.write(content); 
	  layer.document.close(); 
	  layer.left=(l)?l:0; 
	  layer.top=(t)?t:0; 
	  layer.height=(h!=null)?h:1; 
	  layer.zIndex=(z)?z:10; 
	  layer.width=layer.document.width; 
	  layer.visibility=(vis)?vis:d_visible; 
	 } 
   d_equalize(layer); 
   return (layer);	
  }

function d_writeLayer(id,content,z,vis,l,t,w,h,extra) { this.writeln(layerTag(id,content,z,vis,l,t,w,h,extra)); equalizeLayers();}
document.newLayer=d_writeLayer;

//******* End Basic DHTML Functions ********//

// body onload fix
var dhtmln_=1; 
var dhtmlBrowser=0; 
if (document.images) dhtmlBrowser=1;
function d_loadChecker() 
  {if (dhtmln_) {d_initNav(); }
   else {setTimeout('d_loadChecker()',100); } 
  }
d_loadChecker();
function d_init() 
  {n_Ready=1;
   showCArrows();
  }
function d_initNav() 
  {document.loaded=1;
   eval(onLoadStr); 
   d_posCheck();
   d_loadImages(); 
  }
function whenPageLoaded(code) 
  {onLoadStr+=code+'; ';}
   
var onLoadStr='';
function d_posCheck() 
  {var img=document.images.margincheck;
   if (img) 
     {ymargin=img[(isNS4)?'y':'offsetTop']-87+((isNS6)?document.body.offsetTop:0);}
   var img=document.images.cn_Check; 
   cascadeNav.cpos=(img)?(getIy(img)-ymargin):0; 
  } 
function d_n_Enter(who) 
  {if ((who==null)||(who==currentNav[0])) 
     {clearTimeout(d_n_Timer);
	  if (isNS4) {if (nsFix==1) nsFix=2; else nsFix=1;} 
	 }
  }
function d_n_Exit(who) 
  {if (!n_Ready) return; 
   clearTimeout(d_popupTimer); 
   if ((who!=null)&&(who!=currentNav[0])) return; 
   if (isNS4) 
     {if (nsFix==2) {nsFix=0; return;} 
	  nsFix=0;} 
   clearTimeout(d_n_Timer); 
   d_n_Timer=setTimeout("d_endNav();",100); 
  }
function d_n_Over(who) 
  {d_startNav(who,arguments);}
function d_n_Out(who) 
  {d_n_Exit(who);}
function d_findMouse(e) 
  {if (isNS4||isNS6) { d_mouseY=e.pageY;}
   if (isIE) { d_mouseY=event.clientY+document.body.scrollTop; } 
  }
function d_startNav(who,args) 
  {if (!n_Ready) return;
   d_n_Enter(who); 
   if (who==currentNav[0]) return; 
   TempArgs=args; 
   d_popupTimer=setTimeout("d_beginNav('"+who+"',1)",100); 
  }
function d_beginNav(who,n) 
  {d_n_Enter(); 
   d_endNav();
   currentNav[0]=who; 
   cascadeNav.args=(n)?TempArgs:new Object(); 
   d_popupNav(who,1); 
  }
function d_endNav() 
  {var c=currentNav[0]; 
   if (c==null) return; 
   if (menuList[c]) 
     {d_swapImg(n_Pics,c,0); 
	  d_swapCArrow(c,0); 
	  d_hideLev(0); 
	  d_setConnect('off');}	
   else { d_other(c); } currentNav[0]=null; 
  }
function d_popupNav(who,lev,delay) 
  {if (lev>3) return;
   if (!menuList[who]) {d_other(who,1); return;} 
   if (delay!=null) 
     {d_popupTimer=setTimeout("d_popupNav('"+who+"',"+lev+")",delay);
	  return;} 
   var l=layers['menuLayer'+lev]; 
   if (!l) return; 
   if (who==currentNav[l.lev]) return; 
   d_hideLev(l.lev-1); 
   currentNav[l.lev]=who; 
   writeNavLayer(who,l.lev,l.id); 
   d_setNavY(l); 
   l.vis(1); 
   if (l.lev>1) 
     {d_toggleArrow(l.lev,1); } 
   else 
     {d_swapImg(n_Pics,currentNav[0],1);
	  d_swapCArrow(currentNav[0],1); 
	  d_setConnect(cascadeNav.args[1]);} 
  }
function d_other(who,n) 
  {var l=layers[who]; 
   if (!l) return; 
   if (l.ready==0) return; 
   l.vis(n); 
   if (n) 
     {layers.on=l;
	  l.onmouseover=new Function("d_n_Enter()"); 
	  l.onmouseout=new Function("if (!document.alert) d_n_Exit()");} 
   else 
     {layers.on=null; 
	  document.alert=0; 
	  if (document.n_disabled) n_disable(1);} 
  }
function d_hideLev(num,delay) 
  {if (num>3) return;
   if (delay) 
     {d_popupTimer=setTimeout("d_hideLev("+num+")",200); 
	  return;} 
   var l,k=0; 
   for (k=3; k>=(num+1); k--) 
     {if (currentNav[k]!=null) 
	   {l=getML(k); 
	    l.vis(0); 
		if (k>1) d_toggleArrow(k,0); 
		if (l.clipped != null) 
		  {l.clipIt(0,2000); 
		   layers['menuLayer'+l.lev+'up'].vis(0); 
		   layers['menuLayer'+l.lev+'dn'].vis(0); 
		   l.clipped=null;} 
		currentNav[k]=null; 
	   } 
     } 
  }
function d_setConnect(y) 
  {if ((y==null)||(!n_Pics.rollovers)) return;
   var nc=layers.n_connect; 
   if (y=='off') {nc.vis(0); return;} 
   nc.style.top=(ymargin+70+y); 
   nc.vis(1); 
  }
function d_toggleArrow(lev,show) 
  {var who=currentNav[lev],b=(isNS4)?getML(lev-1):window; 
   var newimg=(show)?boxPics.i.n_arrowblue:boxPics.i.n_arrow; 
   var img=b.document.images[who+'_ar']; 
   if (img) {img.src=newimg.src;} 
   if (isIE||isNS6) 
     {var lnk=(isIE)?document.all[who+'_link']:document.links[who+'_link'];
	  if (!lnk) return; 
	  if (!lnk.cls) lnk.cls=lnk.className; 
	  lnk.className=lnk.cls+((show)? 'on':'');} 
  }
function d_setNavY(l) 
  {var db=document.body;
   var st=(isIE)?db.scrollTop:window.pageYOffset; 
   var wh=(isIE)?db.clientHeight:window.innerHeight; 
   var pb=((isIE)?db['scrollHeight']:document.height)
            -((l.lev==1)?43:22)
            -((isNS6)?-1:1)*ymargin; 
   var lh=l.getHeight(); 
   var wb=wh+st; 
   if (wb>pb)wb=pb; 
   var y=d_mouseY-Math.round(lh/2); 
   var a2=cascadeNav.args[2]; 
   if ((l.lev==1)&&(a2)&&(y<a2+ymargin)) y=a2+ymargin; 
   if (l.lev>1)
     {var prevTop=getML(l.lev-1).getTop();
	  if (y<(prevTop)) y=prevTop;} 
   if ((y+lh)>wb)y=wb-lh; 
   if (y<(ymargin+67))y=ymargin+67; 
   if (y<st)y=st; 
   l.style.top=y; 
   if ((y+lh)>wb) 
     {l.clipped=1;
	  layers['menuLayer'+l.lev+'up'].style.top=y; 
	  layers['menuLayer'+l.lev+'dn'].style.top=wb-14; 
	  d_moveNav(l.id,0);} 
  }
function d_moveNav(id,s) 
  {var who=layers[id];
   if (who==null) { clearInterval(d_moveNavTimer); return; } 
   var lh=who.getHeight(); 
   var up=layers['menuLayer'+who.lev+'up'];  
   var dn=layers['menuLayer'+who.lev+'dn']; 
   var y=who.getTop()+s; 
   var uptop=up.getTop(); 
   var dnbot=dn.getTop()+14; 
   if (y>uptop) y=uptop; 
   if ((y+lh)<dnbot) y=dnbot-lh; 
   up.vis((y<uptop)); 
   dn.vis(((y+lh)>dnbot)); 
   who.style.top=y; 
   who.clipIt((y<uptop)?(uptop-y+8):0,((y+lh)>dnbot)?(dnbot-y-10):2000); 
   if (((s<0)&&((y+lh)==dnbot))||((s>0)&&(y==uptop))) clearInterval(d_moveNavTimer); 
  }
function d_scrollNav(lev,s) 
  {clearInterval(d_moveNavTimer);
   var l=getML(lev); 
   if ((lev==0)||(!l)) return; 
   d_moveNavTimer=setInterval("d_moveNav('"+l.id+"',"+s+")",50); 
  }
function getIy(img) 
  {return(img[(isNS4)?'y':'offsetTop']+((isNS6)?ymargin:0));} 
function getIx(img) 
  {return(img[(isNS4)?'x':'offsetLeft']+((isNS6)?xmargin:0));}
function parseXY(who,n) 
  {var val=0; 
   var num=who[(n=='X')?'offsetLeft':'offsetTop']; 
   if (num) val+=num;  
   var oP=who.parentElement; 
   if (oP) val+=parseXY(oP,n); 
   return(val); 
  }
function getML(lev) 
  {return(layers['menuLayer'+lev]);}
function IMG(url,w,h,b,ex) 
  {return('<IMG SRC="'+url+'" WIDTH="'+((w)?w:1)+'" HEIGHT="'+((h)?h:1)
          +'" BORDER="'+((b)?b:0)+'"'+((ex)?' '+ex:'')+'>');}
function d_spacer(w,h,b,ex) 
  {return(IMG('spacer.gif',w,h,b,ex));}
function newNavMenu(who) 
  {menuList[who]=new Array();
   var j; 
   for (j=1; j<arguments.length; j++) { menuList[who][j-1]=arguments[j];} 
  }
function createNavLayer(lev,who) 
  {if ((lev==1)&&(who.substring(0,5)=='cn_')) 
     {who=who.substring(5);
	  chanArrows[chanArrows.length]=who;} 
   menuList[who]=new Array(); 
   var j; 
   for (j=2; j<arguments.length; j++) {menuList[who][j-2]=arguments[j];} 
  }
newNavMenu('blank',"blank|/|blank");

function genNavLayer(lev,who) 
  {var w=185;
   var id=(who)?('ML_'+who):('menuLayer'+lev);
   var build=d_n_tabletop 
            +((isNS4)?'':'<SPAN ID="'+id+'Area">')
			+writeNavLayer(((who)?who:'blank'),lev,id)
			+((isNS4)?'':'</SPAN>')+d_n_tablebot;
   document.newLayer(id,build,(60+2*lev),d_hidden,
                  (xmargin-6+lev*180),0,w,null,
			      'ONMOUSEOVER="d_n_Enter();" ONMOUSEOUT="d_n_Exit();"');
   var l=layers[id]; 
   l.lev=lev; 
   if (!(isNS4)) equalizeLayers(id+'Area');
   l.clipIt=new Function ("t","b"," if (isNS4) {this.clip.top=t; this.clip.bottom=b;} else { this.style.clip='rect('+t+' 185 '+b+' 0)'; }");
   if (!who) {genNavScroller(id,lev,'up',w); genNavScroller(id,lev,'dn',w);}
  }
function genNavScroller(id,lev,which,w) 
  {if (which=='up') { var topbot='top',s=8,cs=3,h=12; } 
   else { var s=-8,topbot='bot',cs=4,h=14; }
   var build='<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="'+w+'"><TR>'
		+'<TD WIDTH="6" ROWSPAN="'+cs+'">'+IMG('n_s_'+topbot+'left.gif',6,h)+'</TD>'
		+'<TD WIDTH="'+(w-13)+'" BGCOLOR="#FF9900">'+d_spacer(w-13,1)+'</TD>'
		+'<TD WIDTH="7" ROWSPAN="'+cs+'">'+IMG('n_s_'+topbot+'right.gif',7,h)+'</TD></TR>'
		+'<TR><TD BGCOLOR="#FFFFCC" ALIGN="center">'+IMG('n_s_'+which+'.gif',12,10)+'</TD></TR>'
		+'<TR><TD BGCOLOR="#FF9900">'+d_spacer()+'</TD></TR>'
		+((which=='dn')?'<TR><TD BGCOLOR="#000000">'+d_spacer(1,2)+'</TD></TR>':'')
		+'</TABLE>';
   document.newLayer(id+which,build,(60+2*lev+1),d_hidden,
                     (xmargin-6+lev*180),0,null,null,
					 'ONMOUSEOVER="d_scrollNav(\''+lev+'\','+s+'); d_n_Enter();" ONMOUSEOUT="d_scrollNav(0); d_n_Exit();"');
  }
function writeNavLayer(who,lev,id) 
  {var stuff='',menu = menuList[who];
   if (menu==null) return null;
   var j,a,url,submenu,txt;
   var stuff='<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="177">' 
            +'<TR><TD WIDTH="15">'+d_spacer(15,5)
			+'</TD><TD WIDTH="145">'+d_spacer(145,5)
			+'</TD><TD WIDTH="17">'+d_spacer(17,5)
			+'</TD></TR>';
   for (j=0; j<menu.length; j++) 
     {a=menu[j].split('|'); 
	  url=a[1]; 
	  if (url=='*')url=null; 
	  submenu=a[2]; 
	  if (lev==3) submenu=null;
	  stuff+='<TR><TD ALIGN="right" VALIGN="top">'+d_spacer(11,10,null,'NAME="'+who+'_b'+j+'"')+'</TD><TD>';
	  var LEV=lev;
	  if (url||submenu) 
	    {stuff+='<A '+((url)?d_n_Class:d_n_Class2)
		       +' HREF="' + ((url)? url:'javascript: // no link') 
			   +'" ONMOUSEOVER="d_n_Bullet('+LEV+",'"+who+'_b'+j+"',1); "+((submenu)?('d_popupNav('+"'"+submenu+"'"+','+(LEV+(1))+',200);" NAME="'+submenu+'_link"'):('d_hideLev('+LEV+',1);"')) 
			   +' ONMOUSEOUT="'+ "d_n_Bullet("+LEV+",'"+who+"_b"+j+'\',0); clearTimeout(d_popupTimer);">'
			   +a[0]+'</A>';} 
	  else 
	    {stuff+='<SPAN CLASS="n_3">'+a[0]+'</SPAN>';}
	  stuff+='</TD><TD>'
	        +((submenu)? IMG('n_arrow.gif',9,9,0,'NAME="'+submenu+'_ar"'):'') 
			+'</TD></TR>'+'<TR><TD>'+d_spacer(1,8)+'</TD></TR>'; 
     }
   stuff+='</TABLE>'; 
   if (who=='blank') return stuff;
   if (isNS4) stuff=d_n_tabletop+stuff+d_n_tablebot;
   var l=layers[id+((isNS4)?'':'Area')]; l.rewrite(stuff); return null; 
  }
function writeLayers() 
  {if (isIE||isNS6) 
    {xmargin=eval(document.body[(isIE)?'leftMargin':'offsetLeft']);
     ymargin=eval(document.body[(isIE)?'topMargin':'offsetTop']);}
   else 
    {var mc=document.images.margincheck; 
     if (mc) { xmargin=mc.x-1; ymargin=mc.y-87;}
    }
   document.newLayer('n_connect',IMG('spffffcc.gif',3,17),70,0,(xmargin+172),0);
   genNavLayer(1); 
/*   genNavLayer(2);*/
/*   genNavLayer(3);*/
  }

//******* Second Level DHTML Functions ********//

function showCArrows() 
  {if (document.cn_Check) 
    {var j,a=chanArrows;
	 if (a.length>0) 
	   {for (j=0; j<a.length; j++) d_swapCArrow(a[j],0);
	    cn_Ready=1;} 
	 else setTimeout("showCArrows()",200); 
	} 
  }
function addCArrows() 
  {var j,a=arguments;
   for (j=0; j<a.length; j++) chanArrows[chanArrows.length]=a[j];}
function d_swapCArrow(who,n) 
  {var img=document.images['ca_'+ who];
   if (img) img.src=boxPics.i[(n)?'n_arrowblue':'n_arrow'].src;}

function d_cn_Over(who) 
  {if (cn_Ready) 
    {arguments[2]=cascadeNav.cpos;
	 d_startNav(who,arguments);} 
  }
function d_cn_Out(who) 
  {if (cn_Ready) d_n_Exit(who);}

chanArrows= new Array(0);

//******* End Second Level DHTML Functions ********//
 
if (isNS4) document.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP);

document.onmousemove = d_findMouse;
d_loadGroup(boxPics,1);
if ((document.cookie)&&(document.cookie.indexOf('dev_ro=1')!=-1)) 
  {n_Pics.add('blue|sp0033ff.gif','yellow|spffffcc.gif');
   d_loadGroup(n_Pics,1);}
n_Pics.onload="document.cookie='dev_ro=1; path=/'";

if (isNS4) 
  {document.newLayer('cacher_spacers',d_spacer(15,5)+ d_spacer(145,5)+ d_spacer(17,5)+ d_spacer(11,10)+ d_spacer(1,8)+ d_spacer()+ d_spacer(1,6)+ d_spacer(5,1)+ d_spacer(1,5)+ d_spacer(1,2));
   var d_winW=window.innerWidth;
   var d_winH=window.innerHeight; 
   window.onresize=new Function("if ((d_winW!=window.innerWidth)||(d_winH!=window.innerHeight)) history.go(0);"); 
  }


