/*
// $Id: popup_functions.js,v 1.2 2006/11/29 19:30:01 karenk Exp $
// $Revision: 1.2 $
// $Author: karenk $
//
// $Log: popup_functions.js,v $
// Revision 1.2  2006/11/29 19:30:01  karenk
// add weather/mountain cams page/styles/functions
//
*/
	
function popup_OpenWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function popup_CenteredOpenWindow(theURL,winName,features,offset) {
   LeftPosition = (screen.width) ? (screen.width-offset)/2 : 0;   
   TopPosition = (screen.height) ? (screen.height-offset)/2 : 0;
   window.open(theURL,winName,features +
	",top=" + TopPosition + ",left=" + LeftPosition );
}
