	function handleError(msg, url, h)
	{
		try{ MsgrObj.classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28";}
		catch(e){
			if((e.number && 2148139390) == 2148139390) {
				return true;
			}
		} 
	  if (msg.indexOf('8100031e') != '-1') {
	     alert('Please login MSN Messenger.');
	    return true;
	  }
	  return false;
	}
	 
	window.onerror = handleError;
	
	function sendMSNMessage(name,msg)
	{
		if (!oBw.ie) {
			alert(msg);
			return false;
		} else {
			MsgrObj.InstantMessage(name);
			return false;
		}
	}
	
	function addMSNContact(name,msg)
	{
		if (!oBw.ie) {
			alert(msg);
			return false;
		} else {
			MsgrObj.AddContact(0, name);
			return false;
		}
	} /**///
//
//
