{

	infoOn = new Image()
	infoOn.src ="http://www.systeme-analyse-boursier.com/images/INFO1_ON.PNG"
	infoOff = new Image()
	infoOff.src ="http://www.systeme-analyse-boursier.com/images/INFO1.PNG"
	
	produitOn = new Image()
	produitOn.src ="http://www.systeme-analyse-boursier.com/images/PRODUIT_ON.PNG"
	produitOff = new Image()
	produitOff.src ="http://www.systeme-analyse-boursier.com/images/PRODUIT.PNG"

    productOn = new Image()
	productOn.src ="http://www.systeme-analyse-boursier.com/images/PRODUCT_ON.PNG"
	productOff = new Image()
	productOff.src ="http://www.systeme-analyse-boursier.com/images/PRODUCT.PNG"

	
	sslOn = new Image()
	sslOn.src ="http://www.systeme-analyse-boursier.com/images/ABONNEMENT_ON.PNG"
	sslOff = new Image()
	sslOff.src ="http://www.systeme-analyse-boursier.com/images/ABONNEMENT.PNG"
	
    subscriptOn = new Image()
    subscriptOn.src ="http://www.systeme-analyse-boursier.com/images/SUBSCRIPTION_ON.PNG"
    subscriptOff = new Image()
    subscriptOff.src ="http://www.systeme-analyse-boursier.com/images/SUBSCRIPTION.PNG"

    
	accessOn = new Image()
	accessOn.src ="http://www.systeme-analyse-boursier.com/images/HISTEMAIL_ON.PNG"
	accessOff = new Image()
	accessOff.src ="http://www.systeme-analyse-boursier.com/images/HISTEMAIL.PNG"
	
    historicemailOn = new Image()
    historicemailOn.src ="http://www.systeme-analyse-boursier.com/images/HISTORICEMAIL_ON.PNG"
    historicemailOff = new Image()
    historicemailOff.src ="http://www.systeme-analyse-boursier.com/images/HISTORICEMAIL.PNG"


	contactOn = new Image()
	contactOn.src ="http://www.systeme-analyse-boursier.com/images/CONTACTS_ON.PNG"
	contactOff = new Image()
	contactOff.src ="http://www.systeme-analyse-boursier.com/images/CONTACTS.PNG"

    contactusOn = new Image()
    contactusOn.src ="http://www.systeme-analyse-boursier.com/images/CONTACTUS_ON.PNG"
    contactusOff = new Image()
    contactusOff.src ="http://www.systeme-analyse-boursier.com/images/CONTACTUS.PNG"
    

    dividendeOn = new Image()
	dividendeOn.src ="http://www.systeme-analyse-boursier.com/images/DIVIDENDE_ON.PNG"
	dividendeOff = new Image()
	dividendeOff.src ="http://www.systeme-analyse-boursier.com/images/DIVIDENDE.PNG"

    dividendOn = new Image()
    dividendOn.src ="http://www.systeme-analyse-boursier.com/images/DIVIDEND_ON.PNG"
    dividendOff = new Image()
    dividendOff.src ="http://www.systeme-analyse-boursier.com/images/DIVIDEND.PNG"

    nouvelleOn = new Image()
    nouvelleOn.src ="http://www.systeme-analyse-boursier.com/images/NOUVELLE_ON.PNG"
    nouvelleOff = new Image()
    nouvelleOff.src ="http://www.systeme-analyse-boursier.com/images/NOUVELLE.PNG"

    newsOn = new Image()
    newsOn.src ="http://www.systeme-analyse-boursier.com/images/NEWS_ON.PNG"
    newsOff = new Image()
    newsOff.src ="http://www.systeme-analyse-boursier.com/images/NEWS.PNG"


    outilsOn = new Image()
    outilsOn.src ="http://www.systeme-analyse-boursier.com/images/OUTILS_ON.PNG"
    outilsOff = new Image()
    outilsOff.src ="http://www.systeme-analyse-boursier.com/images/OUTILS.PNG"

    toolsOn = new Image()
    toolsOn.src ="http://www.systeme-analyse-boursier.com/images/TOOLS_ON.PNG"
    toolsOff = new Image()
    toolsOff.src ="http://www.systeme-analyse-boursier.com/images/TOOLS.PNG"

    portefeuilleOn = new Image()
    portefeuilleOn.src ="http://www.systeme-analyse-boursier.com/images/PORTEVIRTUEL_ON.PNG"
    portefeuilleOff = new Image()
    portefeuilleOff.src ="http://www.systeme-analyse-boursier.com/images/PORTEVIRTUEL.PNG"

    portfolioOn = new Image()
    portfolioOn.src ="http://www.systeme-analyse-boursier.com/images/PORTFOLIO_ON.PNG"
    portfolioOff = new Image()
    portfolioOff.src ="http://www.systeme-analyse-boursier.com/images/PORTFOLIO.PNG"


    scannerOn = new Image()
    scannerOn.src ="http://www.systeme-analyse-boursier.com/images/SCANNER_ON.PNG"
    scannerOff = new Image()
    scannerOff.src ="http://www.systeme-analyse-boursier.com/images/SCANNER.PNG"

    screenerOn = new Image()
    screenerOn.src ="http://www.systeme-analyse-boursier.com/images/SCREENER_ON.PNG"
    screenerOff = new Image()
    screenerOff.src ="http://www.systeme-analyse-boursier.com/images/SCREENER.PNG"





		 
}

function showInfoBourse(){
    var marketsArrayList = new Array('boursehist');
    for (x = 0; x < 1; x++) {
        document.getElementById(marketsArrayList[x]).style.display = 'none';
        document.getElementById(marketsArrayList[x]).style.visibility = 'hidden';
    }
}

function switchOn(imageName) {
  if (document.images)
     document.images[imageName].src = eval(imageName + 'On.src');
}
		  
function switchOff(imageName) {
  if (document.images)
     document.images[imageName].src = eval(imageName + 'Off.src');
}
 /*
function _sysclog(page) {
    var i2=new Image(1,1);
    i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=2"+page+"&docreferrer="+escape(parent.location.href);
    i2.onload=function() { _sysbVoid(); }
}

function _sysclog(page) {
    _sysdlog(page);
    var i2=new Image(1,1);
    i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=3"+page+"&docreferrer="+escape(parent.document.referrer);
    i2.onload=function() { _sysbVoid(); }
}
   */

/*function getReferrer() { var sRef=""; var g_d = document; if (typeof(g_frames) != "undefined") if (g_frames) sRef=top.document.referrer; if ((sRef == "") || (sRef == "[unknown origin]") || (sRef == "unknown") || (sRef == "undefined")) if (document["parent"] != null) if (parent["document"] != null) // ACCESS ERROR HERE! 
    if (parent.document["referrer"] != null) if (typeof(parent.document) == "object") sRef=parent.document.referrer; if ((sRef == "") || (sRef == "[unknown origin]") || (sRef == "unknown") || (sRef == "undefined")) if (g_d["referrer"] != null) sRef = g_d["referrer"]; if ((sRef == "[unknown origin]") || (sRef == "unknown") || (sRef == "undefined")) sRef = ""; if (sRef == "") if (document.referrer&&document.referrer!="") sRef=document.referrer; return escape(sRef); 
} */

function _sysblog(page) {
    //_sysclog(page);
    var i2=new Image(1,1);
    //aa = getReferrer();
      /*
    var ReferringUrl = "";
    
    if (document.referrer)
      ReferringUrl = document.referrer.toString();
    if (window.opener && window.opener.location)
      ReferringUrl = window.opener.location.toString();
        */

    
    //i2.src="http://www.systeme-analyse-boursier.com/cgi-bin/CgiGet4.pl?page="+page+"&docreferrer="+escape(document.referrer);


    i2.src="http://systeme-analyse-boursier.com/cgi/log.php?page="+page+"&docreferrer="+escape(document.referrer);

    /*
    if (document.referrer !='') {
        i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a1"+ReferringUrl+page+"&docreferrer="+escape(document.referrer);
    } else {
        if (top.document.referrer != '') {
            i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a2"+ReferringUrl+page+"&docreferrer="+escape(top.document.referrer);
        } else {
            i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a3"+ReferringUrl+page+"&docreferrer="+escape(parent.location.href);
        }
    } */
       /* 
        parent.document.referrer != '') {
        i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a2"+page+"&docreferrer="+escape(parent.document.referrer);
    } else if (top.document.referrer != '') {
        i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a3"+page+"&docreferrer="+escape(top.document.referrer);
    } else {
        i2.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet4.pl?page=a1"+page+"&docreferrer="+escape(document.referrer);
    }    */

    i2.onload=function() { _sysbVoid(); }
}


function logpage(pagevar){          
    var i3=new Image(1,1);
    i3.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet3.pl";

    if (pagevar=='1') {
        setTimeout("showInfoBourse()", 1000);
    }
}

function logpagem(pagevar){          
    email = ReadCookie("emailcookie");
    password = ReadCookie("passwordcookie");
    document.forms["compte"].email.value=email;
    document.forms["compte"].password.value=password;

    var i3=new Image(1,1);
    i3.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet3.pl";

    if (pagevar=='1') {
        setTimeout("showInfoBourse()", 1000);
    }
}

function logpagem2(pagevar){          
    alert("logm21");
    email = ReadCookie("emailcookie");
    alert("logm22");
    password = ReadCookie("passwordcookie");
    alert("logm23");
    document.forms["compte"].email.value=email;
    document.forms["compte"].password.value=password;
    alert("logm24");

    var i3=new Image(1,1);
    i3.src="http://www.systeme-analyse-boursier.com/cgi/CgiGet3.pl";

    if (pagevar=='1') {
        setTimeout("showInfoBourse()", 1000);
    }
}


function loadpdf(name) {
    page='http://www.systeme-analyse-boursier.com/pdf/'+name;
    _sysblog(page);

    document.location=page;
}

function ValidateEmail(email) {
    if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email)){
        return (true)
    }
    alert("Le E-mail est invalide!.")
    return (false)
}



function _sysbVoid() { return; }