//商务QQ代码
function IsInstallQQ(){

try{//支持
var xmlhttp=new ActiveXObject("TimwpDll.TimwpCheck");	
return true;			
}catch(e){//不支持

location.href='http://is.qq.com/webpresence/up_alarm.shtml';
//window.open('http://is.qq.com/webpresence/up_alarm.htm','','toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=yes,resizable=no,copyhistory=no,width=410, height=410,top=0,left=0')
return false;
}
return false;
}

function IsInstallSupMiniQQ(){

try{//支持			
var xmlhttp=new ActiveXObject("TimwpDll.TimwpCheck");
var  n = xmlhttp.GetVersion();	
if (n < 2.1)
{
location.href='http://is.qq.com/up_alarm.shtml';			
return false;
}
return true;			
}catch(e){//不支持

location.href='http://is.qq.com/up_alarm.shtml';			
return false;
}
return false;
}

function callqq(id){
var boolFals=IsInstallQQ(); 
if(boolFals==true){ 
location.href='Tencent://Message/?Menu=yes&Uin=' + id + '&websiteName=www.myic.net';
//			setTimeout('window.opener=null;window.close()', 1 );
}
}