
willow.ready(function($){
	//emergency bulletin options
	var options = {
		emButtonPosition: "right",
		emButton: true
	};
	//emergency bulletin
	willow.getNews("12886",function(data){$('#Form1').bulletin(data,options);},{"backlink":window.location});
	
	//menu options
	var menuOptions = {
		direction:"down",
		showL3s:false,
		speed:0
	};
	//menu
	willow.getMenu("2177|2178|2179|2180|2199|2200|2201|115353|114161|134074",function(data){
		$("#L1").menu(data.menu,menuOptions);
	});
	
	$.fn.cycle.defaults = { 
		timeout:       3000,  // milliseconds between slide transitions (0 to disable auto advance) 
		speed:         1000,  // speed of the transition (any valid fx speed value) 
		next:          null,  // id of element to use as click trigger for next slide 
		prev:          null,  // id of element to use as click trigger for previous slide 
		before:        null,  // transition callback (scope set to element to be shown) 
		after:         null,  // transition callback (scope set to element that was shown) 
		height:       'auto', // container height 
		sync:          1,     // true if in/out transitions should occur simultaneously 
		fit:           0,     // force slides to fit container 
		pause:         0,     // true to enable "pause on hover" 
		delay:         0,     // additional delay (in ms) for first transition (hint: can be negative) 
		slideExpr:     null  // expression for selecting slides (if something other than all children is required) 
	}; 
	$('#photo_left').cycle();
		
	$.fn.cycle.defaults = { 
		timeout:       5000,  // milliseconds between slide transitions (0 to disable auto advance) 
		speed:         1000,  // speed of the transition (any valid fx speed value) 
		next:          null,  // id of element to use as click trigger for next slide 
		prev:          null,  // id of element to use as click trigger for previous slide 
		before:        null,  // transition callback (scope set to element to be shown) 
		after:         null,  // transition callback (scope set to element that was shown) 
		height:       'auto', // container height 
		sync:          1,     // true if in/out transitions should occur simultaneously 
		fit:           0,     // force slides to fit container 
		pause:         0,     // true to enable "pause on hover" 
		delay:         3000,     // additional delay (in ms) for first transition (hint: can be negative) 
		slideExpr:     null  // expression for selecting slides (if something other than all children is required) 
	}; 
	$('#photo_right').cycle();	

	
	$("#non_flash_content").css("display","block");
	
});	


