/*
  handleBodyLoad
*/
function handleBodyLoad(){
if(typeof sIFR == "function"){
			// This is the preferred "named argument" syntax
			
			sIFR.replaceElement(named({sSelector:"#adbar .container h2 em", sFlashSrc:"/sifr/bergenaanzee/lucidahand.swf", sColor:"#ffffff", sLinkColor:"#000000", sBgColor:"#ffffff", sHoverColor:"", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=right", sCase:"", sWmode:"transparent"}));
			
			sIFR.replaceElement(named({sSelector:"#content h2", sFlashSrc:"/sifr/bergenaanzee/lucidahand.swf", sColor:"#01497F", sLinkColor:"#000000", sBgColor:"#ffffff", sHoverColor:"", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"", sCase:"", sWmode:"transparent"}));
			sIFR.replaceElement(named({sSelector:"#content h3", sFlashSrc:"/sifr/bergenaanzee/lucidahand.swf", sColor:"#01497F", sLinkColor:"#000000", sBgColor:"#ffffff", sHoverColor:"", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"", sCase:"", sWmode:"transparent"}));
		};
}  // Popups

var aPopups = new Array();
var aModalPopups = new Array();

window.onfocus = function()
{
	if(aModalPopups.length != 0)
	{
		aModalPopups[0].focus();
	}
}

var sDefaultFeatures = 'channelmode=0, fullscreen=0, location=0, menubar=0, resizable=0, scrollbars=0, status=0, titlebar=0, toolbar=0';

// create popup
function createPopup(sURL, sName, sFeatures, iWidth, iHeight)
{
	var iLeft	= (screen.availWidth - iWidth) / 2;
	var iTop	= (screen.availHeight - iHeight) / 2;
	
	return window.open(sURL, sName, sFeatures + ', width=' + iWidth + ', height=' + iHeight + ', left=' + iLeft + ', top=' + iTop);
}
 /*
  popups
*/
var aPopups = new Array();
var aModalPopups = new Array();

window.onfocus = function(){
	if(aModalPopups.length != 0){
		aModalPopups[0].focus();
	}
}


var sDefaultFeatures = 'channelmode=0, fullscreen=0, location=0, menubar=0, resizable=0, scrollbars=0, status=0, titlebar=0, toolbar=0';

// create popup
function createPopup(sURL, name, sFeatures, iWidth, iHeight){
	var iLeft	= (screen.availWidth - iWidth) / 2;
	var iTop	= (screen.availHeight - iHeight) / 2;
	
	return window.open(sURL, name, sFeatures + ', width=' + iWidth + ', height=' + iHeight + ', left=' + iLeft + ', top=' + iTop);
}


