<html>
<head>
</head>
<body >
<script type="text/javascript">
function scream(animal) {
switch(animal){
case "dog":
document.write('wangwang');
return;
case "cat":
document.write('miao');
return;
case "sheep":
document.write('mie~mie~');
return;
}
}
</script>
</body>
</html>