var date = new Date();
var d  = date.getDate();
var day = (d < 10) ? '0' + d : d;
var m = date.getMonth() + 1;
var month = (m < 10) ? '0' + m : m;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
var datum = (day + "/" + month + "/" + year);

var width=1024
var height=768

//if (screen.width<width||screen.height<height)
//{alert("Stel uw scherm-resolutie in op 1024 bij 768 pixels of hoger voor deze site!!!");
//location.href="about:home"}

function updateClocks()
{
    document.getElementById('datum').innerHTML = datum;
    function padout(number) { return (number < 10) ? '0' + number : number; }
    now = new Date();
    var tijd = padout(now.getHours()) + ':' +
    padout(now.getMinutes()) + ':' + padout(now.getSeconds());
	document.getElementById('tijd').innerHTML = tijd;
    setTimeout('updateClocks()',500);
}

var x = 0, y = 0; // default values

if (document.all) {
  x = window.screenTop + 312;
  y = window.screenLeft + 324;
}
else if (document.layers) {
  x = window.screenX + 0;
  y = window.screenY + 0;
}

function gslogin()
{
      
       if ((is_win == true) && (is_ie6 == true))
       {    
           //WinId = window.open('askfull.html','popup', 'resizable=no,scrollbars=no,status=no,width=200,height=60,top='+y+',screenY='+y+',left='+x+',screenX='+x);
           //if (!WinId.opener) WinId.opener = self;
           location.href="askfull.html"; 
       }
       else if ((is_win == true) && (is_ie == true) && (is_ie6 == false))
       {
           //WinId = window.open('askfull.html','popup', 'resizable=no,scrollbars=no,status=no,width=200,height=60,top='+y+',screenY='+y+',left='+x+',screenX='+x);
           //if (!WinId.opener) WinId.opener = self;
           location.href="askfull.html"; 
       }  
       else if ((is_mac == true) && (is_ie5 == true))
       {
           location.href="../GS/GEDACHTENSTROMEN-nondtd.html"
       }
       else
       {
           location.href="../GS/GEDACHTENSTROMEN.html"
       }
}



