jQuery(document).ready(function($j){ 

	fadeInfo();
	
	function fadeInfo(){
$j(".featured-box").hide();
$j(".trigger").hover(
  function () {
$j(this).find(".featured-box")

	//.css({
	//backgroundColor: '#710273',
	//opacity: '0.4'	
 	// })
.fadeIn('fast');
//$j(this).find("h3").fadeOut('fast');
  }, 
  function () {
$j(this).find(".featured-box").fadeOut('fast');
//$j(this).find("h3").fadeIn('fast');
  }
);
}

	
$j("#footer").hover(
  function () {
$j(this).find(".featured-box")

	//.css({
	//backgroundColor: '#710273',
	//opacity: '0.4'	
 	// })
.fadeIn('fast');
//$j(this).find("h3").fadeOut('fast');
  }, 
  function () {
$j(this).find(".featured-box").fadeOut('fast');
//$j(this).find("h3").fadeIn('fast');
  }
);
 
	
	
	/*
	var titleHeight = $j('.toprow h3').height();
	var titleWidth = $j('.toprow h3').width();
	$j('.toprow h3').append('<span class="transbg"></span>').css({'marginTop': (296 - titleHeight)});
		$j('span.transbg').css({
			opacity: 0.8,
			'marginTop': -(titleHeight + 2),
			'marginLeft': '-4px'
			});
 
		$j('.bighide h3, #featured-show').append('<span class="transbgbig"></span>');
		$j('span.transbgbig').css({
			opacity: 0.8,
			 'marginTop': '-36px',
			'marginLeft': '-4px'
			});

	$j('div.infobox').prepend('<span class="transbg"></span>');
		$j('div.infobox span.transbg').css({
			opacity: 0.8,
			 'marginTop': '-10px',
			'marginLeft': '-10px'
			 
		 
			});
		
*/
	
	
/*$j('li.bigslide').appendTo('ul#portfolio');
 $j('.bighide').appendTo('ul#portfolio');
  $j('.bighide').wrap('<li />');*/
  

	
	
	});//End Doc Ready
	

	
	/*	this.randomtip = function(){

	var pause = 6000; // define the pause for each tip (in milliseconds) 
	var length = jQuery(".fadewrapper div.fade").length; 
	var temp = -1;		

	this.getRan = function(){
		// get the random number
		var ran = Math.floor(Math.random()*length) + 1;
		return ran;
	};
	this.show = function(){
		var ran = getRan();
		// to avoid repeating
		while (ran == temp){
			ran = getRan();
		}; 
		temp = ran;
		jQuery(".fadewrapper div.fade").hide();
		jQuery(".fadewrapper div.fade:nth-child(" + ran + ")").show();
		jQuery(".fadewrapper div.fade:nth-child(" + ran + ") div.infobox ").fadeIn('slow');
	jQuery(".fadewrapper div.fade:nth-child(" + ran + ") div.infobox div.infoboxcontent").slideDown('slow');
		 
		
			 
	};
	
    jQuery(".fadewrapper").mouseover(function(){
    	jQuery(this).removeClass('fadewrapper').addClass("active");
   
    }).mouseout(function(){
    	jQuery(this).removeClass('active').addClass("fadewrapper");		
    });

	show(); setInterval(show,pause);
	
};*/
