<script language=javascript1.2>
var ns4=document.layers
var ie4=document.all
var ns6=document.getelementbyid&&!document.all
//drag drop function for ns 4////
/////////////////////////////////
var dragswitch=0
var nsx
var nsy
var nstemp
function drag_dropns(name){
if (!ns4)
return
temp=eval(name)
temp.captureevents(event.mousedown | event.mouseup)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}
function gons(e){
temp.captureevents(event.mousemove)
nsx=e.x
nsy=e.y
}
function dragns(e){
if (dragswitch==1){
temp.moveby(e.x-nsx,e.y-nsy)
return false
}
}
function stopns(){
temp.releaseevents(event.mousemove)
}
//drag drop function for ie4+ and ns6////
/////////////////////////////////
function initializedrag(e){
crossobj=ns6? Document.getelementbyid("dnwtop_100_showimage") : Document.all.dnwtop_100_showimage
var firedobj=ns6? E.target : Event.srcelement
var topelement=ns6? "html" : "body"
while (firedobj.tagname!=topelement&&firedobj.id!="dragbar"){
firedobj=ns6? Firedobj.parentnode : Firedobj.parentelement
}
if (firedobj.id=="dragbar"){
offsetx=ie4? Event.clientx : E.clientx
offsety=ie4? Event.clienty : E.clienty
tempx=parseint(crossobj.style.left)
tempy=parseint(crossobj.style.top)
dragapproved=true
document.onmousemove=drag_drop
}
}
document.onmousedown=initializedrag
document.onmouseup=new function("dragapproved=false")
////drag drop functions end here//////
function hidebox(){
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
document.dnwtop_100_showimage.visibility="hide"
}
document.write('');
document.write('<div id="dnwtop_100_showimage" style="z-index: 300; position:absolute;width:380px;left:30;top:370"><table border="1" bordercolor="666666" width="380" bgcolor="ffffff" cellspacing="0" cellpadding="0"><tr><td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0" height="36"><tr><td width="100%" background="" id="dragbar" title="you may drag me" height="25"><ilayer width="100%" onselectstart="return false"><layer width="100%" onmouseover="dragswitch=1;if (ns4) drag_dropns(dnwtop_100_showimage)" onmouseout="dragswitch=0"><span style="font-weight: Bold; font-family: Verdana; font-size: 12px; color: 000000; padding: 6px; padding-bottom: 4px;">vote for us!</span></layer></ilayer></td></tr><tr><td width="100%" bgcolor="2b322a" style="padding:10px; border: Solid 000000 2px; border-top:0px; font-family:verdana; font-size:12px; color:000000;"><!-- put your content between here ----><i><br><center><b><img src="http://www.xtremetop100.com/votenew.jpg"><br><br><font color="yellow"></font><font color="white">vote and this box will go away!!</font> <font color="yellow"></font><font color="white">vote for us.<br>thank you rapidblue for this vote box!</b></i><br><br><div align="center"><a href="**votelink**" target="_blank" onclick="hidebox()"><img src="http://nycmuonline.com/images/site/buttons/yesbutton.gif" border="0"><img src="http://nycmuonline.com/images/site/buttons/nobutton.gif" border="0"></a> <a href="#" onclick="hidebox();return false"></a> </div><!-- end your content here-----></td></tr></table></td></tr></table></div></center>');
</script>