// Scroll
function document_onscroll()
	{
	   document.getElementById('rightPanel').style.top = 
	  (document.body.scrollTop + 10).toString() + 'px';
	}
	
// Fade links
function lite(obj) {
if(document.all&&!window.opera) {
obj.filters.blendTrans.apply(); 
obj.filters.blendTrans.play(); 
} 
} 

// Reload
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// Bookmark
var bookmarkurl="http://www.bahiaproperties.com/"
var bookmarktitle="Bahia Properties Spain"

function addbookmark(bmurl){
  if (document.all)
     window.external.AddFavorite(bmurl,bookmarktitle)
}