晕..那就包含在一个里..
<script>
var 数组1
function a()
{
  数组1 = 值1;
}
function b()
{
  数组2 = 数组2;
}
</script>