<script type="text/javascript">
function myarr(){
var arr=Array('*','##',"***","&&","****","##*","*#*");
arr[7]="**";
var arr1=Array();
var j=0;
for(var i=0;i<arr.length;i++)
{
document.write(arr[i]+"<br/>");
if(arr[i]!=undefined){
arr1[j]=arr[i];
j++;
}
}
document.write(arr1+"<br/>");
for(var m=0;m<arr1.length;m++)
{
var newarr = arr1.split('');
for(var n=0;n<newarr.length;n++)
{
if(arr2[n]!="*")
{arr1.splice(i,1);break;}
}
document.write(arr1+"<br/>");
}
}
myarr();
</script>
mingsixue