Advanced search form

Consider i have three field job title,experience,location with a search button and advanced search link

when i click advanced search link it must add other fields below to it in same page min-max salary,type of functional area,type of industry with search button and simple search link so when clicked it moves back to original state.

can anyone please tell me to deal with such types of situations.Thanks.