<!--
// Script By Dieter Kurz 09.06.00  http://www.diku.de  mailto:dieter@diku.de
 function Format(f,l){
 /*
 s = "                                                 ";
if (f.lngth > l){
        f = f.substring(1,l);
}
else
        if (f.length < l){
                f = f+s.substring(1,l-f.length);

        }

 */
return f;
}
function FormVal(v){
        if ( v < 10 ){
                v = '0'+v;
        }
        return v;
}
function GetTime(){
        cDate = new Date();

        return        FormVal(cDate.getHours())+':'+FormVal(cDate.getMinutes());
}
function GetDate(){
        cDate = new Date();
        return FormVal(cDate.getDate())+'.'+FormVal(cDate.getMonth()+1)+'.'+cDate.getYear();
}

function GetUserCookie(){
         cScreen = screen.width+'x'+screen.height;
         cBrow = navigator.appName+' : '+navigator.appVersion;
	 cRef = document.referrer;		
         cOS = navigator.platform;
// prüfen ob cookie vorhanden
 coo = document.cookie;
if (document.cookie == ""){
        cDate = new Date();
        document.cookie = Date.parse(cDate)+';path=/';
        coo = document.cookie;
	if (coo == ""){
	coo = "X"+Date.parse(cDate);
	xcoo = coo.substring(2,12);
	coo = "X"+xcoo;
	}
        dc = 'N-'+coo+' | '+GetDate()+' | '+GetTime()+' | '+document.title
+
                             ' | '+cScreen+' | '+cOS+' | '+cRef+' | ';
        }
 else
     dc = 'I-'+coo+' | '+GetDate()+' | '+GetTime()+' | '+document.title+' | ';
return         dc;
}
function SetUserInfo(){
// Dumy for Compatib
}
function SaveMain(p){
coo = document.cookie;
 dc = "ERROR"
if ( p == "-A-") {
   dc = 'O-'+coo+' | '+GetDate()+' | '+GetTime()+' | '+document.title+' | ';
}
if ( p == "-E-") {
  dc = GetUserCookie();
im = new Image(1,1);
 im.src="http://212.162.15.186/stat/save.pl?"+escape(dc);
}
}
function SaveLink(url,alt){
coo = document.cookie;
dc = 'L-'+coo+' | '+GetDate()+' | '+GetTime()+' | '+document.title+' | '+url+' | '+alt+' | ';
im = new Image(1,1);
 im.src="http://212.162.15.186/stat/save.pl?"+escape(dc);
}
function GoTo(url,alt){
	open(url,"_blank");
	SaveLink(url,alt);}
function SetStat(q){t = 'NC';
if (q == 'DENIC') {t = document.forms[0].domainname.value;}
if (q == 'CHECKDOM') {t = document.forms[1].domain.value;}
if (q == 'RIPE') {t = document.forms[2].query.value;}
SaveLink(q+'   '+t);}




//-->