复制代码 代码如下:
<scripttype="text/javascript">
/**
*functionloadScript
*Copyright(C)2006DaoGottwald
*
*Thislibraryisfreesoftware;youcanredistributeitand/or
*modifyitunderthetermsoftheGNULesserGeneralPublic
*LicenseaspublishedbytheFreeSoftwareFoundation;either
*version2.1oftheLicense,or(atyouroption)anylaterversion.
*
*Thislibraryisdistributedinthehopethatitwillbeuseful,
*butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof
*MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.SeetheGNU
*LesserGeneralPublicLicenseformoredetails.
*
*YoushouldhavereceivedacopyoftheGNULesserGeneralPublic
*Licensealongwiththislibrary;ifnot,writetotheFreeSoftware
*Foundation,Inc.,51FranklinStreet,FifthFloor,Boston,MA02110-1301USA
*
*Contactinformation:
*DaoGottwald<daoatdesign-noir.de>
*Herltestra?e12
*D-01307,Germany
*
*@version1.5
*@urlhttp://design-noir.de/webdev/JS/loadScript/
*/
functionloadScript(url,callback){
varscript=document.createElement('script');
script.type='text/javascript';
/*shouldbeapplication/javascript
*http:///urchin.js',function(){
window._uacct='UA-xxxxxx-x';
urchinTracker();
});
},false);
</script>
