// ACH: Contains all ACH custom Javascript except the Google Maps API code.

// Opens pop-up windows (duh)
// when used like this it makes an effective popup blocker and retro-compatible friendly solution: 
// <a href="URL" target="sWinNameValue" onClick="popupOpener(iWidth,iHeight,'sWinNameValue',[sUrl]);">TAG!</a>
// note that sUrl is provided in case you don't have control over the target attribute.
function popupOpener(sHeight,sWidth,sWinName,sUrl,sAttributes){
if(sAttributes == undefined){
	var sAttributes = "height="+sHeight+",width="+sWidth+",scrollbars=yes,toolbars=no,resizable";}
else{
	var sAttributes = "height="+sHeight+",width="+sWidth+","+sAttributes;}	
	
if (!sUrl){
	var popWin = window.open('',sWinName, sAttributes);}
else {
	var popWin = window.open(sUrl,sWinName, sAttributes)
	}
popWin.focus();
}
