// FONOVOICE.COM LLC JavaScript Todos los Derechos Reservados Copyright 2010
function fv(){
document.write("<span class=\"oncepuro\"><img src=\"http:\/\/www.fonovoice.com\/imgv5\/contacto.png\" alt=\"Contacto\" width=\"15\" height=\"17\" class=\"abc\" border=\"0\">&nbsp;&nbsp;<a href=\"http:\/\/www.fonovoice.com\/contacto\/\"title=\"Contactanos\">Contactanos<\/a>	&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"https:\/\/www.fonovoice.com\/panel\/\"title=\"Accesar a MY FONOVOICE\"><img src=\"http:\/\/www.fonovoice.com\/imgv5\/myfonovoice.png\" alt=\"Accesar a MY FONOVOICE\" width=\"100\" height=\"17\"border=\"0\" class=\"abc\"><\/a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>");
document.write("<script type=\"text\/javascript\" src=\"https:\/\/www.fonovoice.com\/chat\/image.php?v=PGEgaHJlZj1cImphdmFzY3JpcHQ6dm9pZCh3aW5kb3cub3BlbignaHR0cHM6Ly93d3cuZm9ub3ZvaWNlLmNvbS9jaGF0L2xpdmV6aWxsYS5waHAnLCcnLCd3aWR0aD01OTAsaGVpZ2h0PTU1MCxsZWZ0PTAsdG9wPTAscmVzaXphYmxlPXllcyxtZW51YmFyPW5vLGxvY2F0aW9uPXllcyxzdGF0dXM9eWVzLHNjcm9sbGJhcnM9eWVzJykpXCIgPCEtLWNsYXNzLS0-PjwhLS10ZXh0LS0-PC9hPjwhPlByZWd1bnRhcz8gQ2hhdCBlbiBWaXZvIChDb25lY3RhZG8pPCE-PCE-\"><\/script><noscript><a href=\"https:\/\/www.fonovoice.com\/chat\/livezilla.php\" target=\"_blank\">Preguntas? Chat en Vivo (Conectado)<\/a><\/noscript><div id=\"livezilla_tracking\" style=\"display:none\"><\/div><script type=\"text\/javascript\">var script = document.createElement(\"script\");script.type=\"text\/javascript\";var src = \"https:\/\/www.fonovoice.com\/chat\/server.php?request=track&output=jcrpt&nse=\"+Math.random();setTimeout(\"script.src=src;document.getElementById('livezilla_tracking').appendChild(script)\",1);<\/script> <\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
}
function carrito(){
	document.write("<img src=\"http:\/\/www.fonovoice.com\/imgv5\/carrito.png\" width=\"15\" height=\"17\"border=\"0\"class=\"abc\"> &nbsp;<a href=\"#\">Ver Carrito<\/a>");
}
function chat(){ 
document.write("	<div id=\"contact\"><span class=\"oncepuro\"><a href=\"#\">Chat en Vivo click aqui<\/a> <img src=\"http:\/\/www.fonovoice.com\/imgv5\/chat-listo.png\" width=\"25\" height=\"25\"border=\"0\" class=\"abc\"><\/span><\/div>");
}
function boletin(){
document.write(" <span class=\"oncenegro\">Yo quiero recibir promociones en mi email.<\/span> ");
document.write("						<form id=\"form_id2\" method=\"post\" action=\"..\/contacto\/boletin.php\" onsubmit=\"javascript:return validate('form_id2','mail');\">              					 ");
document.write("       				       	<input type=\"text\" name=\"mail\" class=\"myinput\" size=\"15\">");
document.write("       				        <br>							     				        ");
document.write("							<input type=\"submit\" name=\"button\" value=\"Registrarme\">");
document.write("	  <\/form> ");
	}
function dominio(){
document.write("<form action=\"https:\/\/www.fonovoice.com\/panel\/domainchecker.php\" method=\"post\">			");
document.write("			<input type=\"hidden\" name=\"token\" value=\"a157731817faec4468110df6adfa77cdaaca7cd7\" \/>");
document.write("			<input type=\"hidden\" name=\"direct\" value=\"true\">");
document.write("			<input type=\"text\" name=\"domain\" size=\"20\" class=\"myinput\">");
document.write("			<strong>. <\/strong>		  ");
document.write("			<select name=\"ext\" >");
document.write("				<option>.com<\/option>");
document.write("				<option>.net<\/option>");
document.write("				<option>.org<\/option>");
document.write("				<option>.biz<\/option>");
document.write("				<option>.info<\/option>");
document.write("				<option>.us<\/option>");
document.write("			<\/select>");
document.write("			&nbsp;");
document.write("			<input type=\"submit\" value=\"Buscar\" >");
document.write("		<\/form>");
	}
function contacto(){
document.write("	<div class=\"clasexosleft\"><br>");
document.write("	  <img src=\"http:\/\/www.fonovoice.com\/imgv5\/vivo45.png\" width=\"45\" height=\"35\"class=\"abc\">&nbsp; <span class=\"clasexostitulo\"> <a href=\"http:\/\/www.fonovoice.com\/contacto\/\">Contactanos<\/a> <\/span> <br><script type=\"text\/javascript\" src=\"https:\/\/www.fonovoice.com\/chat\/image.php?v=PGEgaHJlZj1cImphdmFzY3JpcHQ6dm9pZCh3aW5kb3cub3BlbignaHR0cHM6Ly93d3cuZm9ub3ZvaWNlLmNvbS9jaGF0L2xpdmV6aWxsYS5waHAnLCcnLCd3aWR0aD01OTAsaGVpZ2h0PTU1MCxsZWZ0PTAsdG9wPTAscmVzaXphYmxlPXllcyxtZW51YmFyPW5vLGxvY2F0aW9uPXllcyxzdGF0dXM9eWVzLHNjcm9sbGJhcnM9eWVzJykpXCIgPCEtLWNsYXNzLS0-PjwhLS10ZXh0LS0-PC9hPjwhPlByZWd1bnRhcz8gQ2hhdCBlbiBWaXZvIChDb25lY3RhZG8pPCE-PCE-\"><\/script><noscript><a href=\"https:\/\/www.fonovoice.com\/chat\/livezilla.php\" target=\"_blank\">Preguntas? Chat en Vivo (Conectado)<\/a><\/noscript><div id=\"livezilla_tracking\" style=\"display:none\"><\/div><script type=\"text\/javascript\">var script = document.createElement(\"script\");script.type=\"text\/javascript\";var src = \"https:\/\/www.fonovoice.com\/chat\/server.php?request=track&output=jcrpt&nse=\"+Math.random();setTimeout(\"script.src=src;document.getElementById('livezilla_tracking').appendChild(script)\",1);<\/script><\/div>");
	}
function formulariorapido (){
document.write("<div class=\"clasexos\"><img src=\"http:\/\/fonovoicehosting.com\/img2\/email2.png\" width=\"45\" height=\"35\" border=\"0\"class=\"abc\">&nbsp; <strong>Buzon<\/strong><br>");
document.write("	  		  <form name=\"formcheck\" method=\"post\" action=\"..\/contacto\/formulario.php\" onsubmit=\"return formCheck(this);\">              					 ");
document.write("						   <div align=\"right\">");
document.write("						     <ul style=\"list-style-type: none;margin: 0; padding: 0;\">");
document.write("						       <li style=\"margin:0px;\"><\/li>");
document.write("							    <li>");
document.write("					             <label><strong>Nombre: <\/strong><\/label>");
document.write("					             <input type=\"text\" name=\"nombre\" class=\"myinput\" size=\"15\">");
document.write("						       <\/li>");
document.write("						       <li> ");
document.write("					             <label><strong>Email: <\/strong><\/label>");
document.write("                                 <input type=\"text\" name=\"mail\" class=\"myinput\" size=\"15\">");
document.write("							   <\/li>");
document.write("							    <li style=\"margin:0px;\">");
document.write("							      <label><strong>Preguntas: <\/strong><\/label> <\/li>");
document.write("					               <li> <textarea name=\"texto\" cols=\"22\" rows=\"5\"><\/textarea>");
document.write("						       <\/li>");
document.write("							    <li>");
document.write("							      <input type=\"submit\" value=\"Enviar Mensaje\" >");
document.write("						       <\/li>							");
document.write("					         <\/ul>");
document.write("	        <\/div>");
document.write("		  <\/form>	<\/div>");
	}
function copyright(){
document.write("© 2010 FONOVOICE.COM LLC ");
}
function privacidad()
{
document.write("<a href=\"http:\/\/www.fonovoice.com\/terminos\/\">Terminos de Uso<\/a>");
}
// VALIDAR BOLETIN EMAIL
function validate(form_id2,mail) {
   var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   var address = document.forms[form_id2].elements[mail].value;
   if(reg.test(address) == false) {
      alert('Invalido Email');
      return false;
   }
}

function formCheck(formobj){
	// Enter name of mandatory fields
	var fieldRequired = Array("nombre", "mail", "texto");
	// Enter field description to appear in the dialog box
	var fieldDescription = Array("Nombre", "Email", "Preguntas o Comentarios");
	// dialog message
	var alertMsg = "Por favor completa el formulario faltan las siguientes lineas:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
			}
			if (obj.type == undefined){
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}

function avisogratis(){
document.write("<div class=\"empresasv\"><strong>Aviso Importante: <\/strong>A todos nuestros actuales clientes que son usuarios de hosting gratis FONOVOICE.COM  se les notifica lo siguiente: a partir de <strong>abril \/ 15 \/ 2010 <\/strong>su plan sera actualizado y monitoreado para cumplir los nuevos requisitos para hosting gratis, visibles en esta pagina en la parte de abajo. Mas info <a href=\"http:\/\/www.fonovoice.com\/contacto\/\">Contactanos<\/a> <\/div>");
}











