<HTML> <BODY> <SCRIPT language="JavaScript"> <!-- var myVar="AA"; if(myVar=="AA") { window.alert("AA"); } else { window.alert("Not AA"); } //--> </SCRIPT> </BODY> </HTML>