window.onload = function () {
	if( arguments.callee.actions){
		for(var ii=0;ii < arguments.callee.actions.length;ii++){
			if(typeof arguments.callee.actions[ii] === "function"){
				arguments.callee.actions[ii]();
			}		
		}
	}
};

function addLoadEvent(func){
	if(window.onload.actions === undefined)window.onload.actions = Array();
	window.onload.actions.push(func);
}

function initsIFR(){
  if(typeof sIFR == "function"){	
    
	/*
	sIFR.replaceElement(
    named ({
        sSelector	:	"h1",
        sFlashSrc	:	"/www/swf/AGaramond-bold.swf",
        sColor		:	"#B9121B",		
        sWmode		:	"transparent"
      })
    );	
	
	sIFR.replaceElement(
    named ({
        sSelector	:	"div#content h2",
        sFlashSrc	:	"/www/swf/AGaramond-bold.swf",
        sColor		:	"#4C1B1B",		
        sWmode		:	"transparent"
      })
    );	
	*/
	
  }
}	

if (typeof addLoadEvent == 'function'){
	addLoadEvent(function(){
		initsIFR();
	});
}

function ClearInput(value, id){
  var input = document.getElementById(id); 

  if (value == input.value) {  
    input.value = ''; 
  } else {
    input.value = input.value; 
  } 
  
} 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

