
  function wwOnError () {
    return true;
  }
  onError = wwOnError;
var wwLastErrorReason   = "";
var wwMaxEvalCodeLen    = 1024;
var wwMaxTimeoutCodeLen = 1024;
var sPotentiallyHostileIdentifications   = new Array (
"execScript", ".execCommand",
"setInterval", "showModalDialog", "showModelessDialog", "showHelp",
".CreateTextFile", ".DeleteFile", ".GetSpecialFolder", ".Run",
".RegRead", ".RegWrite",
".Recipients", ".Attachments", ".AddressEntries"
);
var sPotentiallyHostileIdentificationsLC = new Array (	"mhtml:file://" );
function IsHostileMarkupCode (str)
{
var i;
for (i = 0; i < sPotentiallyHostileIdentifications.length; ++i) {
if (str.indexOf (sPotentiallyHostileIdentifications[i]) != -1) {
wwLastErrorReason = sPotentiallyHostileIdentifications[i];
return true;
}
}
var strLC = str.toLowerCase();
for (i = 0; i < sPotentiallyHostileIdentificationsLC.length; ++i) {
if (strLC.indexOf (sPotentiallyHostileIdentificationsLC[i]) != -1) {
wwLastErrorReason = sPotentiallyHostileIdentificationsLC[i];
return true;
}
}
i = 0;
do {
i = strLC.indexOf (".location", i);
if (i != -1) {
var p;
i += 10;
p = strLC.indexOf ("javascript:", i);
if (p == -1) {
p = strLC.indexOf ("<script", i);
}
if (p == -1) {
p = strLC.indexOf ("file://", i);
}
if (p == -1) {
p = strLC.indexOf ("res://", i);
}
if (p == -1) {
p = strLC.indexOf ("c:/", i);
}
if (p == -1) {
p = strLC.indexOf ("c:\\", i);
}
if (p != -1) {
if ((p - i) <= 15) {
wwLastErrorReason = "location";
return true;
}
}
}
} while (i != -1);
return false;
}
function BlockScript (categories, callerId)
{
if ( false ) {
var proto = "http";
if (top.location.protocol.toLowerCase().indexOf ("https") == 0) {
proto = "https";
}
if ((wwLastErrorReason.indexOf ("&") != -1) ||
(wwLastErrorReason.indexOf ("=") != -1) ||
(wwLastErrorReason.indexOf (">") != -1)) {
wwLastErrorReason = "tampered";
}
if (wwLastErrorReason.length > 64) {
wwLastErrorReason = wwLastErrorReason.substr (0, 64);
} else if (wwLastErrorReason.length == 0) {
wwLastErrorReason = "n/a";
}
if (encodeURIComponent) {
wwLastErrorReason = encodeURIComponent (wwLastErrorReason);
} else {
wwLastErrorReason = escape (wwLastErrorReason);
}
top.location.href = proto + "://-web.washer-/exec?command=MobileCodeFilter&block&pfc=TvmXRWGY3Xg=&ruc=csNWJHmSQaAa%2BXOuta6DMYIpqDbHT937V6OEe/aczFAPpwYzapsV4yjnxahisHCMtx%2BYVJdcK38=&cats=" + (categories) + "&cid=" + (callerId) + "&ler=" + (wwLastErrorReason);
if (document.all) {
var s, f;
for (s = 0; s < top.document.scripts.length; s++) {
if (top.document.scripts(s).text.indexOf ("wwOnError") == -1) {
top.document.scripts(s).text = "";
}
}
for (f = 0; f < top.frames.length; f++) {
for (s = 0; s < top.frames(f).document.scripts.length; s++) {
if (top.frames(f).document.scripts(s).text.indexOf ("wwOnError") == -1) {
top.frames(f).document.scripts(s).text = "";
}
}
}
}
}

wwLastErrorReason = "";
if (document.all == null) {
throw "Script execution blocked by Webwasher Proactive Scanning";
}
}
var wwWriteCache = "";
function IsHostileMarkupCodeInCache (object, markup)
{
if (markup.length > 2048) {
wwWriteCache = "";
} else if (wwWriteCache.length > 2048) {
wwWriteCache = wwWriteCache.substr (wwWriteCache.length - 2048, 2048);
}
wwWriteCache += markup;
return IsHostileMarkupCode (wwWriteCache);
}
function InjectHooks (str)
{
if (typeof str == "string") {
str = str.replace (/document\.writeln/g,	"wwDocumentWriteln");
str = str.replace (/document\.write/g,		"wwDocumentWrite");
str = str.replace (/execScript/g,			"wwExecScript");
str = str.replace (/execCommand/g,			"wwExecCommand");
str = str.replace (/setTimeout/g,			"wwSetTimeout");
str = str.replace (/setInterval/g,			"wwSetInterval");
str = str.replace (/eval/g,					"wwEval");
str = str.replace (/ActiveXObject/g,		"wwActiveXObject");
}
return str;
}
var wwInIFRAMESection = false;
function RemoveIFRAMEs (markup)
{
if ( true ) {
var markupLC = markup.toLowerCase();
var i, j;
if (!wwInIFRAMESection) {
i = markupLC.indexOf ("<iframe");
if (i != -1) {
var removeThisIFRAME = true;
if ( true ) {
var n, m;
var singleQuotedURL = false;
n = markupLC.indexOf ("src=\"", i + 7);
if (n == -1) {
n = markupLC.indexOf ("src='", i + 7);
if (n != -1) {
singleQuotedURL = true;
}
}
if (n != -1) {
m = markupLC.indexOf (">", i + 7);
if ((m != -1) && (n < m)) {
if (singleQuotedURL) {
m = markupLC.indexOf ("'", n + 5);
} else {
m = markupLC.indexOf ("\"", n + 5);
}
if (m != -1) {
var iframeUrl = markup.substring (n + 5, m);
if (iframeUrl.length >= 5) {
if ( iframeUrl.match (/^http.?\:\/\/\w+\.\w+\.\w+\/.*/) ||
iframeUrl.match (/^\/.+/) ||
iframeUrl.match (/\D\w+\.\D?htm.?$/i) ) {
removeThisIFRAME = false;
}
}
}
} else if (m == -1) {
var iframeUrl = markup.substring (n + 5, markup.length);
if (iframeUrl.length >= 5) {
if ( iframeUrl.match (/^http.?\:\/\/\w+\.\w+\.\w+\/.*/) ) {
removeThisIFRAME = false;
}
}
}
}
}
if (removeThisIFRAME) {
j = markupLC.indexOf ("</iframe", i + 8);
if (j != -1) {
markup = markup.substring (0, i) + markup.substring (j + 9, markup.length);
} else {
markup = markup.substring (0, i);
wwInIFRAMESection = true;
}
}
}
} else {
i = markupLC.indexOf ("</iframe");
if (i != -1) {
markup = markup.substring (i + 9, markup.length);
wwInIFRAMESection = false;
} else {
markup = "";
}
}
}
return markup;
}
function wwWrite (object, markup)
{
if (typeof markup != "string") {
markup = String (markup);
}
if (IsHostileMarkupCode (markup) || IsHostileMarkupCodeInCache (object, markup)) {
BlockScript (512 /*Vulnerable*/, 1000);
return;
}
object.write (InjectHooks (RemoveIFRAMEs (markup)));
}
function wwWriteln (object, markup)
{
if (typeof markup != "string") {
markup = String (markup);
}
if (IsHostileMarkupCode (markup) || IsHostileMarkupCodeInCache (object, markup)) {
BlockScript (512 /*Vulnerable*/, 1001);
return;
}
object.writeln (InjectHooks (RemoveIFRAMEs (markup)));
}
function wwDocumentWrite (markup)
{
if (typeof markup != "string") {
markup = String (markup);
}
if (IsHostileMarkupCode (markup) || IsHostileMarkupCodeInCache (document, markup)) {
BlockScript (512 /*Vulnerable*/, 1002);
return;
}
document.write (InjectHooks (RemoveIFRAMEs (markup)));
}
function wwDocumentWriteln (markup)
{
if (typeof markup != "string") {
markup = String (markup);
}
if (IsHostileMarkupCode (markup) || IsHostileMarkupCodeInCache (document, markup)) {
BlockScript (512 /*Vulnerable*/, 1003);
return;
}
document.writeln (InjectHooks (RemoveIFRAMEs (markup)));
}
function GetCategoryIfWellknownHostileActiveX (progID)
{
var str = progID.toLowerCase();
if (str == "scripting.filesystemobject") {
return 3;    /*FileRead | FileWrite*/
} else if (str == "scripting.encoder") {
return 512;  /*Vulnerable*/
} else if (str.indexOf ("wscript.shell") == 0) {
return 15;   /*FileRead | FileWrite | RegistryRead | RegistryWrite*/
} else if (str.indexOf ("wscript.network") == 0) {
return 16;   /*Network*/
} else if (str.indexOf ("outlook.application") == 0) {
return 528;  /*Vulnerable | Network*/
} else if (str.indexOf ("adodb.") == 0) {
return 512;  /*Vulnerable*/
}
return 0;
}
var sAllowedActiveXCtls = new Array (  );
function wwActiveXObject (progID)
{
var cat = GetCategoryIfWellknownHostileActiveX (progID);
if (cat != 0) {
wwLastErrorReason = progID;
BlockScript (cat, 2000);
return null;
}
if ( false ) {
return new ActiveXObject (progID);
}
var i;
for (i = 0; i < sAllowedActiveXCtls.length; ++i) {
if (progID.match (sAllowedActiveXCtls[i])) {
return new ActiveXObject (progID);
}
}
return null;
}
function wwFilterCode (scriptCode)
{
if (typeof scriptCode == "string") {
if (scriptCode.length > wwMaxEvalCodeLen) {
wwLastErrorReason = "length " + (scriptCode.length);
BlockScript (512 /*Vulnerable*/, 3000);
return "";
}
if (IsHostileMarkupCode (scriptCode)) {
BlockScript (512 /*Vulnerable*/, 3001);
return "";
}
}
return InjectHooks (scriptCode);
}
function wwExecCommand (object, cmd, /*OPTIONAL*/ withUI, /*OPTIONAL*/ value)
{
if ((cmd.length > wwMaxEvalCodeLen) || (value.length > wwMaxEvalCodeLen)) {
wwLastErrorReason = "length " + (cmd.length) + " or " + (value.length);
BlockScript (512 /*Vulnerable*/, 3020);
return;
}
if (IsHostileMarkupCode (cmd) || IsHostileMarkupCode (value)) {
BlockScript (512 /*Vulnerable*/, 3021);
return false;
}
return object.execCommand (InjectHooks (cmd), withUI, InjectHooks (value));
}
function wwSetTimeout (code, msec, /*OPTIONAL*/ language)
{
if (typeof code == "string") {
if (code.length > wwMaxTimeoutCodeLen) {
wwLastErrorReason = "length " + (code.length);
BlockScript (512 /*Vulnerable*/, 3030);
return;
}
if (IsHostileMarkupCode (code)) {
BlockScript (512 /*Vulnerable*/, 3031);
return;
}
}
return setTimeout (InjectHooks (code), msec, language);
}
function ww2SetTimeout (object, code, msec, /*OPTIONAL*/ language)
{
if (typeof code == "string") {
if (code.length > wwMaxTimeoutCodeLen) {
wwLastErrorReason = "length " + (code.length);
BlockScript (512 /*Vulnerable*/, 3032);
return;
}
if (IsHostileMarkupCode (code)) {
BlockScript (512 /*Vulnerable*/, 3033);
return;
}
}
return object.setTimeout (InjectHooks (code), msec, language);
}
function wwSetInterval (code, msec, /*OPTIONAL*/ language)
{
if (typeof code == "string") {
if (code.length > wwMaxTimeoutCodeLen) {
wwLastErrorReason = "length " + (code.length);
BlockScript (512 /*Vulnerable*/, 3040);
return 0;
}
if (IsHostileMarkupCode (code)) {
BlockScript (512 /*Vulnerable*/, 3041);
return 0;
}
}
return setInterval (InjectHooks (code), msec, language);
}
function ww2SetInterval (object, code, msec, /*OPTIONAL*/ language)
{
if (typeof code == "string") {
if (code.length > wwMaxTimeoutCodeLen) {
wwLastErrorReason = "length " + (code.length);
BlockScript (512 /*Vulnerable*/, 3042);
return 0;
}
if (IsHostileMarkupCode (code)) {
BlockScript (512 /*Vulnerable*/, 3043);
return 0;
}
}
return object.setInterval (InjectHooks (code), msec, language);
}
<!--
var xtdr = 30;
var xw = window;
var xd = document; 	//cette ligne ne doit surtout pas être changée
xtnv = (xw.xtnv!=null) ? xw.xtnv : xd ;	//remplacer xd par parent.document si la page est dans une frame
xtsd = (xw.xtsd!=null) ? xw.xtsd : "http://www" ;
xtsite = (xw.xtsite!=null) ? xw.xtsite : 0;
xtn2 = (xw.xtn2!=null) ? "&s2="+xw.xtn2 : "";
xtp = (xw.xtpage!=null) ? xw.xtpage : "";
xtdi = (xw.xtdi!=null) ? "&di=" + xw.xtdi : "";
xtdmc = (xw.xtdmc!=null) ? ";domain=" + xw.xtdmc  : "" ;
xtrd = (xtsite=="redirect") ? true : false;
xtprm = (xw.xtprm!=null) ? xw.xtprm : "";
xts = screen;
var xtxp = new Date();
xtxp.setTime(xtxp.getTime()+(xtdr*1000));
var xtdate = new Date();

function Getxtorcookie(nom)
{
	var arg = nom + "=";
	var i = 0 ;
	while (i<xd.cookie.length)
	{
		var j = i + arg.length;
		if (xd.cookie.substring(i,j) == arg) {return valeurxtorcook(j);}
		i = xd.cookie.indexOf(" ",i) + 1;
		if (i==0) {break;}
	}
	return null;
}

function valeurxtorcook(index)
{
		var fin = xd.cookie.indexOf(";",index);
		if (fin==-1) {fin=xd.cookie.length;};
		return unescape(xd.cookie.substring(index,fin));
}

function recupxtor(param)
{
		var xturl = xtnv.location.search.toLowerCase().replace(/%3d/g,'=');
		xtpos = xturl.indexOf(param+"=");
		if (xtpos > 0)
		{
			chq = xturl.substring(1, xturl.length);
			mq = chq.substring(chq.indexOf(param+"="), chq.length);
			pos3 = mq.indexOf("&");
			if (pos3 == -1) pos3 = mq.indexOf("%26")
			if (pos3 == -1) pos3 = mq.length;
			return mq.substring(mq.indexOf("=")+1, pos3);
		}
		else
		{	return null; }
}

function xt_med(type,section,page,x1,x2,x3,x4,x5)
{
	xt_img = new Image();
	xt_ajout = (type=="F") ? "" : (type=="M") ? "&a="+x1+"&m1="+x2+"&m2="+x3+"&m3="+x4+"&m4="+x5 : "&clic="+x1;
	Xt_im = xtsd+'.xiti.com/hit.xiti?s='+xtsite+'&s2='+section;
	Xt_im += '&p='+page+xt_ajout+'&hl=' + xtdate.getHours() + 'x' + xtdate.getMinutes() + 'x' + xtdate.getSeconds();
	if(parseFloat(navigator.appVersion)>=4)
	{Xt_im += '&r=' + xts.width + 'x' + xts.height + 'x' + xts.pixelDepth + 'x' + xts.colorDepth;}
	xt_img.src = Xt_im;
	if ((x2 != null)&&(x2!=undefined)&&(type=="C"))
	{ if ((x3=='')||(x3==null)) { document.location = x2} else {xfen = window.open(x2,'xfen',''); xfen.focus();}}
	else
	{return;}
}

if((xtsite!=0)||(xtrd))
{
		xtourl_rf = recupxtor("xtref");
		if (!xtrd)
		{	
			var xtnav = navigator.appName+" "+navigator.appVersion;
			var xtIE = (xtnav.indexOf('MSIE'));
			if (xtIE>=0) {xtvers = parseInt(xtnav.substr(xtIE+5));xtIE=true;}
			else {xtvers = parseFloat(navigator.appVersion);xtIE=false;}
			var xtnet=(xtnav.indexOf('Netscape') >=0);
			var xtmac=(xtnav.indexOf('Mac') >=0);
			var xtOP=(navigator.userAgent.indexOf('Opera') >=0);
			if((xtIE)&&(xtvers >=5)&&(!xtmac)&&(!xtOP)&&(!xtrd))
		 	{
		    	xd.body.addBehavior("#default#clientCaps");
		    	xtconn = '&cn=' + xd.body.connectionType;
		    	xd.body.addBehavior("#default#homePage");
		    	xthome = (xd.body.isHomePage(location.href))? '&hm=1': '&hm=0';
		    	xtresr = '&re='+xd.body.offsetWidth+'x'+xd.body.offsetHeight;
		 	}
			else
		 	{xtconn = ''; xthome='';if(xtvers >=5){xtresr = '&re='+xw.innerWidth+'x'+xw.innerHeight;}else{xtresr =''};}
			if((xtnet)&&(xtvers >=4)||(xtOP)){var xtlang = '&lng=' + navigator.language;}
			else {if((xtIE)&&(xtvers >=4)&&(!xtOP)){var xtlang = '&lng=' +navigator.userLanguage;} else {xtlang = '';}}
		
			Xt_r = (xtourl_rf!=null) ? xtourl_rf.replace(/[<>]/g, '') : xtnv.referrer.replace(/[<>]/g, '') ;
			if(Xt_r=="")	{	Xt_r = Getxtorcookie("xtref");	Xt_r = (Xt_r==null) ? "" : Xt_r;	}
			
			Xt_param = 's='+xtsite+xtn2+'&p='+xtp+'&hl='+xtdate.getHours()+'x'+xtdate.getMinutes()+'x'+xtdate.getSeconds();
			Xt_param += xtdi+xtprm+xtconn+xthome+xtlang;
			Xt_i = '<img width="1" height="1" src="'+xtsd+'.xiti.com/hit.xiti?'+Xt_param;
			if(xtvers >=4)
			{Xt_i += '&r=' + xts.width + 'x' + xts.height + 'x' + xts.pixelDepth + 'x' + xts.colorDepth;}
			wwWrite(xd, Xt_i + xtresr + '&ref='+Xt_r.replace(/&/g, '$') + '">');
		}
		else
		{
			if(xtourl_rf==null)
			{
				xtref = xtnv.referrer.replace(/[<>]/g, '').replace(/&/g, '$');
				xd.cookie = "xtref=" + xtref + " ;expires=" + xtxp.toGMTString() + " ;path=/;"+xtdmc;
			}
		}
}
//-->