if(window.parent.length!=0) {window.top.location.replace(document.location.href);}
var date_exp = new Date (); //aujourd'hui
date_exp.setTime (date_exp.getTime() + (100 * 24 * 60 * 60 * 1000));

var erase = false;

function m_devis(ci) {document.write('<form id="comptable" name="comptable" method="post" action="https://asp.itool.net/auth/desk" onSubmit="return check(this)">');}
function m_devis2(ci) {document.write('<input type="hidden" name="logout" value="http://' + location.host + '"><input type="hidden" name="error" value="http://' + location.host + '/"><input type="text" name="login" id="login" value="identifiant" class="log" onClick="this.value=\'\'" style="background-color:#f1f1f1;"> <input name="pass" type="password" id="pass" value="entreprise" class="log" onClick="this.value=\'\'" style="background-color:#f1f1f1;"> <input value="s\'identifier >>" type="submit" class="log" style="background-color:#d7d7d7;"></form>');}

function m_util(ci) {document.write('<a href="http://' + location.host + '/expertise-comptable/honoraires-comptables.php');
if (ci !="") {document.write('?ci=' + ci);}
document.write('" class="bob1"><!--img src="http://' + location.host + '/comptabilite-en-ligne/i/mon-devis.gif" alt="MON DEVIS COMPTABLE" ></a--><a href="http://' + location.host + '/comptabilite-en-ligne/comptabilite-en-ligne.php');
if (ci !="") {document.write('?ci=' + ci);}
document.write('" class="bob2"><!--img src="http://' + location.host + '/comptabilite-en-ligne/i/la-demo.gif" alt="MA DEMO"--></a>');}

function courriel() {document.write('<a href="mailto:mon@' + location.host + '">@</a>');}

function printpage(nom_repertoire,nom_blog,blog) {

if (blog == 1) {
document.write('<a href="' + nom_repertoire + '/' + nom_blog + '" target="_blank">Blog Moi !</a>');
}

document.write('<a href=\"javascript:comptable_en_ligne_(-2);\">-</a> <a href=\"javascript:comptable_en_ligne_(2);\">+</a>');}

function LitCookie2(nom) {var mon_cookie = document.cookie;
var debut = mon_cookie.indexOf(nom+"=");
var taille = debut + nom.length + 1;
if ((!debut) && (nom != mon_cookie.substring(0,nom.length))) return null;
if (debut == -1) return null;
var fin = mon_cookie.indexOf(";",taille);
if (fin == -1) fin = mon_cookie.length;
return unescape(mon_cookie.substring(taille, fin));}
function LitCookie(nom) {var i = 0;
 var j = 0;
 var tot = 11;
 var debutActivite = 0;
 var ecart = 0;
 var test = "";
 var donnees = document.cookie;
 var cookieLenMax = donnees.lengh;      
   while ((i < cookieLenMax) || (j==12))
   {
   if (donnees.charAt(i)==":") {
     j=j+1;
   var ecart = i;
    }
   i=i+1;
   }
   debutActivite = i - ecart;
   return unescape(donnees.substring(debutActivite,debutActivite + ecart));
   alert(debutActivite);
   alert(ecart);
   test=unescape(donnees.substring(debutActivite,debutActivite + ecart));
   alert(test);}

function EcritCookie(nom, valeur, expire, chemin, domaine, secure)
{document.cookie = nom+"="+escape(valeur) + ( (expire) ? ";expires=" +
expire.toGMTString() : "") + ( (chemin) ? ";path="+chemin : "") + ( (domaine) ? ";domain="+
domaine : "") + ( (secure) ? ";secure" : "");}

function effacer_profil() //appelée par le clic sur le bouton
{date=new Date;
date.setFullYear(date.getFullYear()-1);
EcritCookie("chooky",null,date,"/"); 
history.go(0);} 

function sauvegarder_profil() //appelée par le clic sur le bouton
{EcritCookie("chooky",document.form1.activite.value,date_exp,"/");
history.go(0);}

function sauvegarder_profil_devis() //appelée par le clic sur le bouton
{EcritCookie("chooky",document.devis.activite.value,date_exp,"/");}

function operation(form) {
if (form.nom.value=='')
{form.nom.focus();
alert('Veuillez vérifier votre nom'); 
return false;}
if (form.telephone.value.indexOf(" ") != -1 || form.telephone.value.indexOf(".") != -1 || form.telephone.value=='' || form.telephone.value.length!=10 || form.telephone.value.charAt("0") == " " || form.telephone.value.charAt("0") != "0" || form.telephone.value.charAt("1") == "0")
{ form.telephone.focus();
alert('Veuillez vérifier votre numéro de téléphone'); return false;}
	testm = false ;
	 for (var j=1 ; j<(form.email.value.length) ; j++) {
	 if (form.email.value.charAt(j)=='@') {
	  if (j<(form.email.value.length-4)){
	  for (var k=j ; k<(form.email.value.length-2) ; k++) {
	   if (form.email.value.charAt(k)=='.') testm = true;
	  }}}}
	if (testm==false || form.email.value.indexOf(" ") != -1) 
	{ }
if(form.contacte.checked)
{}
else
{alert("Si vous souhaitez être contacté par un conseiller, \n veuillez cocher la case \"Contact par un conseiller\"");
form.contacte.focus();return false;}
form.form_valid.value="oui" ;}

function check(form) {
if (form.login.value=='')
{form.login.focus();
alert('Vous n\'avez pas saisi votre Identifiant'); 
return false;}
if (form.pass.value=='')
{form.pass.focus();
alert('Vous n\'avez pas saisi votre Mot de Passe'); 
return false;}}

function ejs_nodroit()
	{return(false);}
document.oncontextmenu = ejs_nodroit;
var z=13;
function comptable_en_ligne_(d)
{var li;
 if (10<z+d&&z+d<16)
 { for(var i=0; li=document.getElementsByTagName("link")[i]; i++) 
  {if(li.getAttribute("rel").indexOf("style") != -1 && li.getAttribute("title")) 
   {if(li.getAttribute("title").indexOf("c_en_ligne") !=-1) li.disabled = true;
	if (li.getAttribute("title").indexOf(z+d)>-1)li.disabled = false;}}
  z=z+d;}}

function comptable_(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=3; i++) {
		if (document.getElementById('mon_comptable_'+i)) {document.getElementById('mon_comptable_'+i).style.display='none';}}
if (d) {d.style.display='block';

if (id == "mon_comptable_1") {d.style.background='#780033';}
else if (id == "mon_comptable_2") {d.style.background='#780098';}
else if (id == "mon_comptable_3") {d.style.background='#f38a00';}}
}

function Is() {var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
this.ns4 = (this.ns && (this.major >= 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie = (agent.indexOf("msie") != -1);
this.ie4 = (this.ie && (this.major >= 4));
this.ie5 = (this.ie && (agent.indexOf("msie 5")!=-1));
this.op3 = (agent.indexOf("opera") != -1);
this.win = (agent.indexOf("win")!=-1);
this.mac = (agent.indexOf("mac")!=-1);
this.unix = (agent.indexOf("x11")!=-1);}
var is = new Is();

function comptable_comptabilite(url,titre) {var contenu = "";
contenu += "<a href=\"#\" onClick=\"addcomptable(url,titre);\"><img src='http://www.comptable-en-ligne.fr/expertise-comptable/i/comptabilite.gif' height='15' width='17' alt=' " + titre + "'></a>";
document.write(contenu);}

function addcomptable(url,titre) {  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {window.sidebar.addPanel(titre, url, "");} else if (is.ie) {window.external.AddFavorite(url, titre);} else {
alert("Pour ajouter 'titre' à vos signets, utilisez <CTRL>+D.");}
return true;}

function mon_chat() {document.write('<div id="comptables_en_ligne1"><center><object type="application/x-shockwave-flash" id="plugoo" data= "http://www.plugoo.com/plug.swf?go=G70SI79DBA8LQFS&nickname=Entrez votre nom&msg=Posez votre question&topic=titre du message" width="345" height="310"><param name="movie" value= "http://www.plugoo.com/plug.swf?go=G70SI79DBA8LQFS&nickname=Entrez votre nom ici&msg=Posez votre question ici&topic=titre du message" /> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> </object></center></div>');}

function charge_image(){var i21 = new Image();
i21.src='http://"+location.host+"/comptabilite-en-ligne/i/21.jpg';
/*var i23 = new Image();
i23.src='http://"+location.host+"/comptabilite-en-ligne/i/23.jpg';*/

var i12 = new Image();
i12.src='http://"+location.host+"/comptabilite-en-ligne/i/12.jpg';/*
var i13 = new Image();
i13.src='http://"+location.host+"/comptabilite-en-ligne/i/13.jpg';*/

var i31 = new Image();
i31.src='http://"+location.host+"/comptabilite-en-ligne/i/31.jpg';/*
var i32 = new Image();
i32.src='http://"+location.host+"/comptabilite-en-ligne/i/32.jpg';*/

var i1 = new Image();
i1.src='http://"+location.host+"/comptabilite-en-ligne/i/1.gif';
var i1a = new Image();
i1a.src='http://"+location.host+"/comptabilite-en-ligne/i/1a.gif';
var i2 = new Image();
i2.src='http://"+location.host+"/comptabilite-en-ligne/i/2.gif';
var i2a = new Image();
i2a.src='http://"+location.host+"/comptabilite-en-ligne/i/2a.gif';
var i3 = new Image();
i3.src='http://"+location.host+"/comptabilite-en-ligne/i/3.gif';
var i3a = new Image();
i3a.src='http://"+location.host+"/comptabilite-en-ligne/i/3a.jpg';
var next = new Image();
next.src='http://"+location.host+"/comptabilite-en-ligne/i/next.png';
var back = new Image();
back.src='http://"+location.host+"/comptabilite-en-ligne/i/back.png';
}

charge_image();

function change_div_affich(div,ch) {

/*if(navigator.appName == "Microsoft Internet Explorer") {nie = 0;} else {*/nie = 4200;/*}*/

imglink = "http://"+location.host+"/comptabilite-en-ligne/i/";
paramflash = "<param name='quality' value='best'><param name='wmode' value='transparent'><param name='allowScriptAccess' value='sameDomain'><param name='loop' value='false'><param name='bgcolor' value='#ffffff'><param name='allowFullScreen' value='false'></object>";

imglinkenter = "<iframe src='javascript:false' style='position: absolute;margin-top:180px;display:none;width:180px;height:31px;z-index: 5;' id='iframe' frameborder='0' scrolling='no'></iframe><div style='position: absolute;margin-top:180px;z-index:10;display:block;width:180px;height:31px;background:#fff;text-align:center;'><div id='navigation'>";

var div_affich = $("#p9").children(".d_i_f:visible").attr("id");
var tab_div_affich = div_affich.split("_");
div_affich = tab_div_affich[1];
$("#p9").children(".d_i_f:visible").css("display","none");
var bouton_id = $(div).attr("id");

if(div_affich == '31' && bouton_id == '-') {// de 1 vers 2

$("#p9").empty();

$("#p9").append("<div class='d_i_f' id='debut_12'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"12.swf' width='180' height='200'><param name='movie' value='"+imglink+"12.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_2").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#p9").children("#debut_12").delay(4000,function(){
$("#p9").children("#debut_12").hide();
$("#p9").append("<div class='d_i_f' id='debut_12'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_12'><img src='"+imglink+"21.jpg' alt=''></div></div>").fadeIn();
});
}
if(div_affich == '31' && bouton_id == '+') {// de 1 vers 3
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_13'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"13.swf' width='180' height='200'><param name='movie' value='"+imglink+"13.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_3").fadeIn(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_13").delay(4000,function(){
$("#p9").children("#debut_13").hide();
$("#p9").append("<div class='d_i_f' id='debut_13'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_13'><img src='"+imglink+"31.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '12' && bouton_id == '-') {// de 2 vers 1
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_21'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"21.swf' width='180' height='200'><param name='movie' value='"+imglink+"21.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_1").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_21").delay(4000,function(){
$("#p9").children("#debut_21").hide();
$("#p9").append("<div class='d_i_f' id='debut_21'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_21'><img src='"+imglink+"12.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '12' && bouton_id == '+') {// de 2 vers 3
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_23'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"23.swf' width='180' height='200'><param name='movie' value='"+imglink+"23.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_3").fadeIn(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_23").delay(4000,function(){
$("#p9").children("#debut_23").hide();
$("#p9").append("<div class='d_i_f' id='debut_23'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_23'><img src='"+imglink+"31.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '13' && bouton_id == '-') {// de 3 vers 1
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_31'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"31.swf' width='180' height='200'><param name='movie' value='"+imglink+"31.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_1").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_31").delay(4000,function(){
$("#p9").children("#debut_31").hide();
$("#p9").append("<div class='d_i_f' id='debut_31'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_31'><img src='"+imglink+"12.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '13' && bouton_id == '+') {// de 3 vers 2
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_32'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"32.swf' width='180' height='200'><param name='movie' value='"+imglink+"32.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_2").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#p9").children("#debut_32").delay(4000,function(){
$("#p9").children("#debut_32").hide();
$("#p9").append("<div class='d_i_f' id='debut_32'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_32'><img src='"+imglink+"21.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '21' && bouton_id == '-') {// de 1 vers 2
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_12'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"12.swf' width='180' height='200'><param name='movie' value='"+imglink+"12.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_2").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#p9").children("#debut_12").delay(4000,function(){
$("#p9").children("#debut_12").hide();
$("#p9").append("<div class='d_i_f' id='debut_12'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_12'><img src='"+imglink+"21.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '21' && bouton_id == '+') {// de 1 vers 3
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_13'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"13.swf' width='180' height='200'><param name='movie' value='"+imglink+"13.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_3").fadeIn(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_13").delay(4000,function(){
$("#p9").append("").fadeIn("fast");
$("#p9").append("<div class='d_i_f' id='debut_13'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_13'><img src='"+imglink+"31.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '23' && bouton_id == '-') {// de 3 vers 1
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_31'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"31.swf' width='180' height='200'><param name='movie' value='"+imglink+"31.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_1").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_31").delay(4000,function(){
$("#p9").children("#debut_31").hide();
$("#p9").append("<div class='d_i_f' id='debut_31'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_31'><img src='"+imglink+"12.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '23' && bouton_id == '+') {// de 3 vers 2
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_32'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"32.swf' width='180' height='200'><param name='movie' value='"+imglink+"32.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_2").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#p9").children("#debut_32").delay(4000,function(){
$("#p9").children("#debut_32").hide();
$("#p9").append("<div class='d_i_f' id='debut_32'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_32'><img src='"+imglink+"21.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '32' && bouton_id == '-') {// de 2 vers 1
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_21'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"21.swf' width='180' height='200'><param name='movie' value='"+imglink+"21.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_1").fadeIn(nie);
$("#pp9").children("#"+ch+"_3").hide(nie);
$("#pp9").children("#"+ch+"_2").hide(nie);
$("#p9").children("#debut_21").delay(4000,function(){
$("#p9").children("#debut_21").hide();
$("#p9").append("<div class='d_i_f' id='debut_21'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"2.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"1a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_21'><img src='"+imglink+"12.jpg' alt=''></div></div>").fadeIn();
});}
if(div_affich == '32' && bouton_id == '+') {// de 2 vers 3
$("#p9").empty();
$("#p9").append("<div class='d_i_f' id='debut_23'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"2a.gif' alt=''><input type='image' src='"+imglink+"3.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><object type='application/x-shockwave-flash' data='"+imglink+"23.swf' width='180' height='200'><param name='movie' value='"+imglink+"23.swf'>"+paramflash+"</div>").fadeIn("normal"); 
$("#pp9").children("#"+ch+"_3").fadeIn(nie);
$("#pp9").children("#"+ch+"_1").hide(nie);
$("#pp9").children("#mon_comptablemon_comptable_2").hide(nie);
$("#p9").children("#debut_23").delay(4000,function(){
$("#p9").children("#debut_23").hide();
$("#p9").append("<div class='d_i_f' id='debut_23'>"+imglinkenter+"<input type='image' src='"+imglink+"back.png' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><input type='image' src='"+imglink+"1.gif' id='-' value='' onclick='change_div_affich(this,\""+ch+"\")' ><img src='"+imglink+"3a.gif' alt=''><input type='image' src='"+imglink+"2.gif' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'><input type='image' src='"+imglink+"next.png' id='+' value='' onclick='change_div_affich(this,\""+ch+"\")'></div></div><div id='fin_23'><img src='"+imglink+"31.jpg' alt=''></div></div>").fadeIn();
});}}


function test(id){/* <div id="mondevis" onMouseOver="test(this);"></div><div id="lademo"  onMouseOver="test(this);"></div>alert(id);*/
var id = $(id).attr("id");
/*alert(id); attr("src","http://www.comptable-en-ligne.fr/comptabilite-en-ligne/i/mon-devis-mouse.png")*/
$("#"+id).slideDown(1000);} 

/*if (navigator.appName == "Microsoft Internet Explorer") {var arrElements = new Array(3);
arrElements[0] = "applet";
arrElements[1] = "embed";
arrElements[2] = "object";
for (n = 0; n < arrElements.length; n++) {replaceObj = document.getElementsByTagName(arrElements[n]);
for (i = 0; i < replaceObj.length; i++ ) {alert( "i" + i);parentObj = replaceObj[i].parentNode;
newHTML = parentObj.innerHTML;
parentObj.removeChild(replaceObj[i]);
parentObj.innerHTML = newHTML;}}}*/
