/*---------------------------------------------------------------------------*/ | Subject: JavaScript Framework | Author: meizz | Created: 2005-02-27 | Version: 2006-08-31 |----------------------------------- | MSN: huangfr@msn.com QQ:112889082 Copyright (c) meizz | http://www.meizz.com/jsframework/ MIT-style license | The above copyright notice and this permission notice shall be | included in all copies or substantial portions of the Software /*---------------------------------------------------------------------------*/
System.MISSING_ARGUMENT="Missing argument"; System.ARGUMENT_PARSE_ERROR="The argument cannot be parsed"; System.NOT_SUPPORTED_XMLHTTP="Your browser do not support XMLHttp"; System.FILE_NOT_FOUND="File not found"; System.MISCODING="Maybe file encoding is not ANSI or UTF-8"; System.NAMESPACE_ERROR=" nonstandard namespace";
System.hashCounter=0; System.currentVersion="20060831"; var t=document.getElementsByTagName("SCRIPT"); t=(System.scriptElement=t[t.length-1]).src.replace(////g, "/"); System.extend=function(d,s){for(var i in s)d[i]=s[i];return d;}; System.path=(t.lastIndexOf("/")<0)?".":t.substring(0, t.lastIndexOf("/")); System.getUniqueId=function(){return "mz_"+(System.hashCounter++).toString(36);}; System.toHashCode=function(e) { if("undefined"!=typeof e.hashCode) return e.hashCode; return e.hashCode=System.getUniqueId(); }; System.supportsXmlHttp=function() { return "object"==typeof(System._xmlHttp||(System._xmlHttp=new XMLHttpRequest())); }; System._getPrototype=function(namespace, argu) { if("undefined"==typeof System._prototypes[namespace])return new System(); for(var a=[], i=0; i<argu.length; i++) a[i]="argu["+ i +"]"; return eval("new (System._prototypes['"+namespace+"'])("+a.join(",")+")"); }; System.ie=navigator.userAgent.indexOf("MSIE")>0 && !window.opera; System.ns=navigator.vendor=="Netscape"; System.alert=function(msg){if(System.debug)alert(msg);}; System._parseResponseText=function(s) { if (null==s||"/uFFFD"==s.charAt(0)){System.alert(System.MISCODING);return "";} if ("/xef"==s.charAt(0))s=s.substr(3); //for firefox return s.replace(/(^|/n)/s*////+/s*((Using|Import|Include)/((/"|/'))/g,"$1$2"); };