$(document).ready(function(){				   
				   					   
  // Reset Font Size
  var originalFontSize = $('html').css('font-size');
  $(".resetFont").click(function(){
  $('html').css('font-size', originalFontSize);
  });
  // Increase Font Size
  $(".increaseFont1").click(function(){
  	var currentFontSize = $('html').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = 18;
	$('html').css('font-size', newFontSize);
	return false;
  });
  
   $(".increaseFont2").click(function(){
  	var currentFontSize = $('html').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = 20;
	$('html').css('font-size', newFontSize);
	return false;
  });
 $("#secontent").load("inc_searchbox.odl");
  
  
  // Preload all rollovers
		$("#right img").each(function() {
			// Set the original src
			rollsrc = $(this).attr("src");
			rollON = rollsrc.replace('OFF', 'ON');
			newImg = new Image(); // create new image obj
			$(newImg).attr("src", rollON); // set new obj's src
		});

		
		// Navigation rollovers
		$("#right a").mouseover(function(){
			imgsrc = $(this).children("img").attr("src");
			
			if (typeof(imgsrc) != 'undefined') {
			imgsrcON = imgsrc.replace('OFF', 'ON');
			$(this).children("img").attr("src", imgsrcON);
			}
			
		});
		
		// Handle mouseout
		$("#right a").mouseout(function(){
			if (typeof(imgsrc) != 'undefined') {
			$(this).children("img").attr("src", imgsrc);
			}
		});
	$("#searchblock").corner("round bottom 10px");
  	$("#enbody").corner("round bottom 10px");
	$("#mgbody").corner("round bottom 10px");
	$("#cabody").corner("round bottom 10px");
	$("#tebody").corner("round bottom 10px");
	$("#nebody").corner("round bottom 10px");
	$("#fabody").corner("round bottom 10px");
});