//sIFR implementation
function pageScripts() {
var BodegaSansLight = {  src: DNN_skinPath + 'BodegaSansLight.swf' };
sIFR.activate(BodegaSansLight);
sIFR.replace(BodegaSansLight, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'BodegaSansLight.swf',  
  css: [ '.sIFR-root {color:#0c1d2d;font-size:42.65px;}'  ] 
});
}

//Menu implementation
jQuery(document).ready(function(){
	jQuery('#MainMenu').accordion({ 
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 600,
		hideSpeed: 600
	});
/* THIS REMOVE THE LINE FROM THE EMPTY <UL> ELEMENTS (NOTE: be sure there is NO space between the <ul></ul> elements) */
	jQuery("#MainMenu li ul:empty").remove();
	
/* remove box from links */
 jQuery("a").focus(function(){
  this.blur();
 });

/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/funstuff_hover.png";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/officeinfo_hover.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/pinfo_hover.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treat_hover.png";
});
