//Written by Bogdan Blaszczak/BlaTek


onload=function(i,l){
 if(!document.getElementById)return

 l=document.links
 for(i=0;i<l.length;i++)
  l[i].onfocus=lFocus
}

function lFocus(){if(window.aFocus)this.blur()}
document.onmousedown=function(){aFocus=1;setTimeout('aFocus=0',10)}


function popup(x,s,w,h,l,t,n,O){
s=s?'yes':'no';w=w?w:'430';h=h?h:'370';l=l?l:'50';t=t?t:'50';n=n?n:'popWin'
 O=window.open(x,n,'left='+l+',top='+t+',width='+w+',height='+h+',scrollbars='+s)
 return O&&O.opener&&O.opener==self
}
function bookmarkit(){
 if(!window.external&&!window.sidebar){
  alert('Your browser doesn\'t support this feature. Please go to Bookmarks menu and add the site manually.')
  return!1
 }
 if(window.sidebar&&window.sidebar.addPanel){window.sidebar.addPanel(document.title, location.href,"");return!1}
 window.external.addFavorite(location.href,document.title);return!1
}
function recommend(x,O){
 O=window.open(x,'recWin','left=100,top=120,width=400,height=220')
 return O.opener&&O.opener==self
}

