// show startBox
window.onload = function showStartBox() {
	Element.hide('startBox'); 
	new Effect.Appear('startBox',{duration: 3});
}

// get page size browser independent 
function getPageSize() {
  var x,y;
  if (self.innerHeight) // all except Explorer
  {
    x = self.innerWidth;
    y = self.innerHeight;
  }
  else if (document.documentElement && document.documentElement.clientHeight)
    // Explorer 6 Strict Mode
  {
    x = document.documentElement.clientWidth;
    y = document.documentElement.clientHeight;
  }
  else if (document.body) // other Explorers
  {
    x = document.body.clientWidth;
    y = document.body.clientHeight;
  }
  var x1,y1;
  var test1 = document.body.scrollHeight;
  var test2 = document.body.offsetHeight
  if (test1 > test2) // all but Explorer Mac
  {
    x1 = document.body.scrollWidth;
    y1 = document.body.scrollHeight;
  }
  else // Explorer Mac;
     //would also work in Explorer 6 Strict, Mozilla and Safari
  {
    x1 = document.body.offsetWidth;
    y1 = document.body.offsetHeight;
  }

  arrayPageSize = new Array(x,y,x1,y1) 
  return arrayPageSize;
}



