//sIFR implementation
function pageScripts() {
var FlemishScriptBTR = {  src: DNN_skinPath + 'FlemishScriptBTR.swf' };
sIFR.activate(FlemishScriptBTR);
sIFR.replace(FlemishScriptBTR, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'FlemishScriptBTR.swf',  
  css: [ '.sIFR-root {color:#62004b; font-size:48px;}'  ] 
});
}

//Menu implementation
jQuery(document).ready(function(){
								
								
	jQuery('.accordion h4').click(function() {
		jQuery(this).toggleClass('active').next().toggle('blind', 'normal');
		return false;}).next().hide();

								
	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();
	
	jQuery(function() {
	if (jQuery('#flash-video').position().top > jQuery('body').height()) {
		flowplayer("flash-video", "/Portals/0/vendor/flash/flowplayer-3.1.5.swf", {
			plugins: { controls: { url: '/Portals/0/vendor/flash/flowplayer.controls-tube-3.1.5.swf' } }
		});
	}
});





	
	
/* remove box from links */
 jQuery("a").focus(function(){
  this.blur();
 });

/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/contact_hover.gif";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/fun_hover.gif";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_hover.gif";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/office_hover.gif";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/pedu_hover.gif";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/pinfo_hover.gif";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/serv_hover.gif";	
});
