function ifr(url,w,h,n,t){
    document.write('<iframe id="'+n+'" width="'+w+'" height="'+h+'" frameborder="0" scrolling="no" src="'+url+'" allowTransparency="'+t+'"><\/iframe>');
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function changeFontSize(inc){
  var div = document.getElementById('container_txt');
  var p = div.getElementsByTagName('p');
  for(n=0; n<p.length; n++){
	if(p[n].style.fontSize){
		var size = parseInt(p[n].style.fontSize.replace("px", ""));
	}else{
		var size = 14;
	}
	p[n].style.fontSize = size+inc + 'px';
  }
}
function top(){
	window.scrollTo(0,0);
}
$(document).ready(function(){
  $("#subnav li").hover(
	function(){ $("ul", this).fadeIn("fast"); }, 
	function() { }
  );
  if (document.all) {
	$("#subnav li").hoverClass ("sfHover");
  }
});
$.fn.hoverClass = function(c) {
  return this.each(function(){
	$(this).hover( 
	  function() { $(this).addClass(c);  },
	  function() { $(this).removeClass(c); }
	);
  });
};
