function gotosite()
{
	var expDate = new Date()
    expDate.setTime(expDate.getTime() + (365 * 24 * 3600 * 1000))
	document.cookie="shadow=oui;expires=" + expDate.toGMTString() +";path=/;";
	document.getElementById('newslettre').style.display='none';
	window.location.replace("/");
}

function gotodevis()
{
	var expDate = new Date()
    expDate.setTime(expDate.getTime() + (365 * 24 * 3600 * 1000))
	document.cookie="shadow=oui;expires=" + expDate.toGMTString() +";path=/;";
	document.getElementById('newslettre').style.display='none';
	window.location.replace("/contrat-en-ligne-domiciliation-commerciale-prestations-services.htm");
}

function Exit()
{
	document.getElementById("newslettre").style.display='none';
}

function ScanCookie(variable)
{
 cook=document.cookie;
 variable+="=";
 place=cook.indexOf(variable,0);
 if(place<=-1) return("0");
 else
 {
  end=cook.indexOf(";",place)
  if(end<=-1) return(unescape(cook.substring(place+variable.length,cook.length)));
  else return(unescape(cook.substring(place+variable.length,end)));
 }
}

if(ScanCookie("shadow")==0)
{
document.write("<div id=newslettre><div id=newslettre-fond window.document.body.style.overflow='block'\"></div><div id=newslettre-conteneur>");
document.write("<div id=newslettre-cadre><div id=newslettre-contenu>");
document.write("<div id=newslettre-text><h1>PROMOTION DOMICILIATION SOCIETE !</h1><h2>Remise de 50 % les 6 premiers mois.</h2><div class=prix>Soit 15 € par mois*</div><div id=dom>Domiciliez-vous en <span style=\"color:#ba2810;\">5mn</span> grace au contrat en ligne !</div><h5>* 30€ à partir du 7<sup>ème</sup> mois</h5><div><div id=contligne onclick=\"gotodevis()\">&nbsp;</div><div id=goto onclick=\"gotosite()\">&nbsp;</div></div></div>");
document.write("</div></div>");
document.write("</div></div>");
document.write('<style>embed,object,select,iframe { display:none; visibility:hidden }</style>');
window.document.body.style.overflow = 'hidden';

}
