hmm nope that didn't do it. i am still getting this popup when values=null
<SCRIPT language='JavaScript'>
var values=null;
if ( values != null);
{
var theURL = "pop_graph.php?categoryValues=<? echo $categoryValues; ?>&countValues=<?echo $countValues; ?>&colorValues=ff0000,ff9999,ff6666,ffcccc,ff3333"
var winName = "graph"
var features = "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=350"
surveyWin=window.open(theURL,winName,features);
surveyWin.focus();
}
</SCRIPT>