var $=function(A)
{
	return document.getElementById(A)
	};
	function Copytxt(B)
	{
		var A=document.body.createTextRange();
		A.moveToElementText($(B));A.select();
		document.execCommand("Copy")
		}
		function button10_onclick(E)
		{
			try
			{
				var A=new ActiveXObject("HCLogin.DetectHcIM");
				var B=E;var C=A.join_qun(B)
				}
				catch(D)
				{
					return false
					}
					return true
					}
					function sjb_CallFriend(B)
					{
						try
						{
							var D=new ActiveXObject("HCLogin.DetectHcIM");
							var A;A=D.IMIsStart();
							if(A==1)
							{
								alert("\u4e70\u5356\u901aIM\u672a\u8fd0\u884c\uff0c\u8bf7\u5148\u8fd0\u884c\u4e70\u5356\u901aIM\uff01")
								}
								else
								{
									D.chat_with_friend(B)
									}
									}
									catch(C)
									{
										window.open("http://www.baixun.cn/pop3.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,copyhistory=no,width=310,height=156")
										//window.open("http://www.im.hc360.com/pop3.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,copyhistory=no,width=310,height=156")
										}
										return false
										}
										function delbr(G,C)
										{
											var D=$(G);
											var E=D.getElementsByTagName("td");
											var B,A,F;for(i=0;i<E.length;i++)
											{
												B=E[i].innerHTML;
												if(C==1)
												{
													E[i].innerHTML=B.substring(0,B.length-4)
													}
													else
													{
														E[i].innerHTML=B.replace(/(\<br\>)+/gi,"<br>")
														}
														}
														}
														function endAdv(C,B,A)
														{
															$(C).style.height=A+"px";$(C).innerHTML=$(B).innerHTML;$(B).innerHTML=""
															}
															function inputFocus(A)
															{
																$(A).focus()
																}
																function urlIndex(B,F,M)
																{
																	var K=new Array;
																	var J=new Array;
																	var L=new Array;
																	var N,E,I,A,C;K=document.getElementsByTagName("a");
																	for(var H=0;H<K.length;H++)
																	{
																		if(K[H].href==B)
																		{
																			N=H;J.push(N)
																			}
																			}
																			if(arguments[2]==null)
																			{
																				E=location.href;if(E.indexOf("html")==-1&&E.indexOf("htm")==-1)
																				{
																					I="index"
																					}
																					else
																					{
																						I=E.substring(E.lastIndexOf("/")+1,E.lastIndexOf("."))
																						}
																						}
																						else
																						{
																							I=location.search.substring(1)
																							}
																							L=location.href.split(".");
																							for(var D=0;D<L.length;D++)
																							{
																								if(L[D].toLowerCase()=="hc360")
																								{
																									C=D;break}}if(C!=2)
																									{
																										A=L[0].substring(L[0].indexOf("http://")+7).toLowerCase();
																										if(A=="www"||A=="active"||A=="info")
																										{
																											A=""
																											}
																											else
																											{
																												A=A+"_"
																												}
																												}
																												else
																												{
																													A=L[1]+"_"
																													}
																													for(var G=0;G<J.length;G++)
																													{
																														K[J[G]].href=B+"?"+F+"="+A+I
																														}
}

