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