function AjoutFavoris() {
  
siteURL = "http://www.1001soldes.fr/"
siteNOM = "1001soldes"
     
/*-- MESSAGE --*/
     function myMessage (raccourciClavier) {
         alert ("Utilisez '" + raccourciClavier + "'\npour ajouter " + siteNOM + " dans vos favoris !");
     }
     
  
     /*-- TRAITEMENT DES NAVIGATEURS --*/
  
     //Konqueror
     if (navigator.userAgent.indexOf('Konqueror') >= 0) {
     /*Test a effectuer avant tout les autres car repond TRUE aux differents tests sans pouvoir les exploiter*/
         myMessage("CTRL + B");
     }
     
     else if (window.external) {
         /* Internet Explorer 4+, et ses dérivés (Crazy Browser, Avent Browser ...) */
         window.external.AddFavorite(siteURL,siteNOM);
     }
  
     else if (document.all && (navigator.userAgent.indexOf('Win') < 0)) {
         /* Internet Explorer Mac */
         myMessage("POMME + D");
     }
     
     else if (window.opera && window.print) {
         /* Opera 6+ */
         myMessage("CTRL + T");
     }
     
     else if (window.sidebar) {
         /* Netscape 6+ ; Mozilla, FireFox et compagnie (K-Meleon ...) */
         window.sidebar.addPanel(siteNOM,siteURL,"");
     }
     
     else if (document.layers) {
         /* Netsccape 4 */
         myMessage("CTRL + D");
     }
     
     /*else alert ("Cette fonction n'est pas disponible pour votre navigateur.");*/
 }
function recommander()
{
var email= prompt('E-mail de votre ami(e) :',' ');
var sujet= "1001soldes.";
var message= "EXEMPLE DE MESSAGE : Salut, simplement pour te dire que tu peux aller visiter ce site il est sympa. !! http://www.1001soldes.fr/";
window.location="mailto:"+email+"?subject="+sujet+"&BODY="+message;
}
function AfficheHomePage()
{
if (document.all && document.getElementById)
{
document.write('<A HREF="#" onClick="HomePage(this);return(false);"><font color="blue" style="text-decoration:none">Faire de ce site ma page de Demarrage.</font></A><BR>');
}
}
function HomePage(obj)
{
obj.style.behavior='url(#default#homepage)';
obj.setHomePage('http://www.1001soldes.fr/');
}
function bannH()
{
codebann = new Array()
   
codebann[0] = '<a href="http://meilleur.mobile.free.fr" target="_blank"><img src="http://vacanceski.free.fr/Images/nokia.gif" border="0" width="468" height="60" alt="" align="middle"></a>';
codebann[1] = '<a href="http://clk.tradedoubler.com/click?p=44601&a=1278560&g=16403404" target="_blank"><img src="http://vacanceski.free.fr/Images/cdiscount_plasma.gif" border="0" width="468" height="60" alt="" align="middle"></a>';
codebann[2] = '<a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=418684569&friend_id=697784285&banniere_id=23591" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=418684569&friend_id=697784285&banniere_id=23591  border=0 alt=></a>';
codebann[3] = '<a href="http://promotion.fr.free.fr/maison..html"><img src="http://ad.zanox.com/ppv/?6385675C1368838865" align="bottom" width="468" height="60" border="0" hspace="1" alt="boutique 468-60.gif"></a>';
codebann[4] = '<<a href="http://tracker.affistats.com/mclick.php?id=a52940159b12878c346599480527e2f371g5h206085i1k83" target="_blank"><img border="0" src="http://www.debitel.fr/img-serv/fcn/2007-07-10-pack3tel/468x60.gif" width="468" height="60"></a>';
codebann[5] = '<a href="http://action.metaffiliation.com/suivi.php?mclic=S327343DC01913" target="_blank"><img src="http://action.metaffiliation.com/suivi.php?maff=S327343DC01913" border="0"></a>';
codebann[6] = '<a href="http://ad.zanox.com/ppc/?6623684C1471278512T"><img src="http://ad.zanox.com/ppv/?6623684C1471278512" align="bottom" width="468" height="60" border="0" hspace="1" alt="468x60 générique"></a>';
codebann[7] = '<a href="http://tracker.affistats.com/mclick.php?id=a52940159b12878c346599480527e2f371g5h206085i1k83" target="_blank"><img border="0" src="http://www.debitel.fr/img-serv/fcn/2007-01-15-n6131/db6_468x60.gif" width="468" height="60"></a>';	
codebann[8] = '<!-- BEGIN CODE NetAffiliation : http://www.netaffiliation.com/ - La Maison du Whisky --><a href="http://action.metaffiliation.com/suivi.php?mclic=S313242FC41130" target="_blank"><img src="http://action.metaffiliation.com/suivi.php?maff=S313242FC41130" border="0"></a>';
codebann[9] = '<a href="http://ad.zanox.com/ppc/?6625698C392709983T"><img src="http://ad.zanox.com/ppv/?6625698C392709983" align="bottom" width="468" height="60" border="0" hspace="1" alt="TSH-468x60_2_teleshopping.gif"></a>'; 
codebann[10] =	'<a href="http://tracker.affistats.com/mclick.php?id=a52940159b3480c346599480527e2f371g1h288338i1k83" target="_blank"><img border="0" src="http://www.marionnaud.fr/html/kitflashfirstcoffee/fcn_noel05/468x60_promo.gif" width="468" height="60"></a>';
codebann[11] = '<a href="http://ad.zanox.com/ppc/?6625699C667588945T"><img src="http://ad.zanox.com/ppv/?6625699C667588945" align="bottom" width="468" height="60" border="0" hspace="1" alt="468-60 destockage"></a>';
codebann[12] = '<a href="http://action.metaffiliation.com/suivi.php?mclic=S327345ED3193" target="_blank"><img src="http://action.metaffiliation.com/suivi.php?maff=S327345ED3193" border="0"></a>';

chiffre = parseInt(Math.random()*13);
code_html = codebann[chiffre];
changement = 10; // Temps en secondes avant la rotation
document.getElementById("banniere").innerHTML = code_html;
chiffre = parseInt(Math.random()*13); // 4 est le nombre de bannières différentes
window.setTimeout("bannH()", (changement*1000));
}

function bannb()
{
codebannb = new Array()
codebannb[0] = '<a href="<a href="http://tracker.affistats.com/mclick.php?id=a52940159b8704c346599480527e2f371g5h206085i1k83" target="_blank"><img border="0" src="http://www.debitel.fr/img-serv/fcn/2007-02-01-mapuce/db2_468x60.gif" width="468" height="60"></a>';
codebannb[1] ='<a href="../Images/betclic.html"><img src="http://action.metaffiliation.com/suivi.php?maff=S34C242FC4158" border="0"></a>';
codebannb[2] = '<a href="../Images/kingoloto.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=595948305&friend_id=863301604&banniere_id=20423  border=0 alt=></a><!--Code à insérer CibleClick : Grand concours Kingoloto.com -->'; 
codebannb[3]= '<a href="../Images/ConcoursMalin.html"><img src="http://action.metaffiliation.com/suivi.php?maff=S329742FC4131" border="0"></a>';
codebannb[4] = '<a href="../Images/Superloterie.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=1052748078&friend_id=863301604&banniere_id=5147  border=0 alt=></a>';
codebannb[5] = '<a href="../Images/Prizee.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=810635527&friend_id=863301604&banniere_id=19279  border=0 alt=></a>';
codebannb[6] = '<a href="../Images/Superloterie.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=1052748078&friend_id=863301604&banniere_id=11258  border=0 alt=></a>';
codebannb[7] = '<a href="../Images/MonsieurCasino.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=585479807&friend_id=863301604&banniere_id=6032  border=0 alt=></a>';
codebannb[8] = '<a href="../Images/Madwin.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=965900710&friend_id=863301604&banniere_id=5165  border=0 alt=></a>';
codebannb[9] = '<a href="../Images/Concours.html"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=644643340&friend_id=863301604&banniere_id=25620  border=0 alt=></a>'; 
chiffreb = parseInt(Math.random()*10);
code_htmlb = codebannb[chiffreb];
changement = 10; // Temps en secondes avant la rotation
document.getElementById("banniereb").innerHTML = code_htmlb;
chiffreb = parseInt(Math.random()*10); // 4 est le nombre de bannières différentes
window.setTimeout("bannb()", (changement*1000));
}
var text= " Idées de Cadeaux...Soldes ....Promotions...Réductions...Originalité ...Voyage... Argus....Promotions...DVD...Cinema...!!!" 
var speed = 150
var x = 0 
function bb() { 
var a = text.substring(0,x) 
var b = text.substring(x,x+1).toUpperCase() 
var c = text.substring(x+1,text.length) 
window.status = a + b + c 
if (x == text.length) { 
x = 0 
} 
else { 
x++ 
} 
setTimeout("bb()",speed) 
} 
bb();
var fois=0 
function fonct_form(form) {
resultat='<html>\n<title>Mail-formulaire</title>\n<head>\n</head>\n<body>\n<p align=\"center\">Votre programme de messagerie va etre utilise</p>';
monbody="de "+form.Email.value+" ** Code : "+form.Code.value+"";
resultat +="<form action=\"mailto:ideecadeaux@ifrance.com?subject=Free Carte Visite Wistiti="+monbody+"\" name=\"envoi\" method=POST >\n";
resultat +="<p align=\"center\"><input type=\"submit\" value=\"Envoyer\" name=\"Envoyer\"></p></form>"
resultat +="\n</body>\n</html>";
if (fois == 1 ) result.close();
result=open("","resultat","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=1, resizable=1, top=1, left=50, width=500, height=200");
result.document.write(resultat)
result.document.write('<p align="center" ><a href="javascript:window.close();">Fermer cette fenêtre</a></p>')
fois=1;
}
function bannm()
{
codebannm = new Array()
codebannm[0] = '<!--Code à insérer CibleClick : AB-Sejour.com --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=868657034&friend_id=863301604&banniere_id=17467" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=868657034&friend_id=863301604&banniere_id=17467  border=0 alt=></a>';
codebannm[1] ='<!--Code à insérer CibleClick : lastminute_loisirs --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=140856985&friend_id=863301604&banniere_id=24388" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=140856985&friend_id=863301604&banniere_id=24388  border=0 alt=></a>';
codebannm[2] = '<!--Code à insérer CibleClick : Expedia E-package --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=162058579&friend_id=863301604&banniere_id=15417" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=162058579&friend_id=863301604&banniere_id=15417  border=0 alt=></a>';  
codebannm[3] = '<!--Code à insérer CibleClick : Thalasseo.com --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=660237740&friend_id=863301604&banniere_id=23886" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=660237740&friend_id=863301604&banniere_id=23886  border=0 alt=></a>';  
codebannm[4] = '<!--Code à insérer CibleClick : ABCROISIERE.COM --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=1046132408&friend_id=863301604&banniere_id=11873" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=1046132408&friend_id=863301604&banniere_id=11873  border=0 alt=></a>';  
codebannm[5] = '<!--Code à insérer CibleClick : Anyway Vols + --><a href="http://www.cibleclick.com/cibles/clicks/symp.cfm?site_id=574125747&friend_id=863301604&banniere_id=26240" target="_blank"><img src=http://ad.cibleclick.com/cibles/banniere/symp.cfm?site_id=574125747&friend_id=863301604&banniere_id=26240  border=0 alt=></a>';  
codebannm[6] = '<a href="http://tracker.affistats.com/mclick.php?id=a44462207b9496c346599480527e2f371g1h736133i1k179" target="_blank"><img border="0" src="http://alpha.adi.fr/jeux/partirdiscount/468x60_v4.gif" width="468" height="60"></a>';  
codebannm[7] = '<a href="http://tracker.affistats.com/mclick.php?id=a44462207b6186c346599480527e2f371g1h277698i1k179" target="_blank"><img border="0" src="http://home.edt02.net/emc/banner/mstbo.php?c=14710-42493-1068-582-58853" width="468" height="60"></a>'; 

chiffrem = parseInt(Math.random()*8);
code_htmlm = codebannm[chiffrem];
changement = 10; // Temps en secondes avant la rotation
document.getElementById("bannierem").innerHTML = code_htmlm;
chiffreb = parseInt(Math.random()*8); // 4 est le nombre de bannières différentes
window.setTimeout("bannm()", (changement*1000));
}

function cacher_montrer() {
if(document.getElementById('coucou').style.visibility = 'hidden')
{
setTimeout("document.getElementById('coucou').style.visibility = 'visible';",1000);
}
else
{
setTimeout("document.getElementById('coucou').style.visibility = 'hidden';",1000);
}
}
setInterval("cacher_montrer();",2000)
