  $(document).ready(function(){
            $(".close").click(function(){
                $("#updated-pages").fadeOut(300);
            });
            blink();
        });
        function blink(){
           setTimeout(function(){
              $("#updated-pages").fadeIn(300).fadeOut(300).fadeIn(300).fadeOut(300).fadeIn(300).fadeOut(300).fadeIn(300);     
           },2000);
        } 
			var clearQueue = true;
			var gotoEnd = true;

$(document).ready(function(){  
   $("#earring").mouseover(function(){$("#jerrica-container").fadeIn(2000)});
   $("#earring").mouseout(function(){$("#jerrica-container").fadeOut(2000)});
   $("#strum-trigger").mouseover(function(){$("#strum").stop(clearQueue,gotoEnd).fadeIn(100).fadeTo(2100,0.99);$("#strum").fadeOut(100);});
   $("#outrageous").mouseover(function(){$("#smoke").stop(clearQueue,gotoEnd).fadeIn(2000).fadeTo(2000,0.99).fadeOut(2000); 
			      $("#bubble").fadeTo(1500,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble2").fadeIn(1).fadeTo(10,1).animate({left:"-=20",top:"0"},3500).fadeTo(10,0).animate({left:"+=20",top:"235"},0);
			      $("#bubble3").fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble4").fadeTo(1000,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},3500).fadeTo(10,0).animate({left:"-=20",top:"235"},0);
			      $("#bubble5").fadeTo(750,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4500).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble6").fadeTo(1500,1).fadeIn(1).fadeTo(10,1).animate({left:"-=20",top:"0"},2750).fadeTo(10,0).animate({left:"+=20",top:"235"},0);
			      $("#bubble7").fadeTo(2000,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble8").fadeTo(1000,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0);
			      $("#bubble9").fadeTo(1250,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble10").fadeTo(2500,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},3250).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble11").fadeTo(1750,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4500).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble12").fadeTo(1000,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},3000).fadeTo(10,0).animate({left:"-=20",top:"235"},0);
			      $("#bubble13").fadeTo(1250,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},3500).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble14").fadeTo(1750,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},4000).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
			      $("#bubble15").fadeTo(1750,1).fadeIn(1).fadeTo(10,1).animate({left:"+=20",top:"0"},2750).fadeTo(10,0).animate({left:"-=20",top:"235"},0); 
});

$("#earring").mouseover(function(){$("#outrageous").fadeOut(function(){setTimeout(function(){$("#outrageous").fadeIn("fast");},2000);});});
$("#earring").mouseover(function(){$("#strum-trigger").fadeOut(function(){setTimeout(function(){$("#strum-trigger").fadeIn("fast");},2000);});});
$("#outrageous").mouseover(function(){$("#strum-trigger").fadeOut(function(){setTimeout(function(){$("#strum-trigger").fadeIn("fast");},4000);});});
$("#strum-trigger").mouseover(function(){$("#strum-trigger").fadeOut(function(){setTimeout(function(){$("#strum-trigger").fadeIn("fast");},2000);});});
$("#strum-trigger").mouseover(function(){$("#outrageous").fadeOut(function(){setTimeout(function(){$("#outrageous").fadeIn("fast");},2000);});});
$("#hideous").mouseover(function(){$(".badgirls").fadeOut(function(){setTimeout(function(){$(".badgirls").fadeIn("fast");},1000);});}); 
$("#tasteless").mouseover(function(){$(".badgirls").fadeOut(function(){setTimeout(function(){$(".badgirls").fadeIn("fast");},1000);});});
$("#disgusting").mouseover(function(){$(".badgirls").fadeOut(function(){setTimeout(function(){$(".badgirls").fadeIn("fast");},1000);});});

$("img.unhide_form_a").click(function(){$("#form_a_wrapper").slideToggle();});
$("img.unhide_form_b").click(function(){$("#form_b_wrapper").slideToggle();});
$("img.unhide_form_c").click(function(){$("#form_c_wrapper").slideToggle();});
$("img.unhide_form_d").click(function(){$("#form_d_wrapper").slideToggle();});
$("img.unhide_form_e").click(function(){$("#form_e_wrapper").slideToggle();});
$("img.unhide_form_f").click(function(){$("#form_f_wrapper").slideToggle();});
$("img.unhide_form_g").click(function(){$("#form_g_wrapper").slideToggle();});
$("img.unhide_form_h").click(function(){$("#form_h_wrapper").slideToggle();});
$("img.unhide_form_i").click(function(){$("#form_i_wrapper").slideToggle();});
$("img.unhide_form_j").click(function(){$("#form_j_wrapper").slideToggle();});
$("img.unhide_form_kidsa").click(function(){$("#form_kidsa_wrapper").slideToggle();});
$("img.unhide_form_kidsb").click(function(){$("#form_kidsb_wrapper").slideToggle();});
$(".unhide_pa_bio").click(function(){$("#pa_bio").slideToggle();});

$("a[name^='faq-']").each(function() { $(this).click(function() {
			if( $("#" + this.name).is(':hidden') ) { $("#" + this.name).fadeIn('normal');} 
                        else { $("#" + this.name).fadeOut('normal');}			
			return false;});});

function blinkText() { $('.blink').fadeOut(250).fadeIn(250).fadeOut(250).fadeIn(250).fadeOut(250).fadeIn(250); }; 
function intervalTrigger() { setInterval( blinkText, 3000 ); }; 
intervalTrigger(); 
	




});

