//[BOOKMARKS_JS]

var bid,bim,t;
function sClo(){bid.style.display='none';}
function sCls(){if(typeof t!="undefined")clearTimeout(t);}
function sTim(){t=setTimeout("sClo()",1000);}
function sBkm(h,w,id){sCls();bim=document.getElementById('bim');bid=document.getElementById('bkf'+id);bid.style.display='block';cid=document.getElementById('bkc'+id);var tt=0,ll=0;do{tt+=cid.offsetTop||0;ll+=cid.offsetLeft||0;cid=cid.offsetParent;}while(cid);cw=document.body.clientWidth;if(typeof(window.innerWidth)=='number') ch=window.innerHeight;else if(document.documentElement && document.documentElement.clientHeight) ch=document.documentElement.clientHeight;else ch=document.body.clientHeight;st=document.documentElement.scrollTop;sl=document.documentElement.scrollLeft;if((tt-h-st)>0)bid.style.top='-'+(h+2)+'px';else bid.style.top=bim.height+'px';if((ll+w)>(cw-sl))bid.style.left='-'+(w-bim.width)+'px';else bid.style.left='0px';}

//[END]

