// JavaScript Document
//Thanks to http://www.howtocreate.co.uk/tutorials/javascript/browserwindow
function alertSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    myHeight = window.innerHeight;     //Non-IE
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    myHeight = document.documentElement.clientHeight; //IE 6+ in 'standards compliant mode'
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    myHeight = document.body.clientHeight;    //IE 4 compatible
  }

 var content=document.getElementById("content");
 var flash=document.getElementById("flash");
 var copybar=document.getElementById("copybar");

 // Minimum Height Requirement.
 if (myHeight<535)
 	myHeight=535;
	
 var ycopybar=myHeight-50;
 var hcontent=ycopybar-270;
 
 copybar.style.top=ycopybar+"px";
 content.style.height=hcontent+"px";
}
