<!--
/*
Note: the tab lines also appear in common/fragments/tab_lines.php!
So if you make changes here, remember to update the other file.
*/

var tabLine = new Array();
var oldTabLine;
var oldColor;
var oldBgColor;

tabLine[0] = "Here you will find our news, forthcoming events, prices and how to contact us.";
tabLine[1] = "Learn about the many holistic therapies and treatments we are able to provide.";
tabLine[2] = "Learn about Angels, the Spirit World, Regression, the Afterlife, Tarot and more.";
tabLine[3] = "General Information, main chakras, sitemap, search facility and administration.";
tabLine[4] = "Here you can manage: Documents, Contacts, Messages, News, Events and Webmail.";

//  Break out of frames if necessary.
if (window != top) top.location.href = location.href;

function entertab(n)
{
    var obj = document.getElementById("tabline");

    if(obj)
    {
        oldTabLine = obj.innerHTML;
        obj.innerHTML = "<font color=\"#0099cc\">" + tabLine[n] + "</font>";
        
        obj = document.getElementById("tab" + n);
        var tab = (document.all) ? obj.style : obj;

        oldColor = tab.color;
        oldBgColor = tab.backgroundColor;

        tab.color = "#09c";
        tab.backgroundColor = "#fff";
    }
}
function leavetab(n)
{
    var obj = document.getElementById("tabline");
    
    if(obj)
    {
        obj.innerHTML = oldTabLine;
        
        obj = document.getElementById("tab" + n);
        var tab = (document.all) ? obj.style : obj;

        tab.color = oldColor;
        tab.backgroundColor = oldBgColor;
    }
}
function clearPrompt(obj)
{
    obj.value = "";
}
function setPrompt(obj, prompt)
{
    obj.value = prompt;
}
//-->

