var bookmarkurl="http://www.kikky.net/pc/"; var bookmarktitle="kikky PC Site"; function setStartPage(o) { var ua = navigator.userAgent; var ie = ua.indexOf("MSIE"); var iever = parseInt(ua.substring(ie+5, ie+6)); var os = ua.indexOf("Windows"); if(ie > 0 && iever >= 5 && os > 0 && !window.opera){ document.body.style.behavior = "url('#default#homepage')"; document.body.setHomePage(bookmarkurl); }else { location.href=bookmarkurl; } } if (window != top) top.location.HREF = location.HREF; function bookMark() { if (document.all){ document.write('
It adds it in the favorite.
'); } if (window.sidebar&&window.sidebar.addPanel) { document.write('
It adds it in the favorite.
'); } } function addbookmark2(){ if (document.all){ window.external.AddFavorite(bookmarkurl,bookmarktitle); } return 1; } function addbookmark(){ try{ addbookmark2() }catch(e){ alert('It is a function that cannot be used in a browser used.'); } } function addNS6sidebar() { if (window.sidebar&&window.sidebar.addPanel) window.sidebar.addPanel(bookmarktitle,bookmarkurl,""); } function getCookie(key, tmp1, tmp2, xx1, xx2, xx3) { tmp1 = " " + document.cookie + ";"; xx1 = xx2 = 0; len = tmp1.length; while (xx1 < len) { xx2 = tmp1.indexOf(";", xx1); tmp2 = tmp1.substring(xx1 + 1, xx2); xx3 = tmp2.indexOf("="); if (tmp2.substring(0, xx3) == key) { return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1))); } xx1 = xx2 + 1; } return(""); } function setCookie(key, val, tmp) { tmp = key + "=" + escape(val) + "; "; // tmp += "path=" + location.pathname + "; "; tmp += "expires=Fri, 31-Dec-2030 23:59:59; "; document.cookie = tmp; } function clearCookie(key) { document.cookie = key + "=" + "xx; expires=1-Jan-1997 00:00:00;"; } function htmlescape(key) { return key.replace(/"/g,'"').replace(/&/g,'&').replace(//g,'>'); }