
$(document).ready(
  function(){
    $( '#changes li' ).mouseover(
      function(){
        $( "#pops div" ).hide();
		$( "#teambdiv div" ).hide();
		$( "#paintbdiv div" ).hide();
		$( "#citygdiv div" ).hide();
		$( "#famiddiv div" ).hide();
		$( "#meettdiv div" ).hide();
		$( "#slidesa div" ).fadeOut();
		$( "#slides div" ).fadeOut();
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
		$( this ).css( 'background', 'url(http://www.locatevents.com/images/bgtopnav.png) no-repeat right' );
        $( '#pop' + $( this ).attr( 'id' ).replace( 'toppop', '' ) ).show();
      }
    );
  }
);


$(document).ready(
  function(){
    $( '#teamb li' ).mouseover(
      function(){
        $( "#teambdiv div" ).hide();
        $( '#teamb li' ).css( 'background-color', '#F9F9F9' );
        $( this ).css( 'background-color', '#CCCCCC' );
        $( '#teamb' + $( this ).attr( 'id' ).replace( 'tm', '' ) ).show();
      }
    );
	 $( '#content1 div' ).mouseover(
      function(){
        $( "#teambdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#teamb li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
	 $( '#header div' ).mouseover(
      function(){
        $( "#teambdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#teamb li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
	$( '#content3 div' ).mouseover(
      function(){
		$( "#teambdiv div" ).hide();
		$( "#paintbdiv div" ).hide();
		$( "#citygdiv div" ).hide();
		$( "#famiddiv div" ).hide();
		$( "#meettdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#teamb li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
  }
);


$(document).ready(
  function(){
    $( '#paintb li' ).mouseover(
      function(){
        $( "#paintbdiv div" ).hide();
        $( '#paintb li' ).css( 'background-color', '#F9F9F9' );
        $( this ).css( 'background-color', '#CCCCCC' );
        $( '#paintb' + $( this ).attr( 'id' ).replace( 'pb', '' ) ).show();
      }
    );
	 $( '#content1 div' ).mouseover(
      function(){
        $( "#paintbdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#paintb li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
  }
);


$(document).ready(
  function(){
    $( '#cityg li' ).mouseover(
      function(){
        $( "#citygdiv div" ).hide();
        $( '#cityg li' ).css( 'background-color', '#F9F9F9' );
        $( this ).css( 'background-color', '#CCCCCC' );
        $( '#cityg' + $( this ).attr( 'id' ).replace( 'cg', '' ) ).show();
      }
    );
	 $( '#content1 div' ).mouseover(
      function(){
        $( "#citygdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#cityg li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
  }
);

$(document).ready(
  function(){
    $( '#famid li' ).mouseover(
      function(){
        $( "#famiddiv div" ).hide();
        $( '#famid li' ).css( 'background-color', '#F9F9F9' );
        $( this ).css( 'background-color', '#CCCCCC' );
        $( '#famid' + $( this ).attr( 'id' ).replace( 'fd', '' ) ).show();
      }
    );
	 $( '#content1 div' ).mouseover(
      function(){
        $( "#famiddiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#famid li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
  }
);


$(document).ready(
  function(){
    $( '#meett li' ).mouseover(
      function(){
        $( "#meettdiv div" ).hide();
        $( '#meett li' ).css( 'background-color', '#F9F9F9' );
        $( this ).css( 'background-color', '#CCCCCC' );
        $( '#meett' + $( this ).attr( 'id' ).replace( 'mt', '' ) ).show();
      }
    );
	 $( '#content1 div' ).mouseover(
      function(){
        $( "#meettdiv div" ).hide();
		$( "#pops div" ).hide();
		$( '#meett li' ).css( 'background-color', '#F9F9F9' );
		$( '#changes li' ).css( 'background', 'url(http://www.locatevents.com/images/transparant.gif) no-repeat' );
      }
    );
  }
);
