
function loguear(){document.getElementById("formul_login").submit();}
function mostrarComentarioSugerenciaViaje(){}
function enviarSugerenciaViaje(){document.getElementById("formsugviaje").submit();}
function aceptarSugerenciaViaje(){document.getElementById("accion").value="aceptar";document.getElementById("formgestsugviaje").submit();}
function rechazarSugerenciaViaje(){document.getElementById("accion").value="rechazar";document.getElementById("formgestsugviaje").submit();}
function mastardeSugerenciaViaje(){document.getElementById("accion").value="mastarde";document.getElementById("formgestsugviaje").submit();}
function eliminarViaje(path,locale){if(locale=="pt_BR"){a=window.confirm('Eliminar a viagem?');if(a==true){loadContent(path,1);}}else{a=window.confirm('Eliminar el viaje?');if(a==true){loadContent(path,1);}}}
function eliminarPool(path,locale){if(locale=="pt_BR"){a=window.confirm('eliminar a carona?');if(a==true){loadContent(path,1);}}else{a=window.confirm('eliminar el pool?');if(a==true){loadContent(path,1);}}}
function eliminarContacto(path,locale){if(locale=="pt_BR"){a=window.confirm('eliminar o contato?');if(a==true){loadContent(path,1);}}else{a=window.confirm('eliminar el contacto?');if(a==true){loadContent(path,1);}}}
function rechazarSugerenciaViaje(path,locale){if(locale=="pt_BR"){a=window.confirm('recusar o convite?');if(a==true){loadContent(path,1);}}else{a=window.confirm('rechazar la invitacion?');if(a==true){loadContent(path,1);}}}
function validarCamposCrearViaje(){}
function noModificarViaje(locale){if(locale=="pt_BR"){alert("Este viaje tiene un pool asociado, debe eliminar el o los pools asociados para poder modificarlo");}else{alert("Este viaje tiene un pool asociado, debe eliminar el o los pools asociados para poder modificarlo");}}
function noEliminarViaje(locale){if(locale=="pt_BR"){alert("Esta viagem tem uma carona asociada");}else{alert("Este viaje tiene un pool asociado");}}
function redirectUrl(url){window.location=url;}
function redirectHome(){window.location='http://www.viapool.com';}