<!--
/* Web Design and Programming by Cube Connection Ltd, Copyright 2001 - www.CubeConnection.co.uk */

function processdetail(browse, obj) {
  if (document.getElementById(obj).style.display == 'none') {
    document.getElementById(obj).style.display='inline';
    document.getElementById(browse).src='../images/icons/close.gif';
  }
  else {
    document.getElementById(obj).style.display='none';
    document.getElementById(browse).src='../images/icons/open.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 fbclick() {
	var fburl = 'http://www.facebook.com/sharer.php?u=' + encodeURIComponent(document.location);
	window.open(fburl, 'Facebook Share', 'toolbar=0,status=0,width=626,height=436');
	return false;
}

//-->

