var MenuArray = new Array(
	{pageid : 123536},
    {pageid : 123537},
    {pageid : 123538},
    {pageid : 123539},
    {pageid : 123540},
    {pageid : 123541}
);

willow.ready(function($) {
	var options = { 
	    timeout:       4000,  // 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:           1,     // 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) 
	}; 
	$("#photos").cycle(options);
    
    var options = {
        sid:427,
        direction:"down",
        settings:MenuArray,
        showL3s:false
    };
    $('#L1').menu(options);
	
	//emergency bulletin
	willow.getNews("12719",function(data){$('#form1').bulletin(data,{emButton: false});},{"backlink":window.location});	
});