<!--


newWin = '';

function swapImage(imgName,newImage){

folder = "images/";

theImage = eval("document."+imgName) ;
theImage.src = folder+newImage.split(".htm").join(".gif");

}


function openWindow(pageName,winWidth,winHeight){
	
	

  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
 /* window.alert( 'Width = ' + myWidth );
  window.alert( 'Height = ' + myHeight );*/

	

if (!self.screenX){ // Opera, IE: ignore chrome - gives screen coords of start of browser content
		//alert(self.screenLeft);    alert(self.screenTop);
		
		leftCoord = self.screenLeft + 180;
		topCoord = self.screenTop + -10
		
		
		//alert(leftCoord+ " "+topCoord);
	} else if (self.screenX){ // Mozilla, NN: returns position of outside chrome. top,left corner of chrome
		//alert(self.screenX); alert(self.screenY); 
		leftCoord = self.screenX + 180;
		topCoord = self.screenY + 140;
		//alert(leftCoord+ " "+topCoord);
	}

		
attributes = eval("'width=" + winWidth + ",height=" + winHeight +  ",left=" + leftCoord + ",top="+ topCoord + ",resizable=1,toolbar=0,location=0,status=0,scrollbars=1'");
if (newWin && newWin.open){
newWin.close();
newWin = window.open(pageName,'newWin',attributes);


} else{

newWin = window.open(pageName,'newWin',attributes);
}



}


//-->
