You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.1 KiB

5 years ago
var logoIsShowEvent={run:function(){var c=document.getElementById("fbIconDiv");var b=document.getElementById("logoArea");if(!c){var a=document.getElementById("mob-bd-adIcon")||document.getElementById("bd-adIcon");if(a){b.style.display="none";this.bind(a,"click",this.logoAreaClk);this.bind(a,"mouseover",this.logoAreaClk)}else{this.bind(b,"click",this.logoAreaClk);this.bind(b,"mouseover",this.logoAreaClk)}}else{b.style.display="none";this.bind(c,"click",this.logoAreaClk);this.bind(c,"mouseover",this.logoAreaClk)}},logoAreaClk:function(b){try{var a=document.getElementById("bd-logo")||document.getElementById("bd-logo4");a.style.display="block"}catch(b){}},bind:function(a,c,b){if(a.addEventListener){a.addEventListener(c,b,false)}else{a.attachEvent("on"+c,b)}},getAttr:function(b,a){if(b&&b.getAttribute){return b.getAttribute(a)}else{return b[a]}},formatEventObj:function(a){a=a||window.event;a.target=a.target||a.srcElement;return a},stopEvent:function(a){if(a&&a.stopPropagation){a.stopPropagation()}else{window.event.cancelBubble=true}if(a&&a.preventDefault){a.preventDefault()}return false}};this.logoIsShowEvent.run();