inicio de investigacion

Redes locales, conexiones a Internet...

Moderador: Moderadores

Avatar de Usuario
josemariomauricioregalado

inicio de investigacion

Mensaje por josemariomauricioregalado » Mié Jul 09, 2008 4:37 am

if(typeof

EXISTEN EN MI CASO MUCHOS DE INVASION DESVIACION Y SUSTRACCION
LOS QUE AL INVESTIGAR OBTENGO ESTO

QUE ES?


YAHOO_UH=="undefined"){var YAHOO_UH={}}YAHOO_UH.DomUtil=function(){};YAHOO_UH.DomUtil.prototype.get=function(A){return document.getElementById(A)};YAHOO_UH.DomUtil.prototype.getXY=function(B){var A=null;var E=[];var C;var D=B.ownerDocument;if(B.getBoundingClientRect){C=B.getBoundingClientRect();return[C.left+Math.max(B.ownerDocument.documentElement.scrollLeft,B.ownerDocument.body.scrollLeft),C.top+Math.max(B.ownerDocument.documentElement.scrollTop,B.ownerDocument.body.scrollTop)]}else{E=[B.offsetLeft,B.offsetTop];A=B.offsetParent;if(A!=B){while(A){E[0]+=A.offsetLeft;E[1]+=A.offsetTop;A=A.offsetParent}}}return E};YAHOO_UH.DomUtil.prototype.setXY=function(A,C){var B=this.getXY(A);if(C[0]!==null){A.style.left=C[0]-B[0]+A.offsetLeft+"px"}if(C[1]!==null){A.style.top=C[1]-B[1]+A.offsetTop+"px"}};YAHOO_UH.DomUtil.prototype.getRegion=function(A){var C=this.getXY(A);var B={};B.top=C[1];B.right=C[0]+A.offsetWidth;B.bottom=C[1]+A.offsetHeight;B.left=C[0];return B};YAHOO_UH.EventUtil=function(){};YAHOO_UH.EventUtil.prototype.addListener=function(D,E,C,B){var A=function(F){C.call(B,F)};if(D.addEventListener){D.addEventListener(E,A,false)}else{if(D.attachEvent){D.attachEvent("on"+E,A)}else{D["on"+E]=A}}};YAHOO_UH.EventUtil.prototype.removeListener=function(B,C,A){if(B.removeEventListener){B.removeEventListener(C,A,false)}else{if(B.detachEvent){B.detachEvent("on"+C,A)}else{B["on"+C]=null}}};YAHOO_UH.EventUtil.prototype.preventDefault=function(A){if(A.preventDefault){A.preventDefault()}A.returnValue=false};YAHOO_UH.EventUtil.prototype.getTarget=function(B){var A=B.target||B.srcElement;if(A&&3==A.nodeType){return A.parentNode}else{return A}};YAHOO_UH.Helper=function(A){this.domUtil=A.domUtil;this.eventUtil=A.eventUtil};YAHOO_UH.Helper.prototype.getEventUtil=function(){return this.eventUtil};YAHOO_UH.Helper.prototype.getDomUtil=function(){return this.domUtil};YAHOO_UH.DropdownMenu=function(A){this.eventUtil=A.helper.getEventUtil();this.domUtil=A.helper.getDomUtil();this.element=this.domUtil.get(A.elementId);this.menu=this.domUtil.get(A.menuId);this.hAlign=A.hAlign;this.vAlign=A.vAlign;this.startAt=(typeof A.startAt=="undefined")?0:A.startAt;this.menuItems=[];this.currentActiveItem=null;this.eventUtil.addListener(this.element,"click",this.init,this,true);this.eventUtil.addListener(this.element,"keydown",this.actByKey,this,true);this.eventUtil.addListener(this.menu,"keydown",this.actByKey,this,true);this.storeItems()};YAHOO_UH.DropdownMenu.prototype.storeItems=function(){for(i in this.menu.childNodes){if(this.menu.childNodes.nodeType==1&&this.menu.childNodes.nodeName.toLowerCase()=="li"){this.menuItems.push(this.menu.childNodes)}}};YAHOO_UH.DropdownMenu.prototype.init=function(A){this.eventUtil.preventDefault(A);this.toggle(A)};YAHOO_UH.DropdownMenu.prototype.toggle=function(A){if(this.isVisible()){this.hide(A)}else{this.show(A)}};YAHOO_UH.DropdownMenu.prototype.hide=function(A){if(this.eventUtil.getTarget(A)!=this.element&&this.isVisible()){this.menu.style.display="none";this.eventUtil.removeListener(document,"click",this.hide)}};YAHOO_UH.DropdownMenu.prototype.show=function(C){if(!this.isVisible()){var B=this.domUtil.getXY(this.element);this.menu.style.display="block";var E=(this.hAlign=="left")?B[0]:(this.domUtil.getRegion(this.element).right-this.menu.offsetWidth);var D=0;if(this.vAlign=="container_bottom"){var A=this.domUtil.getXY(this.domUtil.get("ygmabot"));D=A[1]}else{if(this.vAlign=="element_bottom"){D=B[1]+this.element.offsetHeight}}this.domUtil.setXY(this.menu,[E,D]);this.eventUtil.addListener(document,"click",this.hide,this,true);this.currentActiveItem=null}};YAHOO_UH.DropdownMenu.prototype.isVisible=function(){return("block"==this.menu.style.display)};YAHOO_UH.DropdownMenu.prototype.actByKey=function(B){var A=(window.event)?B.keyCode:B.which;switch(A){case 40:this.show(B);this.setFocusOnItem(null===this.currentActiveItem?this.startAt:(this.currentActiveItem+1));break;case 38:if(this.isVisible()){if(this.startAt===this.currentActiveItem){this.setFocusOnItem(this.menuItems.length-1)}else{this.setFocusOnItem(this.currentActiveItem-1)}}break;case 27:this.hide(B);this.element.focus();break;case 13:if(!this.isVisible()){this.eventUtil.preventDefault(B);this.show(B);this.setFocusOnItem(null===this.currentActiveItem?this.startAt:(this.currentActiveItem+1))}break;default:break}};YAHOO_UH.DropdownMenu.prototype.setFocusOnItem=function(C){C=(C>=this.menuItems.length)?this.startAt:C;var B=this.menuItems[C];var A=false;if(B.childNodes.length>=1){for(i in B.childNodes){if(B.childNodes.nodeType==1&&B.childNodes.nodeName.toLowerCase()=="a"){B.childNodes.focus();this.currentActiveItem=C;A=true;break}}if(!A){B.focus();this.currentActiveItem=C}}else{B.focus();this.currentActiveItem=C}};YAHOO_UH.MYYHP=function(D,C,B,A){this.link=document.getElementById(C);this.ctx=document.getElementById(D);this.helper=B;this.eventUtil=B.getEventUtil();this.domUtil=B.getDomUtil();this.ie=(document.all)?true:false;this.firefox=navigator.userAgent.toLowerCase().indexOf("firefox")>0;this.hotlistInfo=A;this.hm=document.createElement("a");this.hm.href="http://www.yahoo.com";this.hm.style.behavior="url(#default#homepage)";if(document.cookie.indexOf("HP=")<0){this.link.style.visibility="visible";this.setHp()}else{this.link.style.visibility="hidden"}};YAHOO_UH.MYYHP.prototype.close=function(A){this.ctx.style.display="none";this.eventUtil.removeListener(this.domUtil.get("ygmashpdclose"),"click",this.close)};YAHOO_UH.MYYHP.prototype.setHp=function(){this.ctx.innerHTML='<iframe name="ygmaprocframe" id="ygmaprocframe" width="0" height="0" style="width:0;height:0;" frameborder="0"></iframe><style type="text/css">#ygmashpd{display:none;font:normal x-small verdana;position:relative;top:8px;left:-200px;display:block; #background-color:#CCC;}#ygmashpd{-moz-border-radius:4px;background:#ccc;z-index:1000;position:absolute;}#ygmashpd .bd{border:1px solid #4333BC;-moz-border-radius:4px;width:360px;background:#fff;position:relative;top:-2px;left:-2px;z-index:1001;color:#333;}#ygmashpd #pnt{position:absolute;top:-6px;left:70%;width:11px;height:6px;font-size:0px;background:url(http://l.yimg.com/us.yimg.com/i/us/uh/b ... ite_v1.gif) no-repeat -29px -0px;}#ygmashpd .ygmashp{width:40px;height:37px;font-size:0px;line-height:0px;top:10px;left:10px;display:block;position:absolute;background:url(http://l.yimg.com/us.yimg.com/i/us/uh/b ... ite_v1.gif) no-repeat -0px -16px;);}#ygmashpd .ygmashp strong{display:none;}#ygmashpd ol#ygmahpinstr{margin:9px 9px 9px 60px;padding:0 0 0 1.5em;*padding:0;list-style-type:decimal;list-style-position:outside;}#ygmashpd .hr{border-color:#ccc;margin:0 19px 5px;}#ygmashpd p{margin:0 9px 9px;text-align:center;}#ygmashpd a#ygmashpdclose,#ygmashpd a#ygmashpdetails{color:#000000;text-decoration:underline;}</style>';var A=(this.ygmaie)?0:1;var C=(window.history.length==A);if(this.ie){try{if(this.hm.isHomePage("http://www.yahoo.com")||this.hm.isHomePage("http://www.yahoo.com/")){this.link.style.visibility="hidden";document.cookie="HP=1;path=/;domain=yahoo.com"}else{this.eventUtil.addListener(this.link,"click",this.setHpInIe,this,true)}}catch(B){}}else{if(this.firefox){this.ctx.innerHTML+=this.getFirefoxHpSetSteps();this.eventUtil.addListener(this.link,"click",this.setHpInFirefox,this,true)}}};YAHOO_UH.MYYHP.prototype.setHpInIe=function(A){this.eventUtil.preventDefault(A);this.loadBeacon("ie");this.hm.setHomePage(this.hm.href);ygmaprocframe.location.replace("http://www.yahoo.com/includes/hdhpdetect.php?hp="+this.hm.href+"&hpid=1&ygma_rd="+this.hotlistInfo.ygma_rd+"&ygma_space="+this.hotlistInfo.ygma_space+"&ygma_space2="+this.hotlistInfo.ygma_space2+"&ygma_space3="+this.hotlistInfo.ygma_space3+"&ygma_adid="+this.hotlistInfo.ygma_adid+"&ygma_prop="+this.hotlistInfo.ygma_prop)};YAHOO_UH.MYYHP.prototype.setHpInFirefox=function(A){this.eventUtil.preventDefault(A);this.loadBeacon("ff");this.eventUtil.addListener(this.domUtil.get("ygmashpdclose"),"click",this.close,this,true);this.ctx.style.display=(this.ctx.style.display=="block")?"none":"block"};YAHOO_UH.MYYHP.prototype.getFirefoxHpSetSteps=function(){return'<div id="ygmashpd" class="shdw"><div class="bd"><div id="pnt"></div><a title="Yahoo!" class="ygmashp" href="http://www.yahoo.com/"><strong>Yahoo!</strong></a><ol id="ygmahpinstr"><li>Drag the "Y!" and drop it onto the "House" icon.</li><li>Select "Yes" from the pop up window.</li><li>Nothing, you\'re done.</li></ol><div class="hr"></div><p>If this didn\'t work for you or you want more detailed instructions <a id="ygmashpdetails" class="ygmashps" href="http://www.yahoo.com/bin/set">click here</a>.</p><p><a href="javascript:void(0);" id="ygmashpdclose">Close this window</a></p></div></div>'};YAHOO_UH.MYYHP.prototype.loadBeacon=function(A){var B=new Image();B.src=this.hotlistInfo.ygma_rd+this.hotlistInfo.ygma_space+"/*http://www.yahoo.com/bin/set?adid="+thi ... ;if(typeof YAHOO_UH.DomUtil!="undefined"){args.domUtil=new YAHOO_UH.DomUtil()}else{args.domUtil=YAHOO.util.Dom}if(typeof YAHOO_UH.EventUtil!="undefined"){args.eventUtil=new YAHOO_UH.EventUtil()}else{args.eventUtil=YAHOO.util.Event}if(typeof YAHOO_UH.gHelper=="undefined"){YAHOO_UH.gHelper=new YAHOO_UH.Helper(args)}}();YAHOO_UH.initMyyhp=function(){var A=new YAHOO_UH.MYYHP("ygmamyyhpctx","ygmamyyhp",YAHOO_UH.gHelper,YAHOO_UH.gHotlistInfo)};if(YAHOO_UH.hasMyyhp){YAHOO_UH.gHelper.getEventUtil().addListener(window,"load",YAHOO_UH.initMyyhp,window)}if(YAHOO_UH.hasMenus){YAHOO_UH.gHelper.getEventUtil().addListener(window,"load",YAHOO_UH.initUHObjects,window)};