а что если добавить функцию так: 
<script>
function Change(sdf) {if($(".cont" + sdf + "").css("display") == "none") {$(".cont1:visible,.cont2:visible,.cont3:visible,.cont4:visible,.cont5:visible,.cont6:visible,.cont7:visible,.cont8:visible,.cont9:visible").stop(true, true).hide(300);
 $(".cont" + sdf + "").show(500);}}
$(document).ready(function(){
		 var hash = window.location.hash;
	 
	 switch(hash){
	 	case '#video' : Change('1')
	 	break
	 	case '#music' : Change('2')
	 	break
	 	case '#games' : Change('3')
	 	break
	 	case '#converse' : Change('4')
	 	break
	 	case '#portal' : Change('5')
	 	break
	 	case '#servises' : Change('6')
	 	break
	 	case '#books' : Change('7')
	 	break
	 	case '#vkchat' : Change('8')
	 	break
	 }
});
</script>