var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-7419671-20']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
      
// Popup by http://www.htmlpopups.com/

var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=32 //(must be divisible by 8)
var direction="up"

function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_left=(ie)? truebody().scrollLeft : window.pageYOffset
crossobj.left=scroll_left-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",5)  // rychlost
}

function dropin(){
scroll_left=(ie)? truebody().scrollLeft : window.pageYOffset
if (parseInt(crossobj.left)<1200+scroll_left)
crossobj.left=parseInt(crossobj.left)+5+calunits // rychlost
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",10) //skakani
dismissbox();
}
}

function bouncein(){
crossobj.left=parseInt(crossobj.left)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


window.onload=initbox      
      
      
