document.writeln("<form onsubmit=\"return(CheckInput(form))\" id=\"form\" name=\"form\" method=\"post\" action=\"http://www.shibang-china.com/MessageBoard/booksavefr.asp\">");
document.writeln("        <table id=\"buymsg\">");
document.writeln("          <tr>");
document.writeln("            <td><strong>S\'il vous plaît remplir ce formulaire et nous vous contacterons bientôt</strong></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td ><span>E-mail :</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <input onblur=\"this.className=\'m_on\'; onfocus=\"this.className=\'m_off\';  id=\"Email\" class=\"m_on\" name=\"Email\" type=\"text\"></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td><span>Pays :</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <input name=\"State\" class=\"m_on\" type=\"text\" id=\"State\"></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td><span>Message:</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <textarea onblur=\"this.className=\'m_on\'\" onfocus=\"this.className=\'m_off\'\" id=\"content\"  class=\"m_on\" name=\"Content\"></textarea>");
document.writeln("              <input type=\"hidden\" id=\"url_str\" name=\"url_str\"  ></td>");
document.writeln("          </tr>");
document.writeln("        </table>");
document.writeln("        <p id=\"table_line\"><img src=\"images/message_line.jpg\"></p>");
document.writeln("        <table id=\"buymsg\">");
document.writeln("          <tr>");
document.writeln("            <td align=\"right\";><input value=\"Envoyer \" id=\"submit\"  name=\"submit\" type=\"submit\"></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td><span>Nom :</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <input onblur=\"this.className=\'m_on\' ; onfocus=\"this.className=\'m_off\'; class=\"m_on\"  name=\"name\" type=\"text\" /></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td><span>Tél :</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <input  onblur=\"this.className=\'m_on\' ; onfocus=\"this.className=\'m_off\'; id=\"Tel\" class=\"m_off\" name=\"tel\" type=\"text\" /></td>");
document.writeln("          </tr>");
document.writeln("          <tr>");
document.writeln("            <td><span>Société :</span> <img src=\"images/messagebg.jpg\" />");
document.writeln("              <textarea onblur=\"this.className=\'m_on\' ; onfocus=\"this.className=\'m_off\';id=\"Company\" class=\"m_on\" name=\"company\" type=\"text\" ></textarea></td>");
document.writeln("          </tr>");
document.writeln("        </table>");
document.writeln("        <p id=\"table_line\"><img src=\"images/message_line.jpg\"></p>");
document.writeln("      </form>");
document.getElementById("url_str").value=window.location;
		  function is_number(str)
{
	exp=/[^0-9()-]/g;
	if(str.search(exp) != -1)
	{
		return false;
	}
	return true;
}
function is_email(str)
{ if((str.indexOf("@")==-1)||(str.indexOf(".")==-1))
{
	
	return false;
	}
	return true;
}
 
function CheckInput(form){
	
	if(!is_email(form.Email.value))
	{ alert("Précisez un adresse électrique valide.");
		form.Email.focus();
	return false;
	}	
	
	if((form.content.value=='')||(form.content.value=='entrez votre Message')){
		alert("entrez votre Message!");
		form.content.focus();
		return false;
	}
	if(form.content.value.length>5000){
		alert("Le message ne peut pas dépasser 5000 caractères!");
		form.content.focus();
		return false;
	}
 
	if(form.name.value.length>100){
		alert("Le nom ne peut pas dépasser 100 caractère!");
		form.name.focus();
		return false;
	}
 
	return true;
}
document.writeln("<a  target=\"_blank\" href=\"https://server.iad.liveperson.net/hc/61309585/?cmd=file&file=visitorWantsToChat&site=61309585&byhref=1");
document.writeln("\">");
document.writeln("<img  width=\"111\" height=\"81\" src=\"http://www.crible-vibrant.com/images/chat.jpg\" id=\"chat_bottom\"></a>");

