jQuery(document).ready(function(){
	/*----- Navigation ------*/
	jQuery('#nav').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:false,
		showSpeed: 300,
		hideSpeed: 300
	
});
	


	/* THIS REMOVE THE LINE FROM THE EMPTY <UL> ELEMENTS (NOTE: be sure there is NO space between the <ul></ul> elements) */
	jQuery("#nav li ul:empty").remove();
	
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

jQuery(".menuRollOver").rollover();

});

//here's the sIfr
var scriptina = {  src: 'scriptina.swf' };
sIFR.activate(scriptina);

sIFR.replace(scriptina, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'scriptina.swf', 
  css: [
		'.sIFR-root {color:#000099;}' ]
});

$(function() {
	if ($('#flash-video').position().top > $('body').height()) {
		flowplayer("flash-video", "flash/flowplayer-3.1.5.swf", {
			plugins: { controls: { url: 'flowplayer.controls-tube-3.1.5.swf' } }
		});
	}
});

jQuery(document).ready(function(){
	$('.accordion h3').click(function() {
		$(this).toggleClass('active').next().toggle('blind', 'normal');
		return false;
	}).next().hide();
});