document.write("<style type=\"text/css\">\n#dropinboxv7cover{width: 146px; position:absolute;  height: 128px;  z-index: 100;overflow:hidden;display:inline;}");
document.write("#dropinboxv7{border: 2px solid black;  background-color: lightyellow;padding: 4px;position:relative;}</style>");
 var dropspeed7=15 
 var displaymode7="always"
 
if (parseInt(displaymode7)!=NaN)
var random_num=Math.floor(Math.random()*displaymode7)
var ie=document.all
var dom=document.getElementById

function initboxv7(){
if (!dom&&!ie)
return
crossboxcover7=document.getElementById("dropinboxv7cover") 
crossbox7=document.getElementById("dropinboxv7")
posi7=document.getElementById("positioner7");
 crossboxcover7.style.display="" 
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossbox7.height=crossbox7.offsetHeight
crossboxcover7.style.height=parseInt(crossbox7.height)+"px"
crossbox7.style.top=crossbox7.height*(-1)+"px"
 crossboxcover7.style.left=parseInt(crossboxcover7.offsetLeft)-parseInt(crossboxcover7.offsetWidth)

dropstart7=setInterval("dropinv7()",50)
}

function dropinv7(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossbox7.style.top)<0){
 crossbox7.style.top=parseInt(crossbox7.style.top)+dropspeed7+"px"
}
else{
clearInterval(dropstart7)
crossbox7.style.top=0
}
}

function dismissboxv7(){
if (window.dropstart7) clearInterval(dropstart7)
crossboxcover7.style.display="none"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

 


document.write("<div  align=right style=\"float:right\" id=\"positioner7\"><div id=dropinboxv7cover align=right><div align=right width=\"100%\"><div id=dropinboxv7>");
document.write("<a href=\"http://lauvasturs.lv/lat/index.php?ct=3619782\"><b>Transporta īre</b></a><div style=\"margin-top:2\">Komfortabli autobusi un mikroautobusi</div>");
document.write("<div align=\"right\"><a onClick=\"dismissboxv7();return false\" style=\"font-family:Verdana;font-size:10px; color:#0000CC;text-decoration:underline\" href=\"#\">Aizv&#275;rt</a></div></div></div></div></div>");
 document.getElementById("dropinboxv7cover").style.display="none"

if (displaymode7=="always" || parseInt(displaymode7)!=NaN && random_num==0){
 setTimeout("initboxv7()",1200);
 
}
