<!--
/* Web Design and Programming by Cube Connection Ltd, Copyright 2001 - www.CubeConnection.co.uk */

function showdetail(obj_id) {
  my_obj = document.getElementById('info'+obj_id);
  my_expand_icon = document.getElementById('expand'+obj_id);
  
  if (my_obj.className=="showinfo") { 
    my_obj.className="hideinfo";
    my_expand_icon.src = "/images/icons/open.gif";
  } 
  else { 
    my_obj.className="showinfo";
    my_expand_icon.src = "/images/icons/close.gif";
  } 
}


function showemail(username, hostname, friendlyname, displaystyle) {
  var linktext;
  if (friendlyname == "")
    if (displaystyle == "") {
      linktext = username + "@" + hostname;
      document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + linktext + "</a>")
    }
    else {
      linktext = username + "@" + hostname;
      document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + " class='" + displaystyle + "'>" + linktext + "</a>")
    }
  else {
    if (displaystyle == "") {
      linktext = username + "@" + hostname;
      document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + friendlyname + "</a>")
    }
    else {
      linktext = username + "@" + hostname;
      document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + " class='" + displaystyle + "'>" + friendlyname + "</a>")
    }
  }
  return true;
}

function PopUp(theURL,winName,features) {
	window.open(theURL,winName,features);
}

//-->
