document.write("\074div id=\"update\" style=\"position:static\073\"\076\074/div\076\n    \074script language=\"javascript\" type=\"text/javascript\"\076\n    // ns code {{{\n\n    //###############\n    //-----Begin code section \n\n    var isDHTML = 0\073 \n    var isLayers = 0\073 \n    var isAll = 0\073 \n    var isID = 0\073 \n    var isBusy = false\073 \n\n    if (document.getElementById) { \n	isID = 1\073 isDHTML = 1\073 \n    } else { \n	browserVersion = parseInt(navigator.appVersion)\073 \n	if ((navigator.appName.indexOf(\047Netscape\047) != -1) && (browserVersion == 4)) { \n	    isLayers = 1\073 isDHTML = 1\073 \n	} else { \n	    if (document.all) { \n		isAll = 1\073 isDHTML = 1\073 \n	    } \n	} \n    } \n\n    function findDOM(objectID,withStyle) { \n	if (withStyle == 1) { \n	    if (isID) { \n		return (document.getElementById(objectID).style)\073 \n	    } else { \n		if (isAll) { \n		    return (document.all[objectID].style)\073 \n		} else { \n		    return getObjNN4(top.document,objectID)\073 \n		} \n	    } \n	} else { \n	    if (isID) { \n		return (document.getElementById(objectID))\073 \n	    } else { \n		if (isAll) { \n		    return (document.all[objectID])\073 \n		} else { \n		    if (isLayers) { \n			return getObjNN4(top.document,objectID)\073 \n		    } \n		} \n	    } \n	} \n    } \n\n    function getObjNN4(obj,name) \n    { \n	var x = obj.layers\073 \n	for (i=0\073i\074x.length\073i++) \n	{ \n	    if (x[i].id == name) \n		return x[i]\073 \n	    else if (x[i].layers.length) \n		var tmp = getObjNN4(x[i],name)\073 \n	    if (tmp) return tmp\073 \n	} \n	return null\073 \n    } \n\n    function writeToLayer ( id, text ) \n    { \n	// first we get a reference to the layer we want \n	// to modify \n	x = findDOM( id, 0 )\073 \n\n	if ( !x ) \n	    return\073 \n	if ( isLayers ) { \n	    // NS4 only allows you to have \n	    // one output stream open at a time \n	    // so if we are already writing to one \n	    // we will try this again in 250 ms. \n	    if ( isBusy ) { \n		setTimeout ( \"writeToLayer( \047\" + id + \"\047, \047\" + text + \"\047 )\", 250 )\073 \n	    } else { \n		isBusy = true\073 \n		// write does open for us \n		x.document.write(text)\073 \n		x.document.close()\073 \n		isBusy = false\073 \n	    } \n	} else { \n	    x.innerHTML = text\073 \n	} \n    } \n\n\n    //###############\n    // }}}\n    \074/script\076\n	\074script language=\"javascript\" type=\"text/javascript\"\076\n    /*\n	ALL THIS CODE IS COPYRIGHTED TO JOHN WELLESZ.\nIF YOU USE IT WITHOUT HIS CONSENT YOU WILL BE CURSED!\n\nSI VOUS TENTEZ D\047UTILISER CE CODE SANS L\047ACCORD DE JOHN WELLESZ VOUS SEREZ MAUDIT !\n     */\n    var curadcontent=\"\\074script language=\\\"javascript\\\" type=\\\"text/javascript\\\" src=\\\"http://www.2072productions.com/pagefiles/getad.php/bla=bla\\\"\\076\\074/script\\076\"\073\n    var opsOK=0\073\n    var nav=navigator.appName\073\n    var clevernav=1\073\n    var updatenum=0\073\n    var testnavdemerdedone=0\073\n    var divresized=1\073\n    var ctrlupdatetime=sponwait\073\n    var updatehandle\073\n    var increaseupdatehandle\073\n    var UpdateScript = 0\073\n    var ThisAdsScriptUri=\"http://www.2072productions.com/pagefiles/getad.php/bla=bla\"\073\n\n    // function togetad_loadAscript  {{{\n    function togetad_loadAscript (url,id)\n	//--#Works in IE, Mozilla (inspired from http://www.xs4all.nl/~zanstra/inTec/safariIdea/script.htm )\n    {\n	var script=document.createElement(\047SCRIPT\047)\073\n	var head=document.getElementsByTagName(\047HEAD\047)[0]\073\n	script.id = id\073\n	script.language=\047javascript\047\073\n	script.src=url\073\n	script.defer=\047defer\047\073\n	script = head.appendChild(script)\073\n	return script\073\n    }\n    // }}}\n\n    // document.deleteNodes = function {{{\n    document.deleteNodes = function(node) {\n	while (node.childNodes.length \076 0) {\n	    node.removeChild(node.childNodes[0])\073\n	}\n	node.parentNode.removeChild(node)\073// the object ask to its parent to kill him :-( - very sad.\n    }\n    // }}}\n\n	/*\n    if (!installdone) {\n	//thescript=document.getElementById(\"update\")\073\n	if (nav!=\"Netscape\") {\n	    UpdateScript = document.createElement(\"SCRIPT\")\073\n	    var head=document.getElementsByTagName(\047HEAD\047)[0]\073\n	    UpdateScript.id = \"UpdateScript\"\073\n	    UpdateScript.language=\047javascript\047\073\n	    UpdateScript.defer=\047defer\047\073\n	    UpdateScript = head.appendChild(UpdateScript)\073\n	    //	    thescript.appendChild(UpdateScript)\073\n	}\n    }\n	 */\n\n    function resizediv ()\n    {\n	var cdivsize=document.getElementById(\"inadc\").offsetHeight\073\n	var divstyle=document.getElementById(\"curad\").style\073\n	if (cdivsize\07670)\n	    divstyle.height=cdivsize + \"px\"\073\n	else divstyle.height=\"70px\"\073\n    }\n\n    function divmovehandler ()\n    {\n	if (divresized || !pageisloaded) return\073\n	resizediv()\073\n	divresized=1\073\n    }\n\n    function updatead (uri)\n    {\n	if (clevernav && to!=\"ALLSTATS.PHP\") {\n	    // if (nav==\"Netscape\") {\n	    //	writeToLayer(\"update\",curadcontent)\073\n	    // } else {\n	    if (UpdateScript)\n		document.deleteNodes(UpdateScript)\073\n	    UpdateScript = togetad_loadAscript(uri, \"TheUpdateScript\")\073\n	    //UpdateScript.setAttribute(\"src\",\"http://www.2072productions.com/pagefiles/getad.php/bla=bla&ran=\" + Math.random())\073\n	    // }\n	    if (!testnavdemerdedone) window.setTimeout(\"testnavdemerde()\073\",1000,\"javascript\")\073\n	} else if (to!=\"ALLSTATS.PHP\") {\n	    window.frames[\"sponframe\"].window.location.reload()\073\n	}\n	updatenum++\073\n	ctrlupdatetime=sponwait\073\n    }\n\n\n    function testnavdemerde ()\n    {\n	if (!opsOK && nav!=\"Microsoft Internet Explorer\") {\n	    clevernav=0\073\n	    document.getElementById(\"curad\").style.height=\"0px\"\073\n	    document.getElementById(\"curad\").style.width=\"0px\"\073\n	    writeToLayer(\"update\",\"\\074iframe id=\\\"sponframe\\\" name=\\\"sponframe\\\" width=\\\"100%\\\" height=\\\"70px\\\" align=\\\"middle\\\"  marginwidth=0 marginheight=0 frameborder=0 scrolling=\\\"no\\\" src=\\\"http://www.2072productions.com/pagefiles/getad.php/bla=bla|frame=1\\\"\\076\\074/iframe\\076\")\073\n	}\n	updatehandle=setInterval(\"updatead(\\\"\"+ThisAdsScriptUri+\"\\\")\073\",sponwait,\"javascript\")\073\n	increaseupdatehandle=setInterval(\"increasesponwait()\073\",sponwait*6)\073\n	ctrlupdatetime=sponwait\073\n	testnavdemerdedone=1\073\n    }\n\n    function increasesponwait()\n    {\n	sponwait *= 2\073\n	if (sponwait \074 50000)\n	    sponwait = 50000\073\n	clearInterval(updatehandle)\073\n	clearInterval(increaseupdatehandle)\073\n	if (((sponwait/2) - ctrlupdatetime)\076((sponwait/2)-20))\n	    updatead(ThisAdsScriptUri)\073\n	updatehandle=setInterval(\"updatead(\\\"\"+ThisAdsScriptUri+\"\\\")\073\",sponwait,\"javascript\")\073\n	increaseupdatehandle=setInterval(\"increasesponwait()\073\",sponwait*6)\073\n	ctrlupdatetime=sponwait\073\n    }\n\n    function testscriptloaded()\n    {\n	if (!waitforload || pageisloaded) {\n	    clearInterval(testloadid)\073\n	    status=\"Page loaded!\"\073\n	    updatead (ThisAdsScriptUri)\073\n	}\n    }\n\n    if (!installdone) {\n	status=\"Page loading...\"\073\n	testloadid=setInterval(\"testscriptloaded()\073\",750)\073\n	installdone=1\073\n    }\n    \074/script\076\n");