var light_bulb_overlay = x$("<div id='light_bulb_overlay'></div>");
x$("body").prepend(light_bulb_overlay);

x$("#xg_sitedesc").html("<span class='line_1'>change the world</span><span class='line_2'>by being yourself</span>");

//Get the Manage link out of the main navigation menu
//x$("#xn_bar").after(x$("<ul id='manage_link'></ul>"));
//x$("#manage_link").append(x$("#xg_tab_manage"));

//Get rid of padding around the tattle tails module
x$("#tattle_tails").parent().css("padding","0");
x$("#tattle_tails").parent().parent().attr("id","tattle_tails_module");
x$("#tattle_tails_module .xg_module_body div.PDS_Poll").addClass("rounded");
x$("#tattle_tails_module .xg_module_body div.PDS_Poll").append(x$("<div id='poll_header'></div>"));
x$("#tattle_tails_module .xg_module_body div.PDS_Poll").prepend(x$("#pup_photos"));

//x$("#tattle_tails").parent().parent().children(".xg_module_head").addClass("nobgcolor");

//Change the subheader label for the member module
x$(".xg_widget_main_index .module_members .xg_module_head h2").html("Who's at the party?");
x$(".xg_widget_main_index .module_video .xg_module_head h2").html("Other featured videos");

//Round the corners for the sign up link
x$("#xg_module_account div.xg_signup p.last-child a").addClass("rounded");


//Gets rid of the multi html list formatting used for the video module
var vid_list = x$('<ul class="clist"></ul>');

x$(".module_video .clist li").each(function(index){
    vid_list.append(this);
});

x$(".module_video .xg_module_body").append(vid_list);

//Controls the display of the full quotes on the Say What Section
x$("#say_what .member_quote a").click(function(){
  x$(this).parent().fadeOut(50);
  x$(this).parent().parent().children(".member_quote_detail").fadeIn(1000);
});
x$("#say_what .member_quote_detail a").click(function(){
  x$(this).parent().fadeOut(50);
  x$(this).parent().parent().children(".member_quote").fadeIn(1000);
});

//Hide the Page title for the About Us page
x$("#about_us").parent().parent().parent().parent().children(".xg_headline").hide();
