//document ready function
$(document).ready( function() {

	//rollover effect on "What is Smilestone"
	$("#popspot").mouseover(function() {
		$("#rollpop").css("display","block");
		pageTracker._trackPageview('/en-US/stages/Smilestone_status');
	});
	$("#rollpop").hover(function() {
		//nothing on mouseover
	},function() {
		$(this).css("display","none");
		pageTracker._trackPageview('/en-US/stages/Smilestone_status/Close');
	});
	
	
	$(".createblog").click(function() {
		openBuilder();
		return false;
	});

	//ie6 png fix
	if (($.browser.msie) && (parseInt(jQuery.browser.version) < 7)) {
		$("img[src$=.png], #rollpop").css("behavior","url(/app/includes/js/stages/iepngfix.htc)");
	}
	
});
