/*
Project: Labrin.net personal sites
Author: Muradov Sadig (coding&desing)
Author URL: http://sadig.muradov.org
*/
/*********** optional js codes ***********/

//<![CDATA[
$(document).ready(function() {
						   
		// qr code hover
		$("#qr-thm").hover(
			function(){ //over
				$(this).addClass('myqr');
				$("#overlay").show();
				$("#qr-big").fadeIn(600);
			},
			function(){ //out
				$("#qr-big").fadeOut(300);
				$("#overlay").hide();
				$(this).removeClass('myqr')
			}
		);
		// prefooter
		$("#prefoot").css('opacity', 0.3);
		$("#prefoot").hover(
			function(){ //over
				$(this).animate({'opacity': 1}, 600);
			},
			function(){ //out
				$(this).animate({'opacity': 0.3}, 600);
			}
		);
		// for pages 
		var h4_others_height =  $('h4.otherpart').height();
		var h4_others_mrg =  h4_others_height + 11 ;
		$('#content .page h4.otherpart').css("margin-bottom","-" + h4_others_mrg + "px");
		
		
		
		
});
//]]>

