<!--
function MM_reloadPage(init) {  // Reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function getHW(t,a) { 
  var r,p,h=0,w=0;if((p=MM_findObj(a)) !=null){
  if(document.all || document.getElementById){h=parseInt(p.offsetHeight);w=parseInt(p.offsetWidth);
  if(!h){h=parseInt(p.style.pixelHeight);w=parseInt(p.style.pixelWidth);}
  }else if(document.layers){h=parseInt(p.clip.height);w=parseInt(p.clip.width);}}
  if(t=="width"){r=w;}else{r=h;}return r; 
}

function MM1dwt() { 
  var g,lh,sw,fr = false;
  if(!document.GPmc)return;
  for(var x=0;x<GPm1.length;x++){tl=GPm1[x].id;lh="GPCM1DWT0"+tl;
	if((g=MM_findObj(lh)) !=null){fr=true;sw=0;break;}
	lh="GPCM1DWT1"+tl;if((g=MM_findObj(lh)) !=null){fr=true;sw=1;break;}}
  if(fr){eval("trigMenu1('"+tl+"',"+sw+")");}
}

function setMenu1() { 
  var s,d,g,g2,gg,ww,kx,th,tu,ts,nu,xx,k=0,pa=0;args=setMenu1.arguments;
  if((navigator.appName=="Netscape") && parseInt(navigator.appVersion)>4 && navigator.userAgent.indexOf("Opera")==-1){pa="px";}
  if(navigator.userAgent.indexOf("Opera")>-1){GPOperaW=window.innerWidth;GPOperaH=window.innerHeight;}
  if(!document.GPmc) {
   GPm=new Array();document.GPmc=true;GPms=new Array();document.imswap=new Array();document.imswapo=new Array();
   GPm1=new Array();GPm2=new Array();GPmprop=new Object();GPmprop.GPoffset=args[0];GPmprop.GPrate=args[1];
   GPmprop.GPdelay=args[2];GPmprop.GPbottom=args[3];
   if(document.layers){GPmprop.GPpageh = document.height;}}
  for(var x=4;x<args.length;x+=3){if((g=MM_findObj(args[x])) !=null){
    GPm[k]=args[x];g.GPimname=args[x+2];g.GPsub=args[x+1];
    g2=MM_findObj(args[x+2]);tu=g2.src;ts=tu.lastIndexOf(".");
    nu=tu.substring(0,ts)+"_o"+tu.substring(ts,tu.length);
	nu2=tu.substring(0,ts)+"_o"+tu.substring(ts,tu.length);
    document.imswap[k]=new Image();document.imswap[k].src=nu;
	document.imswapo[k]=new Image();document.imswapo[k].src=nu2;k++;}}
  var lf=0;for (var j=0;j<GPm.length;j++){
   if((g=MM_findObj(GPm[j])) !=null){d=(document.layers)?g:g.style;GPm1[j]=g;g.GPwaiting=false;
    if(j==0){lf=parseInt(d.left);th=parseInt(d.top);}
    if(j>0){d.left=(lf+pa);th+=getHW('height',GPm[j-1]);d.top=(th+pa);}
    if((s=MM_findObj(g.GPsub)) !=null){GPm2[j]=s;ww=getHW('width',g.GPsub);
     kx=lf-ww-20;dd=(document.layers)?s:s.style;
     dd.left=(kx+pa);dd.top=(th+pa);GPms[j]=th;dd.visibility="visible";s.GPopen=false;s.GPwaiting=false;}}}
  if((g=MM_findObj(GPmprop.GPbottom)) !=null){d=(document.layers)?g:g.style;
   d.left=(lf+parseInt(args[0])+pa);th+=getHW('height',GPm[GPm.length-1]);d.top=(th+pa);}
}

function wait(a) { 
  var ma,mb;if((mb=MM_findObj(a)) !=null){
   if(!mb.GPwaiting || mb.GPwaiting=="none"){return;}
    ma=mb.GPwaiting;mb.GPwaiting=false;eval(ma);}
}

function trigMenu1(a,sw) { 
  var x,g,gg,d,dd,w,l,lp,tp,im,im2,ts,nu,e,pa=0;
  if(!document.GPmc)return;
  if((navigator.appName=="Netscape") && parseInt(navigator.appVersion)>4 && navigator.userAgent.indexOf("Opera")==-1){pa="px";}
  if(navigator.userAgent.indexOf("Opera")>-1){if( GPOperaW!=window.innerWidth || GPOperaH!=window.innerHeight)setMenu1();}
  var ofs=parseInt(GPmprop.GPoffset),trt = parseInt(GPmprop.GPrate);
  var tdy=parseInt(GPmprop.GPdelay),tsb,tlf,tst;
  for(x=0;x<GPm.length;x++){if(GPm[x]==a){
    d=GPm1[x];dd=(document.layers)?d:d.style;g=GPm2[x];gg=(document.layers)?g:g.style;
	e=MM_findObj(d.GPimname);im=e.src;ts=im.replace("_o","");ts=ts.replace("_o","");
	 if(!g.GPopen){tst="closed";im2=ts.lastIndexOf(".");
	  nu=ts.substring(0,im2)+"_o"+ts.substring(im2,ts.length);ts = nu;
	 }else{tst="o"}break;}}
  for(j=0;j<GPm.length;j++){
   d=GPm1[j];dd=(document.layers)?d:d.style;g=GPm2[j];gg=(document.layers)?g:g.style;
   if(j==0){tlf=parseInt(dd.left);}
   if(g.GPopen){w=getHW('width',d.GPsub)+20;w-=parseInt(dd.left);w*=-1;d.GPwaiting=false;
	eval("BM1('"+d.GPsub+"',"+w+","+parseInt(gg.top)+","+trt+","+tdy+",0,0)");}
	d.GPwaiting=false;g.GPopen=false;
    if(parseInt(sw)==1){e=MM_findObj(d.GPimname);im=e.src;im2=im.replace("_o","");e.src=im2;}}
  var tnt=new Array();var df=0,tcd=0,tdl=GPm[0];
  for(j=0;j<GPm.length;j++){
   d=GPm1[j];dd=(document.layers)?d:d.style;g=GPm2[j];gg=(document.layers)?g:g.style;
   if(j==0){th=parseInt(dd.top);}tnt[j]=th;df=Math.abs(parseInt(dd.top)-th);
   if(df>tcd){tdl=GPm[j];tcd=df;}th+=getHW('height',GPm[j]);
   if(x==j && tst=="closed"){tsb=th;th+=getHW('height',d.GPsub);}GPms[j]=th;}
   if(tst=="closed") {d=GPm1[x];dd=(document.layers)?d:d.style;
	g=GPm2[x];gg=(document.layers)?g:g.style;lp=tlf+ofs;
	gg.top=(tsb+pa);GPms[x]=tsb;gg.visibility="visible";e=MM_findObj(d.GPimname);
	if(parseInt(sw)==1){e.src=ts;}var r;g.GPopen=true;r=MM_findObj(tdl);		
	r.GPwaiting="BM1('"+d.GPsub+"',"+lp+","+tsb+","+trt+","+tdy+",0,0)" ;
   }else{d=GPm1[GPm1.length-1];d.GPwaiting="none";}
  for(j=0;j<GPm.length;j++ ){eval("BM1('"+GPm[j]+"',"+tlf+","+tnt[j]+","+trt+","+tdy+",0,0)");}
  if((g=MM_findObj(GPmprop.GPbottom)) !=null){d=(document.layers)?g:g.style;g.GPwaiting=false;
   eval("BM1('"+GPmprop.GPbottom+"',"+(tlf+ofs)+","+th+","+trt+","+tdy+",0,0)");
   th+=(document.layers)?getHW('height',GPmprop.GPbottom):0;}
  if(document.layers){var tw2=document.width;
    if(document.height<th) {document.height=th;document.width=tw2;}}
}

function rollCMenu1(ev,a,b) { 
 var e,im,ts,j,nu,g,tev=ev.type;
 if(!document.GPmc)return;
 if(tev=="mouseover"){for(var x=0;x<GPm.length;x++){
 if(GPm[x]==a){g=GPm2[x];if(parseInt(b)==0 && g.GPopen) {break;return;}
 e=MM_findObj(GPm1[x].GPimname);im=e.src;ts=im.replace("_o","");
 ts=ts.replace("_o","");j=ts.lastIndexOf(".");
 e.src=ts.substring(0,j)+"_o"+ts.substring(j,ts.length);break;}}
 }else if(tev=="mouseout"){for(var x=0;x<GPm.length;x++){
 if(GPm[x]==a){e=MM_findObj(d=GPm1[x].GPimname);im=e.src;
 g=GPm2[x];ts=im.replace("_o","");ts=ts.replace("_o","");
 if(g.GPopen){j=ts.lastIndexOf(".");
 nu=ts.substring(0,j)+"_o"+ts.substring(j,ts.length);
 }else{nu=ts;}e.src=nu;break;}}}
}

function BM1(el,x,y,a,b,c,s) { 
 var g,elo=el,f="",m=false,d="";x=parseInt(x);y=parseInt(y);
 var t = 'g.GPBM = setTimeout("BM1(\''+elo+'\','; 
 if ((g=MM_findObj(el))!=null) {d=(document.layers)?g:g.style;}else{return;}
 var xx=(parseInt(d.left))?parseInt(d.left):0;
 var yy=(parseInt(d.top))?parseInt(d.top):0;
 var i=parseInt(a);
  if (eval(g.moved)){clearTimeout(g.GPBM);}
  if (xx<x){xx+=i;m=true;if(xx>x){xx=x;}}
  if (xx>x){xx-=i;m=true;if(xx<x){xx=x;}}
  if (yy<y){yy+=i;m=true;if(yy>y){yy=y;}}
  if (yy>y){yy-=i;m=true;if(yy<y){yy=y;}}
 if (m) {if((navigator.appName=="Netscape") && parseInt(navigator.appVersion)>4 && navigator.userAgent.indexOf("Opera")==-1){
    xx+="px";yy+="px";}
  d.left=xx;d.top=yy;g.moved=true;eval(t+x+','+y+','+a+','+b+','+c+',0)",'+b+')');
  }else {g.moved=false;wait(elo);}
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

//-->