©EkendraLamsal.com, Please, right click for details. |
.skin0 { BORDER-RIGHT: black 2px solid; BORDER-TOP: black 2px solid; VISIBILITY: hidden; BORDER-LEFT: black 2px solid; WIDTH: 200px; CURSOR: default; LINE-HEIGHT: 20px; BORDER-BOTTOM: black 2px solid; FONT-FAMILY: Verdana; POSITION: absolute; BACKGROUND-COLOR: menu; TEXT-ALIGN: left } .skin1 { BORDER-RIGHT: buttonhighlight 2px outset; BORDER-TOP: buttonhighlight 2px outset; FONT-WEIGHT: normal; FONT-SIZE: 10pt; VISIBILITY: hidden; BORDER-LEFT: buttonhighlight 2px outset; WIDTH: 120px; CURSOR: default; BORDER-BOTTOM: buttonhighlight 2px outset; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; POSITION: absolute; BACKGROUND-COLOR: menu; TEXT-ALIGN: left; FONT-VARIANT: normal } .menuitems { PADDING-RIGHT: 10px; PADDING-LEFT: 15px } DIV.Section1 { page: Section1 } <!– Begin var menuskin = "skin1"; // skin0, or skin1 var display_url = 0; // Show URLs in status bar? function showmenuie5() { var rightedge = document.body.clientWidth-event.clientX; var bottomedge = document.body.clientHeight-event.clientY; if (rightedge < ie5menu.offsetWidth) ie5menu.style.left = document.body.scrollLeft + event.clientX – ie5menu.offsetWidth; else ie5menu.style.left = document.body.scrollLeft + event.clientX; if (bottomedge
if (document.all && window.print) { ie5menu.className = menuskin; document.oncontextmenu = showmenuie5; document.body.onclick = hidemenuie5; } //1) specify URLs to randomly select from and pop-under: //To display a single URL, just remove all but the first entry below: var popunder=new Array() popunder[0]=”http://www.i-geek.blogspot.com” popunder[1]=”http://www.morons-world.blogspot.com” //2) specify popunder window features //set 1 to enable a particular feature, 0 to disable var winfeatures=”width=800,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0″ //3) Control frequency of the pop up: //”always”, for every time page loads OR //”x hours” for once per x hours, where x is an integer (ie: 12 hours) var popfrequency=”24 hours” ///No editing beyond here required///// function get_cookie(Name) { var search = Name + “=” var returnvalue = “”; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(“;”, offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function resetcookie(){ var expireDate = new Date() expireDate.setHours(expireDate.getHours()-10) document.cookie = “tcpopunder=;path=/;expires=” + expireDate.toGMTString() } function loadornot(){ if (get_cookie(‘tcpopunder’)==”){ loadpopunder() var expireDate = new Date() expireDate.setHours(expireDate.getHours()+parseInt(popfrequency)) document.cookie = “tcpopunder=”+parseInt(popfrequency)+”;path=/;expires=” + expireDate.toGMTString() } } function loadpopunder(){ win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],””,winfeatures) win2.blur() window.focus() } if (popfrequency==”always”){ resetcookie() loadpopunder() } else{ if (get_cookie(‘tcpopunder’)!=parseInt(popfrequency)) resetcookie() loadornot() }