function assa(a){
 //when release the logo on the top menu
 if(a==10) url = '../index.html';

 //ABOUT
 if(a==110) url = '../about/clerview_stables.html';
 if(a==120) url = '../about/history.html';
 if(a==130) url = '../about/regan_clermont.html';
 if(a==140) url = '../about/instructors_and_staff.html';
 
 //RIDING PROGRAMS
 if(a==210) url = '../riding_programs/lessons.html';
 if(a==220) url = '../riding_programs/childrens_camps.html';
 if(a==230) url = '../riding_programs/birthday_events.html';
 if(a==240) url = '../riding_programs/school_instruction_days.html';

 //Boarding
 if(a==310) url = '../boarding/boarding.html';
 if(a==320) url = '../boarding/part_boading.html';
 
//SALES
 if(a==410) url = 'http://www.sales.clerview.com/wordpress/index.php';
 
 
 //NEWS
 if(a==510) url = '../wordpress';
 if(a==520) url = '../news/schedule.html';
 
 //GALLERY
 if(a==610) url = '../gallery/clerview_stables.html';
 if(a==620) url = '../gallery/lesson_programs.html';
 if(a==630) url = '../gallery/childrens_camps.html';
 if(a==640) url = '../gallery/competition.html';
 if(a==650) url = '../gallery/horses_and_ponies.html';
 
 //CONTACT
 if(a==710) url = '../contact/contactinfo_and_directions.php';

 
 if(!url){
  window.alert('This page is currently being updated. Please check back at a later date. Thank you');
  }
  else{
    location.href=url;
  }



}
