[ 2005/02/04 12:06 | by 网络毛毛虫 ]
| |
<SCRIPT language=JavaScript>
function defaultwin(){
var exitwin,url,ownwin;
url = 'http://www.123xia.com';
exitwin = window.open(url,'nowexitwin');}
function get_cookie(Name) {
var search = Name + '='
var returnvalue = '';
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(';', offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function loadpopup(){
if (get_cookie('popped')==''){
defaultwin()
document.cookie='popped=yes'
}
}
window.onload=loadpopup;
</SCRIPT>
技术文章 | 评论(0) | 引用(0) | 阅读(2025)
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]