function dohover(inthis) {
inthis.style.backgroundColor="#c1983f";
inthis.style.color="#FFFFFF";
}
function doout(inthis) {
inthis.style.backgroundColor="#FFFFFF";
inthis.style.color="#cccccc";
}

function dohover_in(inthis) {
inthis.style.backgroundColor="#c1983f";
inthis.style.color="#FFFFFF";
}
function doout_in(inthis) {
inthis.style.backgroundColor="#cccccc";
inthis.style.color="#ffffff";
}

function dohover_big(inthis) {
inthis.style.backgroundColor="#c1983f";
inthis.style.color="#FFFFFF";
}
function doout_big(inthis) {
inthis.style.backgroundColor="#cccccc";
inthis.style.color="#707070";
}


function AddToFavorites(obj, title, url){
  if(window.sidebar){
    // Mozilla Firefox Bookmark
    window.sidebar.addPanel(title, url,"");
    return false;
  } else if(window.external){
    // IE Favorite
    window.external.AddFavorite( url, title);
    return false;
  } else if(window.opera && window.print){
    //Opera Hotlist
    obj.setAttribute('href',url);
    obj.setAttribute('title',title);
    obj.setAttribute('rel','sidebar');
    obj.click();
    return false;
  }
}
function clickButton(e, buttonid){ 

          var evt = e ? e : window.event;

          var bt = document.getElementById(buttonid);

          if (bt){ 

              if (evt.keyCode == 13){ 

                    bt.click(); 

                    return false; 

              } 

          } 

        }
function toggle(box,theId) {
   if(document.getElementById) {
      var cell = document.getElementById(theId);
      if(box.checked) {
         cell.className = "on";
      }
      else {
         cell.className = "off";
      }
   }
}



