function setValues(num){
	var theTitle = $j('#lsTitle' + num).text();
	var theTeaser = $j('#lsTeaser' + num).text();
	var theImage = $j('#lsImage' + num).text();
	var theURL = $j('#lsURL' + num).text();
	var theDesc = $j('#lsDesc' + num).text();

//		alert(theTitle + '\n' + theTeaser + '\n' + theImage + '\n' + theURL + '\n' + theDesc);
//		alert($j('.theImage').attr('style'));
	
	$j('.theImage').attr('style', 'background-image:url(/images/lifeStyle/' + theImage + ')');
	$j('.theCopy > h2').html(theTitle);

	if(theDesc.length > 0) { 
		$j('.theCopy > p').html(theTeaser + ' <a href="' + theURL + '">Read More &raquo;</a>');
//		$j('.theCopy > p').html(theTeaser + ' <a href="entertainment.cfm?lifID=#lifID#">Read More &raquo;</a>');
	} else {
		$j('.theCopy > p').html(theTeaser);
	}

	$j('.myTab').removeClass('tab-over');
	$j('.myTab#' + num).addClass('tab-over');

	setHomeNavTimer();
}

var counter = 2;
var homeNavTimer = null;

function setHomeNavTimer(){
	counter++;
	if(counter > 4) counter = 1;
	clearTimeout(homeNavTimer);
	homeNavTimer = setTimeout('setValues(counter);', 8000);
}

function clearHomeNavTimer(){
	if (homeNavTimer != null) clearTimeout(homeNavTimer);
}
	

