/* static javascript log-script ah 20050726 ngrhldm24@schule.suedtirol.it */

/*
workspace, chapter, scope are defined in template
*/

url = new String(document.URL);
a = url.split('?');
a1 = a[0].split('/');
fromhtm = a1[a1.length-1];
if (a[1]) {
	a2 = a[1].replace(/\&/g,'---');
	fromhtm = fromhtm + '?' + a2;
}

document.write('<script src=\"http://www.blikk.it/admin/logging/log.php?' +
					'workspace=' + workspace +
					'&chapter=' + chapter +
					'&event=' + scope +
					'&fromhtm=' + fromhtm +
					'&action=read' +
					'\"><\/script>');
					
// google-tracker (experimental)
//document.write('<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>');
//document.write('<script type=\"text/javascript\"> _uacct=\"UA-1788114-1\"; urchinTracker(); </script>');

