function showEmail(address)
{
   window.navigate("mailto:" + address + "@" + getDomain() + "." + getLevelDomain());
}

function getDomain()
{
    return "ne-thing";
}

function getLevelDomain()
{
    return "co.uk";
}

function ShowProducts(navbar,mouseEvent)
{
    var productsDiv = GetProductsDiv();
    
    if(navbar && null != productsDiv)
    {
        var x;
        var y;
        if(window.event)
        {
            x = event.x;
            y = event.y;
        }
        else
        {
            x = mouseEvent.clientX; 
            y = mouseEvent.clientY;
        }
        productsDiv.style.left = x + "px";
        productsDiv.style.top = (y - 5) + "px";
    }
    
    if(null != productsDiv)
    {
        productsDiv.style.visibility="visible";    
    }
}

function HideProducts()
{
    var productsDiv = GetProductsDiv();
    if(null != productsDiv)
    {
        productsDiv.style.visibility="hidden";
    }
}

function GetProductsDiv()
{
    var result = null;
    
    if (document.getElementById)
    {
        result = document.getElementById("Products");
    }
    else
    {
        result = document.all["Products"];
    }
    
    return result;
}

function ShowClock()
{
	var Digital=new Date();
	var hours=Digital.getHours();
	var minutes=Digital.getMinutes();
	var seconds=Digital.getSeconds();

	if (hours==0)
		hours=12;

	if (minutes<=9)
		minutes="0"+minutes;

	if (seconds<=9)
		seconds="0"+seconds;
	
	var ctime=hours+":"+minutes+":"+seconds;
	var oClock = document.getElementById("spClock");
	oClock.innerHTML="&nbsp;" + ctime;
	setTimeout("ShowClock()",1000);
}
