﻿ie5 = (document.all && document.getElementById);ns6 = (!document.all && document.getElementById);opac = 0;opac2 = 0;function getRefToDiv(divID,oDoc) {  if( document.getElementById ) {    return document.getElementById(divID); }  if( document.all ) {    return document.all[divID]; }  if( !oDoc ) { oDoc = document; }  if( document.layers ) {    if( oDoc.layers[divID] ) { return oDoc.layers[divID]; } else {      //repeatedly run through all child layers      for( var x = 0, y; !y && x < oDoc.layers.length; x++ ) {        //on success, return that layer, else return nothing        y = getRefToDiv(divID,oDoc.layers[x].document); }    return y; } }  return false;}function setLayer(){var winW = 0, winH = 0;myReference = getRefToDiv('Layer2');myReference2 = getRefToDiv('Layer1'); if (navigator.appName=="Netscape") {  winW = window.innerWidth;  winH = window.innerHeight; } if (navigator.appName.indexOf("Microsoft")!=-1) {  winW = document.body.offsetWidth;  winH = document.body.offsetHeight;  //myReference.style.height = 400; } myReference2.style.width=winW+50; myReference2.style.height=1500; myReference.style.height=winH-40;	var win_width = winW - 600;	var win_height = winH - 400;	// Where to place the Window	var lleft = (win_width)/2;	var ltop = (win_height)/2;		myReference.style.top = document.body.scrollTop+5//100;	myReference.style.left = lleft;	//document.write(lleft+' ' +winW);}function fadein() {if(opac!= 60){opac+=10;ref = getRefToDiv('Layer1');if(ie5) ref.filters.alpha.opacity = opac;if(ns6) ref.style.MozOpacity = opac/100;setTimeout('fadein()', 20);}} function dropdownstatus(thestatus){ref=getRefToDiv('ctl00_ctl00_cph_main_cph_Content_dlDivs');ref.style.visibility = thestatus;}function fadeininner(){if(opac2!= 90){opac2+=10;ref = getRefToDiv('Layer2');if(ie5) ref.filters.alpha.opacity = opac2;if(ns6) ref.style.MozOpacity = opac2/100;setTimeout('fadeininner()', 20);}} function fadeout(){if(opac!= 0){opac+=-10;ref = getRefToDiv('Layer1');if(ie5) ref.filters.alpha.opacity = opac;if(ns6) ref.style.MozOpacity = opac/100;setTimeout('fadeout()', 20);}else{opac=0;opac2=0;MM_showHideLayers('Layer1','hidden')}} function MM_showHideLayers(theLayer,theStatus) { //v6.0ref = getRefToDiv(theLayer);ref.style.visibility = theStatus;}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);
