<!--// Hide Javascript

//file anchsversion1.js
//amended 17/02/05

  if (self.screen){
    width=screen.width
    height=screen.height
  }
  else if (self.java){
    var jkit = java.awt.Toolkit.getDefaultToolkit();
    var scrsize = jkit.getScreenSize();
    width = scrsize.width;
    height = scrsize.height;
  }

function openWindow(){
  if (width==560) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=630, height=400, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==640) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=630, height=400, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==720) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=720, height=450, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==768) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=768, height=520, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==790) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=790, height=520, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==795) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=795, height=520, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==800) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=795, height=520, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==832) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=832, height=530, resizable=1, left=0, top=0'); 
    return false;
  }
  if (width==960) {
    window.open('chesssmall.html', 'newWindow', 'status=1, scrollbars=1, width=960, height=570, resizable=1, left=0, top=0'); 
    return false;
  }
  window.open('chess.html', 'newWindow', 'status=1, scrollbars=1, width=1015, height=690, resizable=1, left=0, top=0'); 
  return false;
}

// (c) Copyright Ian James Douglas MacGregor and Ian Ross MacGregor, 2001-2005.
// All rights reserved.
// This website (including its constituent html, javascript and image files), may not be 
// copied, printed out, or ammended in any way, without the written permission of the 
// copyright holders.

// End hiding -->

