浮动广告有关问题

浮动广告问题
我有一段浮动广告.

<div   id= "ad "   style= "position:absolute ">  
<a   href= "http://www.jobcn.com/ "   target= "_blank ">  
<img   src= "images/ad.jpg "   border= "0 ">  
</a> </div>  
<script>  
var   x   =   50,y   =   60  
var   xin   =   true,   yin   =   true  
var   step   =   1  
var   delay   =   10  
var   obj=document.getElementById( "ad ")  
function   floatAD()   {  
var   L=T=0  
var   R=   document.body.clientWidth-obj.offsetWidth  
var   B   =   document.body.clientHeight-obj.offsetHeight  
obj.style.left   =   x   +   document.body.scrollLeft  
obj.style.top   =   y   +   document.body.scrollTop  
x   =   x   +   step*(xin?1:-1)  
if   (x   <   L)   {   xin   =   true;   x   =   L}  
if   (x   >   R){   xin   =   false;   x   =   R}  
y   =   y   +   step*(yin?1:-1)  
if   (y   <   T)   {   yin   =   true;   y   =   T   }  
if   (y   >   B)   {   yin   =   false;   y   =   B   }  
}  
var   itl=   setInterval( "floatAD() ",   delay)  
obj.onmouseover=function(){clearInterval(itl)}  
obj.onmouseout=function(){itl=setInterval( "floatAD() ",   delay)}  
</script>

这段放在首页里,因为首页里还有一些Flash.
这广告图片总是出现在Flash的下面.被遮住了.有什么办法能让这个广告图片始终位于最上面吗???

------解决方案--------------------
在调用flash的代码里加: <param name= "wmode " value= "transparent "> ,然后在embed标签里加
wmode= "transparent ",即可覆盖flash
------解决方案--------------------
1.在flash的parameters里加入 <param name= "wmode " value= "transparent ">
2. <body onblur=self.focus()>