var newWindow;
var path = 'http://www.fbi.h-da.de/~a.schuette/Vorlesungen/JavaScript/Beispiele/'


function openWindow(file) 
{
	newWindow = window.open(path+file);
}

function StartClock24() {
 Time24 = new Date();
 Cur24Hour = Time24.getHours();
 Cur24Mins = Time24.getMinutes();
 Cur24Secs = Time24.getSeconds();
 The24Time = (Cur24Hour > 24) ? Cur24Hour - 24 : Cur24Hour;
 The24Time += ((Cur24Mins < 10) ? ':0' : ':') + Cur24Mins;
 The24Time += ((Cur24Secs < 10) ? ':0' : ':') + Cur24Secs;
 document.CForm.Clock24.value = The24Time;
 //window.status = The24Time;
 setTimeout('StartClock24()',1000);
}


function printWindow() {
   var bV = parseInt(navigator.appVersion);
   if (bV >= 4) window.print();
}


function setCookie(name, value) {
  var arg_val = setCookie.arguments;
  var arg_len = setCookie.arguments.length;
  document.cookie = name + "=" + escape(value);
}

function getCookie(position) {
  var end = document.cookie.indexOf(";", position);
  if (end == -1)
    end = document.cookie.length;
  return unescape(document.cookie.substring(position, end));
}







