<script language="JavaScript1.2">
/*
** Visit our site at
http://www.star28.com/ for more code */
var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var bouncelimit=8 //(must be divisible by
var direction="up"
function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
crossobj.top=scroll_top-250
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}
function dropin(){
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}
function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}
function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}
window.onload=initbox
</script>
<div id="dropin" style="position:absolute;visibility:hidden;left:260;top:100;width:385;height:118;background-color:#00FF00">
<div align="right"> <a href="#" onClick="dismissbox();return false">
<span lang="ar-sa"><font face="Tahoma" size="1"><i>[إغلاق النافذة]</i> </a></font></span></div>
<center>
<p><a href="http://www.star28.com" target="_blank">
<img alt="دليل العرب الشامل" src="http://www.star28.com/java/java6/b1.png" border="0" width="468" height="60"></a></p>
</center>