function trim(str)
{
    return str.replace(/^\s*|\s*$/g,"");
}          
          
var msgError = ''

function goToUrl(url){
    document.location.href = url
}




