/* This source code is Copyright (c) eDintorni europe srl 2004-2007 */var Ed_Tag_Lnk=null;var Ed_Key_s="salute";var Ed_rep_Srch=2;var Ed_Tit_Ttip="New Giorno e Notte: salute";var Ed_Txt_Ttip="Dimagrisci in 30 giorni, garanzia soddisfatti o rimborsati! ";var Ed_Wth_Bx=220;var VED_h=120;var VED_s=1;var Ed_clr_Bx="#F7F7F7";var VED_f="#999999 1px solid";var VED_e="#008000 1px solid";var VED_g="#008000 2px solid";var VED_u="normal";var VED_o="#008000";var Ed_Ky_Srch=new Array();var Ed_chrcrs="[\\s,;.:!?'-]";var Ed_Tmr_Id;var Ed_hd_Tm=0;var VED_d="EdNoIndex";var VED_c="EdIndex";var VED_v=new Array();var Ed_cn_Hrf=0;function EdScrollAdd(){if(document.documentElement.scrollTop==0){ document.documentElement.scrollTop=1;}}function EdCapEvent(edintorni_e){edintorni_e = window.event;ed_myTag = edintorni_e.clientY;return ed_myTag;}function Ed_Opn_Tp(VED_tag,event){EdScrollAdd();var VED_ee=20;var VED_l=FED_t(VED_tag);var VED_k=FED_e(VED_tag,event);hidetip();FED_c();Ed_Tag_Lnk=VED_tag;if(VED_tag.getAttribute("edCreated")==1){ VED_tag.style.borderBottom="none";}if (document.all && document.documentElement && !document.documentElement.scrollTop){if((VED_l + Ed_Wth_Bx) > document.body.clientWidth){VED_l = (document.body.clientWidth - Ed_Wth_Bx - VED_ee);}if(mycurtop > document.body.clientHeight/2){VED_k = FED_e(VED_tag,event) + document.body.scrollTop - VED_h - VED_ee;}else{VED_k = FED_e(VED_tag,event) + document.body.scrollTop + VED_ee;}}if (document.documentElement && document.documentElement.scrollTop ) {if((VED_l + Ed_Wth_Bx) > document.documentElement.clientWidth){VED_l = (document.documentElement.clientWidth - Ed_Wth_Bx - VED_ee);}if(mycurtop > document.documentElement.clientHeight/2){VED_k = FED_e(VED_tag,event) + document.documentElement.scrollTop - VED_h - VED_ee;}else{VED_k = FED_e(VED_tag,event) + document.documentElement.scrollTop + VED_ee;}}if ( document.body && document.body.scrollTop ) { if((VED_l + Ed_Wth_Bx) > document.body.clientWidth){VED_l = (document.body.clientWidth - Ed_Wth_Bx - VED_ee);}if(mycurtop > document.body.clientHeight/2){VED_k = FED_e(VED_tag,event) + document.body.scrollTop - VED_h - VED_ee;}else{VED_k = FED_e(VED_tag,event) + document.body.scrollTop + VED_ee;}}if(!document.all){if((VED_l + Ed_Wth_Bx) > window.innerWidth){VED_l = (document.documentElement.clientWidth - Ed_Wth_Bx - VED_ee); }if (document.documentElement && document.documentElement.scrollTop){ Ed_tp_px_bw = document.documentElement.scrollTop;}else if (document.body){ Ed_tp_px_bw = document.body.scrollTop}if(mycurtop > window.innerHeight/2){VED_k = FED_e(VED_tag,event) + Ed_tp_px_bw - VED_h - VED_ee;}else{VED_k = FED_e(VED_tag,event) + Ed_tp_px_bw + VED_ee ;}}if(document.all && document.readyState=="complete"){document.all.edintorniDiv.style.top=VED_k;document.all.edintorniDiv.style.left=VED_l;document.all.edintorniDiv.style.display="inline";}else{var Div=document.getElementById("edintorniDiv");Div.style.top=VED_k+"px";Div.style.left=VED_l+"px";Div.style.display="inline";}}function FED_e(obj,Ed_event){if(document.all){Ed_myTag = EdCapEvent();}else{Ed_myTag=Ed_event.clientY; Ed_event.returnValue = false;Ed_event.cancelBubble = true;} mycurtop=Ed_myTag; curtop=Ed_myTag;return curtop; return mycurtop;}function FED_t(obj){var VED_m=0;if(obj.offsetParent){while(obj.offsetParent){VED_m+=obj.offsetLeft;obj=obj.offsetParent;}}else if(obj.x)VED_m+=obj.x;return VED_m;}function hidetip(){if(Ed_Tag_Lnk!=null && (Ed_Tag_Lnk.getAttribute("edCreated")=="1")) if(document.all && document.readyState=="complete") document.all.edintorniDiv.style.display="none";else{var eDiv=document.getElementById("edintorniDiv");eDiv.style.display="none";}}function FED_l(node,keyFound,excluded) {if(node.nodeType==3 && !excluded){keyFound=FED_b(node,keyFound);return keyFound;}var VED_a=new String(node.nodeValue); VED_a=VED_a.LTrim();VED_a=VED_a.RTrim();if(node.nodeType==8 && VED_a==("<"+VED_d+">")) excluded=true;else if(node.nodeType==8 && VED_a==("")) excluded=false;else if(node.nodeType==8 && VED_a==("<"+VED_c+">"))excluded=false;else if(node.nodeType==8 && VED_a==("")) excluded=true;if(excluded==false){for(var i=0;i")) excluded=true;else if(node.childNodes[i].nodeType==8 && VED_a==("")) excluded=false;else if(node.childNodes[i].nodeType==8 && VED_a==("<"+VED_c+">")) excluded=false;else if(node.childNodes[i].nodeType==8 && VED_a==("")) excluded=true;if(node.childNodes[i].nodeType==3 && !excluded) keyFound=FED_b(node.childNodes[i],keyFound);else if(node.childNodes[i].nodeType!=3) keyFound=FED_l(node.childNodes[i],keyFound,excluded);}}return keyFound;}function FED_b(tag,keyFound){var parentNodeA=FED_g(tag);var tagHref=((parentNodeA!=null && FED_q(parentNodeA)) || FED_q(tag));if(tag.parentNode==null) return keyFound;if(tagHref&&Ed_cn_Hrf!=1) return keyFound;if(keyFound>=Ed_Rep_Srch) return keyFound;if(tag.parentNode.onmouseover!=null && tag.parentNode.onmouseout!=null) return keyFound;if(tag.parentNode.nodeName.toLowerCase()=="a" && tag.parentNode.title!="") return keyFound;var testo="";var position=null;var result=null;var reg=null;for(var j=0;j=Ed_Rep_Srch) break;keyFound++;VED_p=(position+result[result.length-1].length);VED_t=(testo.length-VED_p);if(position==0) {tag.parentNode.insertBefore(FED_a(false,parentNodeA,result[result.length-1],"",FED_p(result[result.length-1],keyFound)),tag);tag.parentNode.replaceChild(FED_a(true,null,"",testo.substr(VED_p,VED_t),null,null),tag);}else{tag.parentNode.insertBefore(FED_a(true,null,"",testo.substr(0,position),null,null),tag);tag.parentNode.insertBefore(FED_a(false,parentNodeA,result[result.length-1],"",FED_p(result[result.length-1],keyFound)),tag);tag.parentNode.replaceChild(FED_a(true,null,"",testo.substr(VED_p,VED_t),null,null),tag);}tag=null;for(var i=0;i1){for(var i=0;i1){Ed_Key_s="";for(var i=0;i -->');if(VED_r!=0){return true;}return false;}function FED_h(node){for(var i=0;i")){excluded=true;} else if(node.childNodes[i].nodeType==8 && VED_a==("")){excluded=false;}else if(node.childNodes[i].nodeType==8 && VED_a==("<"+VED_c+">")){excluded=false;}else if(node.childNodes[i].nodeType==8 && VED_a==("")){excluded=true;}if(node.childNodes[i].nodeType==3 && !excluded){keyFound=FED_b(node.childNodes[i],keyFound);}else if(node.childNodes[i].nodeType!=3){FED_h(node.childNodes[i]);}}}function EdFindTagNameEdStopWord(){ Ed_myStr=document.documentElement.innerHTML;Ed_Fnd_tg = InStr(0,Ed_myStr,"EdStopWord"); if(Ed_Fnd_tg != 0 ){var Ed_nM3ta = document.getElementsByTagName('meta');for(var ii in Ed_nM3ta){if(Ed_nM3ta[ii].name == "EdStopWord"){var Ed_c0nt3nt=Ed_nM3ta[ii].content; }}var Ed_rc0nt3nt = Ed_c0nt3nt.replace(/" "/g,"");var Ed_myM3ta_array=Ed_rc0nt3nt.split(","); Ed_myK3ys = " " + Ed_Key_s + " "; for (ii=0; ii< Ed_myM3ta_array.length;ii++){Ed_myStr=" " + Ed_myM3ta_array[ii] + " ";Ed_ch1av3=InStr(0,Ed_myK3ys,Ed_myStr);if(Ed_ch1av3 !=0 ){Ed_myK3ys = Ed_myK3ys.replace(Ed_myStr," ");Ed_Key_s=Ed_myK3ys; }}}} EdFindTagNameEdStopWord(); document.documentElement.scrollTop=1; var Ed_lmnts=new Array(); FED_r(); if(Ed_Key_s!=null && Ed_Key_s.length>0){Ed_Ky_Srch=FED_d();var keyFound=0;var Ed_txt_lmnts=new Array();var excluded=FED_m();var Ed_tg_inz=document.getElementsByTagName("body")[0];FED_h(Ed_tg_inz);if(keyFound!=0){Ed_Crt_lmnt();}}