jQuery(document).ready(function(){


			
	$("#tab1").removeClass("current_page_item");
	$("#tab2").removeClass("current_page_item");
	$("#tab3").removeClass("current_page_item");
	$("#tab4").removeClass("current_page_item");
	$("#tab5").removeClass("current_page_item");
			
	jQuery(".portfolio-image").hover(function(){
			jQuery(this).stop().fadeTo("medium", 0.3);
	},function(){
			jQuery(this).stop().fadeTo("slow", 1.0); 
	});
			
	jQuery(".blog-image").hover(function(){
			jQuery(this).stop().fadeTo("medium", 0.3);
	},function(){
			jQuery(this).stop().fadeTo("slow", 1.0); 
	});
					
	jQuery("#logo").hover(function(){
			jQuery(this).stop().fadeTo("medium", 0.5);
	},function(){
			jQuery(this).stop().fadeTo("medium", 1.0); 
	});
			
	jQuery.each(jQuery.browser, function(i, val) {
	 		if(jQuery.browser.msie){
			}
			else{
				jQuery("#menu ul li a.current_page_item, a.lightbtn,a.darkbtn ").fadeTo("fast", 0.8); 
				jQuery("#menu ul li a.current_page_item, a.lightbtn,a.darkbtn").hover(function(){
					jQuery(this).stop().fadeTo("fast", 1.0);
				},function(){
					jQuery(this).stop().fadeTo("medium", 0.8); 
				});
			}
	});
});

	
	
	var i = 0;
	var int=0;
	jQuery(window).bind("load", function() {
			var int = setInterval("doThis(i)",300);
	});

	function doThis() {
			var images = jQuery('img').length;
			if (i >= images) {
				clearInterval(int);
			}
			jQuery('img:hidden').eq(0).fadeIn(300);
			i++;
	}

function hidediv() { 
	if (document.getElementById) { 
		document.getElementById('hideShow').style.visibility = 'hidden'; 
	} 
	else { 
		if (document.layers) { 
			document.hideShow.visibility = 'hidden'; 
		} 
		else { 
			document.all.hideShow.style.visibility = 'hidden'; 
		} 
	} 
}

