window.escape=window.encodeURIComponent?encodeURIComponent:escape;
function mo_click(url){(new Image).src="http://www.macrobject.com"+url+"&ref="+escape(location);}
function mo_visit(){(new Image).src="http://www.macrobject.com/PageScript.aspx?page="+escape(location)+"&ref="+escape(document.referrer);}
function mo_gosite(url){h=location.href;r=/http:\/\/[^\/]+\/[^\/]+\//;window.location=h.match(r)?h.replace(r,url):url;}
function mo_gosdoc(url){window.location=url.replace(/(\/[^\/]+$)/,'/search$1');return false;}
{h=location.href;r=/(^http:\/\/[^\/]+?\.cn)\/?$/;if(h.match(r))window.location=h.replace(r,'$1/cn');}