
function Browser()
{var agent=navigator.userAgent.toLowerCase();this.major=parseInt(navigator.appVersion);this.mac=(navigator.appVersion.indexOf("Mac")!=-1)?true:false;this.minor=parseFloat(navigator.appVersion);this.ns=((agent.indexOf('mozilla')!=-1)&&((agent.indexOf('spoofer')==-1)&&(agent.indexOf('compatible')==-1)));this.ns4=(this.ns&&(this.major==4));this.ns6=(this.ns&&(this.major>=5));this.ie=(agent.indexOf("msie")!=-1);this.ie3=(this.ie&&(this.major<4));this.ie4=(this.ie&&(this.major==4)&&(agent.indexOf("msie 5.0")==-1));this.ie5=(this.ie&&(this.major==4)&&(agent.indexOf("msie 5.0")!=-1));this.ie55=(this.ie&&(this.major==4)&&(agent.indexOf("msie 5.5")!=-1));this.ie6=(this.ie&&(agent.indexOf("msie 6.0")!=-1));this.NG=(this.ns&&(this.major>=5))||(this.ie&&(this.major==4)&&(agent.indexOf("msie 5.0")!=-1))||(this.ie&&(this.major==4)&&(agent.indexOf("msie 5.5")!=-1))||(this.ie&&(agent.indexOf("msie 6.0")!=-1))}
function toggleETCC(sel)
{var docidstyle="";var cctypestyle="none";if(sel.options[sel.selectedIndex].value=='CC')
{docidstyle="none";cctypestyle="";}
var browser=new Browser();if(!browser.ns)
{document.all["docid"].style.display=docidstyle;document.all["cctype"].style.display=cctypestyle;}
else
{if(browser.ns6)
{document.getElementById("docid").style.display=docidstyle;document.getElementById("cctype").style.display=cctypestyle;}
else
{document.layers["docid"].style.display=docidstyle;document.layers["cctype"].style.display=cctypestyle;}}}
function toggleETCC2(sel)
{var docidstyle="";var cctypestyle="none";if(sel.options[sel.selectedIndex].value=='CC')
{cctypestyle="";}
var browser=new Browser();if(!browser.ns)
{document.all["cctype2"].style.display=cctypestyle;}
else
{if(browser.ns6)
{document.getElementById("cctype2").style.display=cctypestyle;}
else
{document.layers["cctype2"].style.display=cctypestyle;}}}
function toggleETCC3(){var theTable=(document.getElementById('cctype2'));var theTB=theTable.tBodies.item(0);var theTR=theTB.rows.item(1);if((theTR.style.display=="")||(theTR.style.display=="inline"))
theTR.style.display="none";else
theTR.style.display="inline";}
var gotFocus=null;function toggleOption(divObj)
{if(gotFocus!=null)
{ShowHide(gotFocus);}
if(divObj!='none')
{ShowHide(divObj);gotFocus=divObj;}
else
{gotFocus=null;}}
var gotFocusFP=null;function toggleOptionFP(divObj)
{if(gotFocusFP!=null)
{ShowHide(gotFocusFP);}
if(divObj!='none')
{ShowHide(divObj);gotFocusFP=divObj;}
else
{gotFocusFP=null;}}
var gotFocusGar=null;function toggleOptionGar(divObj)
{if(gotFocusGar!=null)
{ShowHide(gotFocusGar);}
if(divObj!='none')
{ShowHide(divObj);gotFocusGar=divObj;}
else
{gotFocusGar=null;}}
function ShowHide(divObj)
{var ElementById=(document.getElementById);var IE4=(document.all);var NS4=(document.layers);var state="";if(ElementById){state=document.getElementById(divObj).style.display;if(state=="none"&&state!=null){document.getElementById(divObj).style.display="";}else{document.getElementById(divObj).style.display="none";}}
else if(IE4){state=document.all.divObj.style.display;if(state=="none"&&state!=null){document.all.divObj.style.display="";}else{document.all.divObj.style.display="none";}}
else if(NS4){state=document.layers[divObj].style.display;if(state=="none"&&state!=null){document.layers[divObj].style.display="";}else{document.layers[divObj].style.display="none";}}}
function paddedDigit(val){if(parseInt(val)<0){var neg=true;}
if(Math.abs(parseInt(val))<10){val="0"+Math.abs(val);}
if(neg){val="-"+val;}
return val;}
function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features);}<!--
function MM_reloadPage(init){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 readCookie(name){var nameEQ=name+"=";var cookiesList=document.cookie.split(';');for(var i=0;i<cookiesList.length;i++){var currentCookie=cookiesList[i];while(currentCookie[0]==' ')currentCookie=currentCookie.substring(1,currentCookie.length);if(currentCookie.indexOf(nameEQ)==0){return currentCookie.substring(nameEQ.length,currentCookie.length);}}
return null;}
