function openSpeedInfo(){
  if(document.getElementById){
    objSInfo = document.getElementById("speedinfotxt")
    if(objSInfo.style.visibility=="visible")
      objSInfo.style.visibility ="hidden"
    else
      objSInfo.style.visibility ="visible"
  }
}
function openImgWin(path,txt){
  window.open('/img.aspx?img='+path+'&imgtxt='+txt,'winImg','width=402px,height=400px,left=50,resizable=yes,scrollbars=yes')
}
function openSlideWin(folder){
  window.open('/slideshow.aspx?folder='+folder,'winImg','width=750px,height=620px,left=50,resizable=yes,scrollbars=yes')
}

function set_icon( el ){
  var pos = el.src.indexOf( "_over" );
  el.src = ( pos > -1 ) 
         ? el.src.substr( 0, pos ) + el.src.substr( el.src.lastIndexOf( "." ), el.src.length )
         : el.src.substr( 0, el.src.lastIndexOf( "." ) )+ "_over" + el.src.substr( el.src.lastIndexOf( "." ), el.src.length );
}

function setMenuImage( obj, img ){
  obj.src = img;
}

function setHeights(){
  if( !document.getElementById )
    return;
    
  var content = document.getElementById( "content" );
  var column = document.getElementById( "column" );
  conHeight = content.offsetHeight;
  colHeight = column .offsetHeight;

  height = conHeight > colHeight ? conHeight : colHeight;

  content.style.height = height + "px";
  column.style.height = height + "px";
}