wordpress external links to accordion
===

I have accordions in my website.I am developing a website in wordpress which just has main one page.
and in that in accordions and sub accordions there are other WP page contents linked.

I have a menubar at top of the page The menu items are (Home,about,results,contact).These are the names of accordion tabs also.

the below is jquery script for accordions

      $(function() {
		$( "#accordion" ).accordion({	        ---->main accordion	
			collapsible: true,
			autoHeight: false ,	
			active: false,   
			
		});
	});
	$(function() {
		$( "#accordion1" ).accordion({            ---->subaccordion	
			collapsible: true,
			 active: true,            
             autoHeight: false,            
             navigation: true,            
             collapsible: true,          
             
		});
	});

so what i want is when i click on menu item the page should scroll to purticular accordion .

So how can i make this work?

and how can i make all the main accordions in expanded form on start/on load of page??



any ideas??