//<html>
//<head><!-- PageID 15 - published by RedDot 7.1 - 7.1.0.22 - 16807 -->
//<title></title>
//template="con_901_source_js"
//RD_title="makepagecoords.js"
//RD_ownID="15"
//RD_ownURL="/ca_sys/js/makepagecoords.js"
//</head>
//<body>


 function makePageCoords(){
  this.x=0;this.x2=(bw.ns4 || bw.ns5)?innerWidth:document.body.offsetWidth-20;
  this.y=0;this.y2=(bw.ns4 || bw.ns5)?innerHeight:document.body.offsetHeight-5;
  this.x50=this.x2/2;  this.y50=this.y2/2;
  return this;
 }
 var page=new makePageCoords(); // Nach dem Laden der Seite
 function changesize(){
  page2=new makePageCoords()
  var deltaX = Math.abs( page2.x2-page.x2 );
  var deltaY = Math.abs( page2.y2-page.y2 );
  if( deltaX>20 || deltaY>20 ) location.reload()
 }
 if (bw.ie4 || bw.ie5) {
  changechecker = setTimeout("window.onresize=changesize;",500);   
  changechecker = setTimeout("window.onresize=changesize;",4000);
 }
 changechecker = window.setInterval("changesize()",2000);  // NS and IE

//</body>
//</html>
// reddot needs this:
//