// COMMON FILES REQUIRE JQUERY (jquery-latest.js)


/* ------------------ ROW STRIPING TABLES ------------ */

//$(document).ready(function(){
//$(".dataTable tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
//$(".dataTable tr:even").addClass("alt");
//});



/*-------------- get web browser dimensions -------------*/
var browserWidth = 0;
var browserHeight = 0;

function getBrowserDimensions()
{  
  if( typeof( window.innerWidth ) == 'number' ) {
    browserWidth = window.innerWidth;
    browserHeight = window.innerHeight;
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    browserWidth = document.documentElement.clientWidth;
    browserHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    browserWidth = document.body.clientWidth;
    browserHeight = document.body.clientHeight;
  }
}

/*-------------- move the container to the center of the page -------------*/
function setPage()
{
	getBrowserDimensions();
	scrollHeight = parseInt(document.getElementById('container').scrollHeight);
	document.getElementById('container').style.top = (browserHeight/2 -scrollHeight/2 - 20) + "px";
}