function MM_openBrWindow(theURL,winName,features) { //v1.2
  window.open(theURL,winName,features);
 }
 
 function PopUp(PopupUrl, width, height){
  CommonFeatures = ',resizable=yes,menubar=no,location=no,scrollbars=no,status=no,titlebar=no,toolbar=no' 
  popupwin = window.open(PopupUrl,'popupwin','width=' + width + ',height=' + height + CommonFeatures)
  popupwin.focus();
}

function MovePopUp(){
  PopupUrl = "movement.html";
  width = 580
  height = 360
  PopUp(PopupUrl, width, height);
}

function AttachmentPopUp(){
  PopupUrl = "attachment.html";
  width = 220
  height = 320
  PopUp(PopupUrl, width, height);
}

function PouchPopUp(){
  PopupUrl = "/promotions/travel_pouch/index.html";
  width = 422
  height = 236
  PopUp(PopupUrl, width, height);
}

function PouchPopUpTD(){
  PopupUrl = "/promotions/travel_pouch_td/index.html";
  width = 422
  height = 236
  PopUp(PopupUrl, width, height);
}

function PouchPopUpTD2(){
  PopupUrl = "/promotions/travel_pouch_td_2/index.html";
  width = 422
  height = 236
  PopUp(PopupUrl, width, height);
}

function SecurityCodeHelp(){
  PopupUrl = "/cgi-local/help_security_code.html";
  width = 459
  height = 500
  CommonFeatures = ',resizable=yes,menubar=no,location=no,scrollbars=yes,status=yes,titlebar=no,toolbar=no' 
  popupwin = window.open(PopupUrl,'popupwin','width=' + width + ',height=' + height + CommonFeatures)
  popupwin.focus();
}

/*
theoretically netscape can do this with layers, but it doesn't seem to work
if (document.layers)
window.document.layers['id' + i].bgColor = color;

        
*/

function PopUpNav_chgBack(table_cell, action){
	if (action == "over"){
		NewColor = "#99CCFF"
	}
	else{
		NewColor = "#6699cc"
	}
	
	if (document.all){
		document.all[table_cell].style.background = NewColor;
	}
}