function open_link(url,winID,width,height) {
	var id='newWin', w='700', h='550';
	if(winID!=null && winID.length>0) id=winID;
	if(width!=null && width.length>0) w=width;
	if(height!=null && height.length>0) h=height;
                
	//var args = 'toolbar=yes,directories=no,location=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,width='+w+',height='+h;
	var args = 'toolbar=yes,directories=yes,location=yes,status=yes,menubar=yes,resizable=yes,scrollbars=yes,width='+w+',height='+h;
	var newWindow = window.open(url, id, args);
	newWindow.focus();
}

function open_dgt(cwa,winID) {
	//var url = 'http://www.crh.noaa.gov/product.php?site=NWS&product=DGT&issuedby='+cwa;
	var url = 'http://www.srh.noaa.gov/productview.php?pil=DGT'+cwa;
	var id=cwa, w='800', h='600';
	if(winID!=null && winID.length>0) id=winID;               
	var args = 'toolbar=yes,directories=no,location=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,width='+w+',height='+h;
	var newWindow = window.open(url, id, args);
	newWindow.focus();
}			   	

