function blockError(){return true;}
//window.onerror = blockError;

function CheckAll()



   {



      for (var i=0;i<document.moveform.elements.length;i++)



      {



         var e = document.moveform.elements[i];



         if (e.name != "allbox")



            e.checked = document.moveform.allbox.checked;



      }



   }


   function Check_All()
   {

    k = document.moveform.elements.length;


      for (var i=0;i<k;i++)
      {
         var e = document.moveform.elements[i];



                   if (e.name != "allbox")
                  {
                      e.checked = document.moveform.allbox.checked;

                      if (document.moveform.allbox.checked == true)
                      {
                        if (document.all['tbl_'+i] != null)  document.all['tbl_'+i].style.background =  "D0F2DE";

                      }
                      else
                      {

                  if (document.all['tbl_'+i] != null)
                                  {
                      var   a = document.getElementById('tbl_'+i+'-EBEBEB');

                     if (a)  document.getElementById('tbl_'+i).style.background='EBEBEB';
                             else document.getElementById('tbl_'+i).style.background='F4f4f4';


                                   }
                      }
                  }

     }

   
   }
      function ShowHide(id1, id2) {
          if (id1 != '') expMenu(id1);
          if (id2 != '') expMenu(id2);
        }

        function expMenu(id) {
          var itm = null;
          if (document.getElementById) {
                itm = document.getElementById(id);
          } else if (document.all){
                itm = document.all[id];
          } else if (document.layers){
                itm = document.layers[id];
          }

          if (!itm) {
           // do nothing
          }
          else if (itm.style) {
                if (itm.style.display == "none") { itm.style.display = ""; }
                else { itm.style.display = "none"; }
          }
          else { itm.visibility = "show"; }
        }



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




      function ShowHide(id1, id2) {
          if (id1 != '') expMenu(id1);
          if (id2 != '') expMenu(id2);
       }
      function expMenu(id) {
        var itm = null;

          if (document.getElementById) {
               itm = document.getElementById(id);
         } else if (document.all){
               itm = document.all[id];
         } else if (document.layers){
              itm = document.layers[id];
         }

          if (!itm) {

          }

         else if (itm.style) {

                if (itm.style.display == "none") { itm.style.display = ""; }
                else { itm.style.display = "none"; }
         }
         else { itm.visibility = "show"; }
        }



function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

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