<html>
<script language="javascript">
function messageChk( message )
{
alert( '메시지는 '+message+ ' 입니다' );
}
</script>
<body>
<%
dim strMessage, nCount
nCount = Request("nCount")
if nCount = "" then
nCount = 1
else
nCount = 2
end if
select case nCount
case 1 strMessage = "1번메시지"
case 2 strMessage = "2번메시지"
end select
%>
<a href="javascript:messageChk('<%=strMessage%>')"> 클릭하세요!!!</a>
</body>
</html>