<!--

function MM_setTextOfLayer(objName,x,newText) { 
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

function MM_openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}


function MM_findObj(n, d) { 
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { 
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { 
  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() { 
  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 custom_print() {
    if (document.all) {
        if (navigator.appVersion.indexOf("5.0") == -1) {
            var OLECMDID_PRINT = 6;
            var OLECMDEXECOPT_DONTPROMPTUSER = 2;
            var OLECMDEXECOPT_PROMPTUSER = 1;
            var WebBrowser = "<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>";
            document.body.insertAdjacentHTML("beforeEnd", WebBrowser);
            WebBrowser1.ExecWB(6, 2);
            WebBrowser1.outerHTML = "";
        } else {
            self.print();
        }
    } else {
        self.print();
    }
}

function kinitMenu(){
IE = document.all ? 1:0;
NN = document.layers ? 1:0;
HIDDEN = (NN) ? 'hide' : 'hidden';
VISIBLE = (NN) ? 'show' : 'visible';
myLayer=new Array();
mySpeed=5;
subLeft=0;
closes=true;
myLayer[0]=(NN) ? document.k0 : document.all.k0.style;
myLayer[1]=(NN) ? document.k1 : document.all.k1.style;
myLayer[2]=(NN) ? document.k2 : document.all.k2.style;
myLayer[3]=(NN) ? document.k3 : document.all.k3.style;
myLayer[4]=(NN) ? document.k4 : document.all.k4.style;
myLayer[5]=(NN) ? document.k5 : document.all.k5.style;
myLayer[6]=(NN) ? document.k6 : document.all.k6.style;
myLayer[7]=(NN) ? document.k7 : document.all.k7.style;
myLayer[8]=(NN) ? document.k8 : document.all.k8.style;
myLayer[9]=(NN) ? document.k9 : document.all.k9.style;
myLayer[10]=(NN) ? document.k10 : document.all.k10.style;
myLayer[11]=(NN) ? document.k11 : document.all.k11.style;
myLayer[12]=(NN) ? document.k12 : document.all.k12.style;
myLayer[13]=(NN) ? document.k13 : document.all.k13.style;
myLayer[14]=(NN) ? document.k14 : document.all.k14.style;
myLayer[15]=(NN) ? document.k15 : document.all.k15.style;
myLayer[16]=(NN) ? document.k16 : document.all.k16.style;
myLayer[17]=(NN) ? document.k17 : document.all.k17.style;
myLayer[18]=(NN) ? document.k18 : document.all.k18.style;
myLayer[19]=(NN) ? document.k19 : document.all.k19.style;
myLayer[20]=(NN) ? document.k20 : document.all.k20.style;
myLayer[21]=(NN) ? document.k21 : document.all.k21.style;
running=false;
whichOpen=-1;
lastMain=myLayer.length-2;
kmain=new Array();
for(i=0; i<myLayer.length; i++){
mainORsub= i % 2;
kmain[i] = mainORsub ? 0:1;
}
myTop=new Array();
myLeft=new Array();
myHeight=new Array();
myWidth=new Array();
mySlide=new Array();
for(i=0; i<myLayer.length; i++){
if(NN&&kmain[i]){
if(i==0){
myTop[i]=myLayer[i].top;
myLeft[i]=myLayer[i].left;}
else{
myLeft[i]=myLeft[i-2];
myTop[i]=myTop[i-2]+myHeight[i-2];}
myHeight[i]=myLayer[i].clip.height;
myWidth[i]=myLayer[i].clip.width;
myLayer[i].left=myLeft[i];
myLayer[i].top=myTop[i];
myLayer[i].visibility=VISIBLE;}
if(NN&&!kmain[i]){
myTop[i]=myTop[i-1]+myHeight[i-1];
myLeft[i]=myLeft[i-1];
myHeight[i]=myLayer[i].clip.height;
myWidth[i]=myLayer[i].clip.width;
mySlide[i]=myTop[i]+myHeight[i];
myLayer[i].left=myLeft[i]+subLeft;
myLayer[i].top=myTop[i];}
if(IE&&kmain[i]){
if(i==0){
myLeft[i]=myLayer[i].pixelLeft;
myTop[i]=myLayer[i].pixelTop;}
else{
myLeft[i]=myLeft[i-2];
myTop[i]=myTop[i-2]+myHeight[i-2];}
myHeight[i]=myLayer[i].pixelHeight;
myWidth[i]=myLayer[i].pixelWidth;
myLayer[i].left=myLeft[i];
myLayer[i].top=myTop[i];
myLayer[i].visibility=VISIBLE;}
if(IE&&!kmain[i]){
myTop[i]=myTop[i-1]+myHeight[i-1];
myLeft[i]=myLeft[i-1];
myHeight[i]=myLayer[i].pixelHeight;
myWidth[i]=myLayer[i].pixelWidth;
myLayer[i].pixelLeft=myLeft[i]+subLeft;
myLayer[i].pixelTop=myTop[i];
mySlide[i]=myTop[i]+myHeight[i];
}
}
}
function kMenu(myName,newspeed){
ieStep=0;
thereS=false;
thereC=false;
if(newspeed>0){mySpeed=newspeed;}
first=myName;
if(whichOpen==-1&&!running&&kmain[myName]&&!(whichOpen==myName)){
running=true;
if(NN){
myLayer[myName+1].clip.height=0;
myLayer[myName+1].visibility=VISIBLE;
}
if(IE){
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")";
myLayer[myName+1].visibility=VISIBLE;
}
kopenMenuS(myName);
kopenMenuC(myName);
}
if(whichOpen>=0&&!running&&!(whichOpen==myName)){
running=true;
second=whichOpen;
ieStep1=myHeight[second+1];
thereCS=false;
thereCC=false;
kcloseMenuS(second);
kcloseMenuC(second);
}
if(whichOpen>=0&&!running&&whichOpen==myName&&closes){
running=true;
second=whichOpen;
ieStep1=myHeight[second+1];
thereCS=false;
thereCC=false;
kcloseMenuS(second);
kcloseMenuC(second);
	}
}
function kstopCloseS(myName){
running=false;
thereCS=true;
if(closes&&first==whichOpen){whichOpen=-1;}
else{whichOpen=-1;
kMenu(first);
}
}
function kstopOpenS(myName){
running=false;
thereS=true;
if(IE){myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ ("auto") +" "+ ("auto") +")";}
whichOpen=myName;
}
function kopenMenuS(myName){
myStep=mySpeed;
if(NN&&!thereS&&!(first==lastMain)){
if(myLayer[first+2].top+myStep>mySlide[first+1]){
myStep=mySlide[first+1]-myLayer[first+2].top;
}
for(i=first+2; i<myLayer.length; i+=2){
myLayer[i].top+=myStep;
}
if(myLayer[first+2].top==mySlide[first+1]){
kstopOpenS(first)
}
if(running)setTimeout('kopenMenuS(first)',10);
}
if(IE&&!thereS&&!(first==lastMain)){
if(myLayer[first+2].pixelTop+myStep>mySlide[first+1]){
myStep=mySlide[first+1]-myLayer[first+2].pixelTop;
}
for(i=first+2; i<myLayer.length; i+=2){
myLayer[i].pixelTop+=myStep;
}
if(myLayer[first+2].pixelTop==mySlide[first+1]){
kstopOpenS(first)
}
if(running)setTimeout('kopenMenuS(first)',10);
}
}
function kopenMenuC(myName){
myStep=mySpeed;
if(NN&&!thereC){
if ((myLayer[first+1].clip.height+myStep)>myHeight[first+1]){
myLayer[first+1].clip.height=myHeight[first+1]
}
if(myLayer[first+1].clip.height==myHeight[first+1]){
thereC=true;
whichOpen=first;
kstopOpenS(first)

}else{
myLayer[first+1].clip.height+=myStep;

}
if(running)setTimeout('kopenMenuC(first)',10);
}
if(IE&&!thereC){
ieStep+=myStep;
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep) +" "+ ("auto") +")";

if(ieStep>=myHeight[first+1]){
thereC=true;
whichOpen=first;
kstopOpenS(first)
}
if(running)setTimeout('kopenMenuC(first)',10);
}
}
function kcloseMenuS(myName){
myStep=mySpeed;
if(NN&&!thereCS&&!(second==lastMain)){
if(myLayer[second+2].top-myStep<myTop[second+2]){
myStep=myLayer[second+2].top-myTop[second+2];
}
for(i=second+2; i<myLayer.length; i+=2){
myLayer[i].top-=myStep;

}
if(myLayer[second+2].top==myTop[second+2]){
kstopCloseS(second);
}
if(running)setTimeout('kcloseMenuS(second)',10);
}
if(IE&&!thereCS&&!(second==lastMain)){
if(myLayer[second+2].pixelTop-myStep<myTop[second+2]){
myStep=myLayer[second+2].pixelTop-myTop[second+2];
}
for(i=second+2; i<myLayer.length; i+=2){
myLayer[i].pixelTop-=myStep;

}
if(myLayer[second+2].pixelTop==myTop[second+2]){
kstopCloseS(second);
}
if(running)setTimeout('kcloseMenuS(second)',10);
}
}
function kcloseMenuC(myName){
myStep=-mySpeed;
ieStep1-=mySpeed;
if(NN&&!thereCC){
if ((myLayer[second+1].clip.bottom+myStep)<0){
myLayer[second+1].clip.bottom=0;
}
if(myLayer[second+1].clip.bottom==0){
thereCC=true;

if(second==lastMain)kstopCloseS(second);
}else{
myLayer[second+1].clip.bottom+=myStep;

}
if(running)setTimeout('kcloseMenuC(second)',10);
}
if(IE&&!thereCC){
if(ieStep1<=0){
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")";
thereCC=true;
if(second==lastMain)kstopCloseS(second);
}else{
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep1) +" "+ ("auto") +")";

}
if(running)setTimeout('kcloseMenuC(second)',10);
}
}


 

function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 
bw=new verifyCompatibleBrowser() 
 
 
var speed=50 
 
var loop, timer 
 
function ConstructObject(obj,nest){ 
    nest=(!nest) ? '':'document.'+nest+'.' 
    this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 
    this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 
    this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 
    this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 
    this.up=MoveAreaUp;this.down=MoveAreaDown; 
    this.MoveArea=MoveArea; this.x; this.y; 
    this.obj = obj + "Object" 
    eval(this.obj + "=this") 
    return this 
} 
function MoveArea(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.x 
    this.css.top=this.y 
} 
 
function MoveAreaDown(move){ 
	if(this.y>-this.scrollHeight+objContainer.clipHeight){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 
function MoveAreaUp(move){ 
	if(this.y<0){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll(speed){ 
	if(initialised){ 
		loop=true; 
		if(speed>0) objScroller.down(speed) 
		else objScroller.up(speed) 
	} 
} 
 
function CeaseScroll(){ 
    loop=false 
    if(timer) clearTimeout(timer) 
} 
var initialised; 
function InitialiseScrollableArea(){ 
    objContainer=new ConstructObject('divContainer') 
    objScroller=new ConstructObject('divContent','divContainer') 
    objScroller.MoveArea(0,0) 
    objContainer.css.visibility='visible' 
    initialised=true; 
} 



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 YY_ImageGauge(yybgg, yybss, yyfc,yywidth, yyheight, yyhide, yyshowpc, yyendjs){ //v3.01
//(c)1998,2000 Yaromat, www.yaromat.com
 yyready=true;
 if (document.images)with (document){
  if (document.preloadArray==null) document.preloadArray = new Array();
  var yyi=preloadArray.length;
  for (var yyj=8;yyj<YY_ImageGauge.arguments.length-1;yyj++){
    preloadArray[yyi] = new Image;
    preloadArray[yyi].src = YY_ImageGauge.arguments[yyj];
    yyi++;
  }
  if (preloadArray){
   howmany=0;
   for (var yyj=0; yyj < preloadArray.length; yyj++){
     yyready = yyready && preloadArray[yyj].complete;
     if (preloadArray[yyj].complete) {howmany++;}
   }
   yysuc=Math.round(howmany*100/preloadArray.length);
   if (document.all){
    yypos=Math.round(howmany/preloadArray.length*yywidth);
    yyidiv='<body><table width='+yywidth+' height="'+yyheight+'" bgcolor='+yybgg+' border=0 cellpadding=0 cellspacing=0><tr><td bgcolor='+yybss+' width='+yypos+'></td><td width='+(yywidth-yypos)+'></td></tr></table>';
        if (yyshowpc){yyidiv+='<center><font size=1 face="sans-serif" color="'+yyfc+'">'+yysuc+'%</font></center>'}
        yyidiv+='</body>';
    document.all['yyg'].innerHTML=yyidiv;
    if ((yyready)&&(yyhide)){setTimeout('document.all[\'yyg\'].style.visibility="hidden"',1000);}
   }
   if (document.layers){
    if (!document.layers['yyg'].document.layers['yynv']){
      yyidiv='<layer id="yynb" left="0" top="0" width="'+yywidth+'" height="'+yyheight+'" bgcolor='+yybgg+'><font face="sans-serif" size="1"></font></layer>';
      yyidiv+='<layer id="yynv" left="-'+yywidth+'" top="0" width="'+yywidth+'" height="'+yyheight+'" bgcolor='+yybss+'></layer>';
      if (yyshowpc){yyidiv+='<layer id="yypc" left="'+(yywidth/2-15)+'" top="'+yyheight+'" width="30" height="15"><font size=1 face="sans-serif" color="'+yyfc+'">'+yysuc+'%</font></layer>'}
      document.layers['yyg'].document.open();
      document.layers['yyg'].document.write(yyidiv);
      document.layers['yyg'].document.close();
    }else{
      yypos=Math.round(howmany/preloadArray.length*yywidth-yywidth);
      document.layers['yyg'].document.layers['yynv'].left=yypos;
      if (yyshowpc){document.layers['yyg'].document.layers['yypc'].document.write('<font size=1 face="sans-serif" color="'+yyfc+'">'+yysuc+'%</font>');
      document.layers['yyg'].document.layers['yypc'].document.close();}
    }
    if ((yyready)&&(yyhide)){setTimeout('document.layers[\'yyg\'].visibility="hide"',1000);}
   }
   if (yyready){if(yyendjs!='#')document.location=yyendjs}
   else{setTimeout('YY_ImageGauge("'+yybgg+'","'+ yybss+'","'+ yyfc+'",'+yywidth+','+yyheight+','+yyhide+','+yyshowpc+',"'+ yyendjs+'")',50);}
  }else {setTimeout('YY_ImageGauge("'+yybgg+'","'+yybss+'","'+ yyfc+'",'+yywidth+','+yyheight+','+yyhide+','+yyshowpc+',"'+ yyendjs+'")',500)}
 }
}




// end absolutely positioned scrollable area object scripts 
//-->



