//Function Name: rollOver(imageTagName, imageFileName)
//Added by: Jason Flores
//Date: 4/23/2003
//
//This function should be used for all rollover changes on images.
//  The two input values required are:
//    imageTagName- The name of the image being replaced
//    imageFileName- The path and name of the replacement image
//
function rollOver(imageTagName, imageFileName)
{
  document.images[imageTagName].src=imageFileName;
}



//Function Name: openWindow(url, h, w, m)
//Added by: Jason Flores
//Date: 4/23/2003
//
//This function should be used to open any popup windows.
//  The three required input values are:
//    url- The path/url of the page to be displayed in the new window
//    h- The height of the popup window
//    w- The width of the popup window
//	  m- menu being on or off
//
//  Note: The function evaluates for Netscape browsers and automatically
//        pades 50 pixels to both the height and width to account for browser
//        differences.
//
function openWindow(url, h, w, m)
{
  isNav=(navigator.appName=="Netscape")?true:false;
  isIE=(navigator.appName.indexOf("Microsoft") != -1)?true:false;

  if(m == null)
  {
  	m = 'no';
  }
  
  if (isNav)
  {
    h=h+50;
    w=w+50;
  }

  x=screen.width;
  y=screen.height;
  sX=(x/2)-(w/2);
  sY=(y/2)-(h/2);
  features='menubar='+m+',status=no,location=no,toolbar='+m+',directories=no,scrollbars=yes,';

  if (isNav)
    features+='outerHeight='+h+',outerWidth='+w+',screenX='+sX+',screenY='+sY;
  else
    features+='height='+h+',width='+w+',left='+sX+',top='+sY;

  newWin=window.open(url,"POPUP_WINDOW",features);
}


//Function Name: openInParent(url)
//Added by: Jason Flores
//Date: 4/23/2003
//
//This function should be used to open any links from within popup windows in parent window.
//  The required input value is:
//    url- The path/url of the page to be displayed in parent window
//

function openInParent(url) 
{
	parent.opener.window.location.href = (url);
}









