
var baseUrl  ; 

function SetCorrectUrl(string)
{
   baseUrl = string ; 
}
    
function ReplaceUrl(str)
{   
    document.location = baseUrl + str;
}

function OpenUrl(newLocation)
{
    window.parent.location.href = newLocation;
}