// get base url from original script tag src
var js = document.getElementById ("stats_script");
z_base_url = js.src.substring (0, js.src.lastIndexOf ("/") + 1);
// we need cookies module
document.write ('<script type="text/javascript" src="' + z_base_url + 'cookies.js"></script>');
// include basicstats.js last
document.write ('<script type="text/javascript" src="' + z_base_url + 'basicstats.js"></script>');
