<!--
var urconf = new urConfig();
var urctc = new urConfig();
var imgArray = new Array(); 
var graphArray = new Array(); 
var arrowArray = new Array(); 
var bulletArray = new Array(); 
var ucal_isopen=0;
   arrowArray[0] = new Image(25,18);
   arrowArray[1] = new Image(25,18);
   arrowArray[0].src = 'images/arrow_open.gif';
   arrowArray[1].src = 'images/arrow_close.gif';
 
   bulletArray[0] = new Image(25,18);
   bulletArray[1] = new Image(25,18);
   bulletArray[0].src = 'images/bullet_plus.gif';
   bulletArray[1].src = 'images/bullet_minus.gif';
   
function urConfig() {
   this.baseurl = "";
   this.website = "";
   this.defaultpage = "";
   this.parameterlist = "";
   this.id = "";
   this.cid = "";
   this.sid = "";
   this.bdate;
   this.edate;
   this.bdate2;
   this.edate2;
   this.language= "en-US";
   this.fsize=0;
   this.help = "";

   this.oncolor =   "efbf37";
   this.offcolor = "F3CA27";
   this.cgraph;

   this.showflash = 1;
   this.showall = 1;
   this.showtable = 0;
   this.showgcol = 0;

   this.level      = 0;
   this.sreport    = 0;
   this.token      = "";
   this.ncols      = 0;
   this.didx       = 0;

   this.sep        = "";
   this.csort      = 1;
   this.gcol       = 1;
   this.goalc      = 0;

   this.sortfield1 = 2;
   this.sortby1    = 1;
   this.ftype1     = 2;
   this.filter1    = "";
   this.start1     = 0;
   this.show1      = 10;

   this.sortfield2 = 2;
   this.sortby2    = 1;
   this.ftype2     = 2;
   this.filter2    = "";
   this.start2     = 0;
   this.show2      = 10;
   this.cscount = 100000;
   this.nrec = 0;
}

function unavArrowT(id,issub,force) {
   if (!id) return;
   var myli;
   if (issub) { myli = eval("document.bullet_"+id); }
   else       { myli = eval("document.arrow_"+id); }
   if (!myli) return;

   if (issub) {
      if (force) {
         myli.src = bulletArray[1].src;
      } else {
         if (myli.src.indexOf("minus") >=0) myli.src = bulletArray[0].src;
         else if (myli.src.indexOf("plus") >=0) myli.src = bulletArray[1].src;
      }
   } else {
      if (force) {
         myli.src = arrowArray[0].src;
      } else {
         if (myli.src.indexOf("close") >=0) myli.src = arrowArray[0].src;
         else if (myli.src.indexOf("open") >=0) myli.src = arrowArray[1].src;
      }
   }
}
function unavSectionT(id,issub,force) {
   unavArrowT(id,issub,force);
   var mye;

   if (document.getElementById) {
      mye = document.getElementById("s"+id);
   } else if (document.all) {
      mye = eval("document.all.s"+id);
   }
   if (!mye) return;

   if (force) {
      mye.style.display = "";
   } else {
      if (mye.style.display.indexOf("none") >=0)  mye.style.display = "";
      else if (mye.style.display == "")  mye.style.display = "none";
   }
   ucalClose();
}

function unavSelectDash() {
   var mye=document.getElementById("unavdash");
   if (!mye) return;
   id = mye.options[mye.selectedIndex].id;

   unavSectionT(2000,0,1);

   for (var ii=0;ii<10;ii++) {
      mye=null;
      if (document.getElementById) {
         mye = document.getElementById("db"+(2000+(ii*100)));
      } else if (document.all) {
         mye = eval("document.all.db"+(2000+(ii*100)));
      }
      if (!mye) continue;
      if ((2000+(ii*100)) == id) {
        mye.style.display = "";
      } else {
        mye.style.display = "none";
      }
   }
}
function unavHighlightT(id,color) {
   var mye,mye2,mye3;
   if (document.getElementById) {
     mye  = document.getElementById("r|"+id);
     mye3 = document.getElementById("i|"+id);
   } else if (document.all) {
     mye  = eval("document.all.r|"+id);
     mye3 = document.getElementById("i|"+id);
   }

   mye2 = eval("document.arrow_"+id);
   if (!mye) return;

   if (color) {
      mye.style.backgroundColor = color;
      mye3.style.textDecoration = "underline";
   } else {
      mye.style.backgroundColor = "";
      mye3.style.textDecoration = "none";
   }
}
function unavHL2(mye,toggle,color) {
   if (!mye) return;

   if (mye.id.indexOf("|"+urconf.id) >= 0) {
      mye.style.backgroundColor = color;
      mye.style.textDecoration = "";
     return;
   }
   if (toggle) { 
      mye.style.backgroundColor = '#efbf37';
      mye.style.textDecoration = "none";
   } else {
      mye.style.backgroundColor = "#efbf37";
      mye.style.textDecoration = "none";
   }
}


function unavToggle(id,color,close,reset,sreport,ux) {
   var mye=null;
   if (!id || id == "") return;
   if (color) unavSelectItem(id,color);
   if (sreport == 7) {
      if (!ucal_comp) ucalToggleComp(0,1,0,0);
   } else {
      if (color) ucalToggleComp(1,0,0,0);
   }

   if (reset == 1) { 
      urconf.level = 0; urconf.token = ""; 
      urconf.csort      = 1;
      urconf.gcol = 1;
   
      urconf.sortfield1 = 2;
      urconf.sortby1    = 1;
      urconf.ftype1     = 2;
      urconf.filter1    = "";
      urconf.start1     = 0;
   
      urconf.sortfield2 = 2;
      urconf.sortby2    = 1;
      urconf.ftype2     = 2;
      urconf.filter2    = "";
      urconf.start2     = 0;

      if ((mye=document.getElementById("ur_cdatafilter")) != null) mye.value = "";
      if ((mye=document.getElementById("ur_cdatafilter2")) != null) mye.value = "";
      if ((mye=document.getElementById("ur_cdatafilter3")) != null) mye.value = "";
      if ((mye=document.getElementById("ur_goalid2")) != null) mye.selectedIndex = 0;
      if ((mye=document.getElementById("ur_goalid"))  != null) mye.selectedIndex = 0;
      urconf.goalc = 0;
      if (mye.options[mye.selectedIndex]) { gid = mye.options[mye.selectedIndex].value; }
      if (sreport == 3) { urconf.sortfield2 = 1; urconf.sortby2 = 2; }
      if (sreport == 4 && urconf.show1 < 25)  { urconf.show1 = 25; }
      if (sreport == 5 && urconf.show1 < 100) { urconf.show1 = 100; }
   }

   if (reset || (ucal_trigger && urctc.didx)) {
      urctc.start1 = 0;
      urctc.show1 = 100;
      urctc.level = 0;
      urctc.token = "";
      urctc.didx = 0;
      urctc.cscount = 100000;
      urctc.nrecs = 0;
   }

   var date_type = ucal_dtc;
   if (!ucal_dtc) {
      if (ucal_dtype == 1) date_type = 3;
      else if (ucal_dtype == 2) date_type = 2;
      else if (ucal_dtype == 3) date_type = 2;
      else if (ucal_dtype == 4) date_type = 1;
      else                      date_type = 2;
   }
   if (ucal_dtype != 5) ucal_dow = 0;

   var mytoken = encodeURIComponent(urconf.token);
   mytoken = mytoken.replace(/\+/g,"%2B");

   var newsearch = "";
   var query = "&vid="+id+"&bd="+ucal_bdate.date+"&ed="+ucal_edate.date;
   if (ucal_comp)     query += "&bd2="+ucal2_bdate.date+"&ed2="+ucal2_edate.date+"&dow2="+ucal2_dow;
   if (urconf && urconf.level)  query += "&lv="+urconf.level+"&qt="+mytoken;


   if (urdsets[0] && (urdsets[0].rtype == 13 || urdsets[0].rtype == 14))  query += "&gc="+urconf.goalc;
   if (urdsets[0] && urdsets[0].rtype == 10) query += "&qt="+gid;
   query    += "&dow="+ucal_dow+"&dt="+ucal_dtype+"&dtc="+date_type+"&dcomp="+ucal_comp;

   if (ux) {
      if (ux == 1 || ux == 7 || (ux == 3 && isIE)) {
         var cwin = window.open('','uwinexport','scrollbars=yes,menubar=yes,width=750,height=550,resizable=yes');
         cwin.location.href = urconf.baseurl+query+"&xd=1&x="+ux;
         cwin.focus();
      } else {
         location.href = urconf.baseurl+query+"&xd=1&x="+ux;
      }
   } else {
      urconf.id = id;
      window.uc_connect.location.href = urconf.baseurl+query+"&xd=1";
      unavOptClose(unav_copt);
      urClosePopup();
      ucalClose();
      if (isNav && !isSaf) { 
         if ((mye=document.getElementById("ur_help")) == null) return;
         mye.style.width = "550px";
      }
   }
   ucal_trigger = 0;
}
function ucalClose() {
   if (!ucal_isopen) return;
   ucal_isclosing=1;
   var mye;
   if ((mye = document.getElementById("ucal_pop")) == null) reutrn ;

   ucal_cpwidth = 270;
   ucal_cpheight = 150;
   ucal_timer = setInterval("ucalAnimateClose()",10);

   ucal_isopen=0;
}
-->