		function KF_OPEN()
		{
      offHeight = window.screen.height;
      var div = document.createElement("DIV");
      div.id = "KF_Div";
      div.style.left = 0;
      div.style.top  = 0;
      div.style.width    = document.body.scrollWidth;
      //div.style.height   = document.documentElement.scrollHeight;
      div.style.height   = document.body.scrollHeight;
      div.style.position = "absolute";
      div.style.display  = "";
      div.style.zIndex   = "998";
      div.style.filter   = "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
      div.style.backgroundColor = "#2A4A6B";
      div.innerHTML = "<iframe id='FKDIVFrame' style='z-index:0;left:0;top:0;width:" + document.body.scrollWidth + ";height:" + document.body.scrollHeight + ";'></iframe>";
      document.body.appendChild(div);
      
      document.getElementById("FKDIVFrame").style.backgroundColor = "#2A4A6B";
      document.getElementById("FKDIVFrame").style.filter   = "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
      document.getElementById("KF_Content").style.left = (document.body.scrollWidth - 411)/2;
      document.getElementById("KF_Content").style.top = (document.documentElement.scrollHeight - 246)/2;
      document.getElementById("KF_Content").style.display = "block";
    }
    
    function KF_CLOSE()
    {
      var KF_Div = document.getElementById("KF_Div");	
      KF_Div.style.display = "none";
		  document.body.removeChild(KF_Div);	
		  document.getElementById("KF_Content").style.display = "none";
    }
    
    function KF_Display(param)
    {
      KF_NoDisplay();
      document.getElementById(param).style.display = "block";
    }
    
    function KF_NoDisplay()
    {
      document.getElementById("QQ_Div").style.display = "none";
      document.getElementById("MSN_Div").style.display = "none";
      document.getElementById("KF53_Div").style.display = "none";
      document.getElementById("ALI_Div").style.display = "none";
      document.getElementById("SKYPE_Div").style.display = "none";
    }
    
    
    function utf8(wide)
		{ 
			var c, s; 
			var enc = ""; 
			var i = 0; 
			while(i<wide.length)
			{ 
				c= wide.charCodeAt(i++); 
				// handle UTF-16 surrogates 
				if (c>=0xDC00 && c<0xE000) continue; 
				if (c>=0xD800 && c<0xDC00)
				{ 
					if (i>=wide.length) continue; 
					s= wide.charCodeAt(i++); 
					if (s<0xDC00 || c>=0xDE00) continue; 
					c= ((c-0xD800)<<10)+(s-0xDC00)+0x10000; 
				} 
				// output value 
				if (c<0x80) enc += String.fromCharCode(c); 
				else if (c<0x800) enc += String.fromCharCode(0xC0+(c>>6),0x80+(c&0x3F)); 
				else if (c<0x10000) enc += String.fromCharCode(0xE0+(c>>12),0x80+(c>>6&0x3F),0x80+(c&0x3F)); 
				else enc += String.fromCharCode(0xF0+(c>>18),0x80+(c>>12&0x3F),0x80+(c>>6&0x3F),0x80+(c&0x3F)); 
			} 
			return enc; 
		}
		
		var hexchars = "0123456789ABCDEF"; 
		
		function toHex(n)
		{ 
			return hexchars.charAt(n>>4)+hexchars.charAt(n & 0xF); 
		}
		
		var okURIchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-"; 
		
		function encodeURIComponentNew(s)
		{ 
			var s = utf8(s); 
			var c; 
			var enc = ""; 
			for (var i= 0; i<s.length; i++)
			{ 
				if (okURIchars.indexOf(s.charAt(i))==-1) 
					enc += "%"+toHex(s.charCodeAt(i)); 
				else 
					enc += s.charAt(i); 
			} 
			return enc; 
		}
		
		function URLEncode(fld) 
		{ 
			if (fld == "") return false; 
			var encodedField = ""; 
			var s = fld; 
			if (typeof encodeURIComponent == "function") 
			{ 
			// Use javascript built-in function 
			// IE 5.5+ and Netscape 6+ and Mozilla 
				encodedField = encodeURIComponent(s); 
			} 
			else 
			{ 
			// Need to mimic the javascript version 
			// Netscape 4 and IE 4 and IE 5.0 
				encodedField = encodeURIComponentNew(s); 
			} 
			//alert ("New encoding: " + encodeURIComponentNew(fld) + 
			// "\n escape(): " + escape(fld)); 
			return encodedField; 
		}
		
		function ResponseAli(UserID)
		{
			var AliUser=URLEncode(UserID);
			var ImagePath="http://amos.im.alisoft.com/online.aw?v=2&uid=" + AliUser + "&site=cntaobao&s=1&charset=utf-8";
			var MessagePath="http://amos.im.alisoft.com/msg.aw?v=2&uid=" + AliUser + "&site=cntaobao&s=1&charset=utf-8";
			document.write ("<a target=\"_blank\" href=\""+MessagePath +"\" ><img border=\"0\" src=\""+ ImagePath + "\" alt=\"ÁªÏµÎÒ\" /></a>");
		}