
	$(document).ready(function(){
		$home = true;

		$(window).bind('hashchange', function (e) {
   		var hash = window.location.hash || '#home';

			// Get the hash (fragment) as a string, with any leading # removed. Note that
  	  // in jQuery 1.4, you should use e.fragment instead of $.param.fragment().
    	var url = $.param.fragment() || 'home';

	    // Remove .selected class from any previously "current" link(s).
  	  $( 'a.selected' ).removeClass( 'selected' );

	    // Add .selected class to "current" nav link(s), only if url isn't empty.
  	  url && $( 'a[href="#' + url + '"]' ).addClass( 'selected' );


			$('#divConteudo').block({
					css: {
          border: 'none',
          padding: '15px',
          backgroundColor: '#000',
          '-webkit-border-radius': '10px',
          '-moz-border-radius': '10px',
          //opacity: .8,
          color: '#fff' },
          fadeIn: 500
      });


			$('#divConteudo').load(
				url + '.php',
				function(){
	        $('#divConteudo').unblock();
				}
			);

  	});

	  $(window).trigger( "hashchange" );


	});

