//POPUP REDIRECT
function popupRedirect()
{
    parent.parent.location.reload(false);
}

function clickclear(thisfield, defaulttext)
{
    if (thisfield.value == defaulttext)
    {
        thisfield.value = "";
    }
}
function clickrecall(thisfield, defaulttext)
{
    if (thisfield.value == "")
    {
        thisfield.value = defaulttext;
    }
}

function open_url(href, target)
{
    if(target)
    {
        var newWindow = window.open(href, target);
        newWindow.focus();
    }
    else
    {
        window.location = href;
    }
    return false;
}
