
function addEmail(s, a, d, t)
{
    m = s + '@' + a + '.' + d;
    if (typeof(t) == 'undefined') t = m;
    return '<a href="mailto:' + m + '">' + t + '</a>';
}

function showError(obj)
{
    alert(obj);
}

function OpenSupremeCMS(url)
{
    //tb_show("Supreme CMS",url + "?TB_iframe=true&height=" + (screen.height * 0.8) + "&width=" + (screen.width * 0.8) + "&modal=true" + parameters,false);
    
    tb_show("Supreme CMS",url + "TB_iframe=true&height=" + (screen.height * 0.8 ) + "&width=600&modal=true",false);
}

