$(document).ready(function(){

$('#submenu img, #memmenu div').hover(function(){
	$('.prof, #subcontent div').hide();
	tid = $(this).attr('rel');
	$("#subcontent").show();
	$('#'+tid).show();
}, function(){ 
	//$('#'+tid).hide();
	
	$("#subcontent").hide();
});

$('.content a, .overview:not(.waller) a').lightBox();

<!-- contact -->

$("#contactform").submit(function(){

var str = $(this).serialize();
   $.ajax({
   type: "POST",
   url: "contactForm.php",
   data: str,
   success: function(amsg){
$("#noter").ajaxComplete(function(event, request, settings){
if(amsg == 'OK') // Message Sent? Show the 'Thank You' message and hide the form
{
$('#noter').hide();
$('#form').hide();
$('#confirmation').show();
}
else
{
$('#error').show();
result = amsg;
}
$(this).html(result);
});
}
});
return false;
});
<!-- end contact -->

$(document).pngFix();
	
});

$(window).load(function(){
	
$('.tumblr_posts').masonry({ singleMode: true, itemSelector: '.tumblr_post' });

$('#scrollbar1').tinyscrollbar({sizethumb: 25});

});
