function DoInstantMessage(person,screen)
{
//Check if person has messenger installed
try{MsgrObj.classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28";}
catch(e){if(!(e.number && 2148139390) == 2148139390)return;}
//Check if you are logged in
if(MsgrObj.MyStatus == 1)
{
alert("你还没有登陆MSN Messegner。\n在继续之前你必须登陆MSN Messegner");
return;
}
//Check if person is already in contact list
try{var contact = MsgrObj.GetContact(person,"");}
catch(e)
{
if((e.number && 2164261642) == 2164261642) //MSGR_E_USER_NOT_FOUND
{
if(confirm("把 " + screen + " 加入你的列表?") == true) MsgrObj.AddContact(0, person);
}
}
//Ask to send an instant message
if(confirm("给 " + screen + " 发送一个信息?") == true) MsgrObj.InstantMessage(person);
}
function chk_str(form)
{
var str
var strchoice="";
//if (form==null) return true;
str="请输入Email的地址";
if (!checkstring(form.elements("email"),str))return false;
str="无效的Email的地址";
if ( !checkemail(form.elements("email"),str))return false;
document.sendMethod.Submit1.value="1";
}
function checkpoll(form)
{
lenx=form.poll_voteNr.length;
markX=0;
for(i=0;i
|
|
> 〈 关于我们> | 管理团队> | 媒体报道> | 合作机会> | 相关法律> | 联系方式> | 加入收藏 function adda() { window.external.addFavorite('http://www.gznf.net/','羊城网友周刊') } 〉 (C)2000-2004 羊城网友周刊版权所有> |