function AddBookmark()
   { window.external.AddFavorite('http://www.declique.com/home.htm','Déclique') ;}

function AffPopup(page)
   { window.open(page,'_blank','left=160,top=200,height=160,width=500,scrollbars=false,scrolling=false') ;}

function GetCookie(nomCookie)
   {
   if (document.cookie == "") { return "" ;}

   nomCookie = nomCookie + "=";
   Deb = document.cookie.indexOf(nomCookie);
   if(Deb == -1)  { return "" ;}
       
   Deb += nomCookie.length;
   Fin = document.cookie.indexOf(";", Deb);
   if (Fin == -1) {Fin = document.cookie.length}
   return unescape(document.cookie.substring(Deb, Fin))
   }


function SetCookie(nomCookie, valCookie)
   { document.cookie = nomCookie + "=" + escape(valCookie) ;}


function LienMailTo(TexteLien)
	{
	Prot = "mailto" + String.fromCharCode(58);
	Mail = "planning" + String.fromCharCode(64) + "declique" + String.fromCharCode(46) + "com";
	Params = "?Subject=Message depuis site Declique";
	document.write('<a href="' + Prot + Mail + Params + '">' + TexteLien + '</a>');
	}

function EnvoyerMail()
	{
	Protocole = "mailto" + String.fromCharCode(58);
	Mail = "planning" + String.fromCharCode(64) + "declique" + String.fromCharCode(46) + "com";
	Params = "?Subject=Message depuis site Declique";
	window.location = Protocole + Mail + Params ;
	}

function Detailler()
   { document.getElementsByTagName("link")[1].href="http://www.declique.com/cours/plans_detailles.css" ;}

function Resumer()   
   { document.getElementsByTagName("link")[1].href="http://www.declique.com/cours/plans_resumes.css" ;}
