function recordYNMVoteAndGetNewSlideshowProfile(params,type,memberID,displayedInRightControl,reloadContent){ShowPopupDiv("slideshow-waiting");jQuery.get("/Applications/Home/SlideshowProfileAPI.aspx?ynmp="+params+"&YNMLT="+type+"&asl="+reloadContent+"&displayedRight="+displayedInRightControl,function(data){if(reloadContent=="true"){jQuery("#slideshow").html(data);HidePopupDiv("slideshow-waiting");refreshTop728by90SR();refreshRight300by250SR();if(s!=null&&s!=undefined){var originalPageName=s.pageName,typeString;PopulateS(true);switch(type){case"1":typeString="Y";break;case"2":typeString="N";break;case"3":typeString="M"}s.pageName=originalPageName;s.prop30=typeString+"\u2013 Home Page Slideshow";s.prop31=memberID;s.t()}}})}jQuery(document).ready(function(){jQuery("#MarketingClose").length&&jQuery("#profile-full-comm .action-hot-list .listMenuContainer").css({display:"none"});jQuery("#MarketingClose").click(function(){jQuery("#divMiniSearchMarketingCopy").hide();jQuery("#profile-full-comm .action-hot-list .listMenuContainer").css({display:"block"});return false})});jQuery(document).ready(function(){var indHover='<div class="nav-profile-full-indicator"></div>',indSelected='<div class="nav-profile-full-selector-indicator"></div>';jQuery(".nav-rounded-tabs li.tab.selected").not("#video-tabs .nav-rounded-tabs li.tab.selected").append(indSelected);jQuery(".nav-rounded-tabs li.tab a").hover(function(){jQuery(".nav-rounded-tabs li.tab .nav-profile-full-indicator").remove();jQuery(this).not("#video-tabs ul.nav-rounded-tabs li.tab a").not(".nav-rounded-tabs li.tab.selected a").append(indHover);jQuery.ieDetection.browserTypeIE6==true&&jQuery(this).parent().not(".selected").addClass("hover");jQuery(".nav-rounded-tabs li.tab.selected.hover").append(indSelected)},function(){jQuery(".nav-rounded-tabs li.tab .nav-profile-full-indicator").hide();jQuery.ieDetection.browserTypeIE6==true&&jQuery(this).parent().removeClass("hover")});jQuery(".nav-rounded-tabs.click li.tab a").click(function(){jQuery(".nav-rounded-tabs li.tab div.nav-profile-full-selector-indicator").remove();jQuery(this).append(indSelected)});jQuery(".thumbs li").click(function(){jQuery(".nav-rounded-tabs li.tab div.nav-profile-full-selector-indicator").remove();var relatedTab=jQuery(".tab[id*="+this.className+"]");jQuery(relatedTab).append(indSelected)})});jQuery(document).ready(function(){jQuery("a[rel*=external]").attr("target","_blank");jQuery("a[rel*=popup]").click(function(){var href=jQuery(this).attr("href");window.open(href,"popup","height=500,width=646,toolbar=no,scrollbars=yes,resizable=yes,menubar=yes,location=yes,directories=no,toolbar=yes");return false});jQuery("a[rel*=hover]").hover(function(){var swid=jQuery("#content-container .content-rounded-inner3").width()-22,$hoverE=jQuery(this).next("div.rel-layer-div"),lmar=jQuery("#content-container .content-rounded-inner3").offset();jQuery($hoverE).show();var hwid=$hoverE.width(),iposRaw=jQuery(this).offset(),ipos=iposRaw.right-lmar.right;if(hwid<=swid)if(ipos+hwid>swid){var move=swid-(ipos+hwid);$hoverE.css({right:move})}return false},function(){jQuery(this).next("div.rel-layer-div").hide().css({right:"0"});return false});jQuery("a[rel*=click]").click(function(){var swid=jQuery("#content-container .content-rounded-inner3").width()-22,$hoverE=jQuery(this).next("div.rel-layer-div"),lmar=jQuery("#content-container .content-rounded-inner3").offset();jQuery($hoverE).show();var hwid=$hoverE.width(),iposRaw=jQuery(this).offset(),ipos=iposRaw.right-lmar.right;if(hwid<=swid)if(ipos+hwid>swid){var move=swid-(ipos+hwid);$hoverE.css({right:move})}return false});jQuery(".rel-layer-div a.click-close").click(function(){jQuery(this).parent().parent().hide();return false});$j("span.spr").parent().addClass("spr-parent")});if(jQuery.ieDetection.browserTypeIE6==true)jQuery(document).ready(function(){jQuery("#content-main .results.list-view .note input:text").css({width:"540px",marginRight:".4em"})});else jQuery(document).ready(function(){jQuery(".results.spotlight-header").wrap('<div class="spotlighted-header-wrap"></div>');jQuery(".results.list-view.spotlighted").wrap('<div class="spotlighted-profile-wrap"></div>')});jQuery.ieDetection.browserTypeIEAll==true&&jQuery(document).ready(function(){var zIndexNumber=100;jQuery("#content-main .listMenuContainer").each(function(){jQuery(this).css("zIndex",zIndexNumber);zIndexNumber-=2});jQuery("#content-main .sub-item").each(function(){jQuery(this).css("zIndex",zIndexNumber);zIndexNumber-=2})});jQuery(document).ready(function(){jQuery("#article table.zebra-striping tr:even").addClass("odd")});jQuery(document).ready(function(){jQuery("#mail-list .mail-table tr:even").addClass("odd")});jQuery(document).ready(function(){var blockProfiles=jQuery("body.page-email.sub-page-viewmessage .results.list-view").add("body.page-sendtofriend.sub-page-sendtofriend .results.list-view").add("body.page-memberservices.sub-page-reportmember .results.list-view").add("body.page-email.sub-page-tease .results.list-view").add("#profile-mini-blocked .results.list-view");jQuery(blockProfiles).block({message:null,overlayCSS:{backgroundColor:"#96b1cc",opacity:"0.3"}});jQuery("body.page-subscription .carrot-profile .member-pic, body.page-subscription .carrot-profile .member-info").block({message:null,overlayCSS:{backgroundColor:"#96b1cc",opacity:"0.0"}})});jQuery(document).ready(function(){jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder tr").add("body.page-memberprofile.sub-page-registrationstep2 #prefBorder tr").add("body.page-memberprofile.sub-page-registrationstep3 #prefBorder tr").add("body.page-memberprofile.sub-page-registrationstep4 #prefBorder tr").css({height:"2.6em"});jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder td").add("body.page-memberprofile.sub-page-registrationstep2 #prefBorder td").add("body.page-memberprofile.sub-page-registrationstep3 #prefBorder td").add("body.page-memberprofile.sub-page-registrationstep4 #prefBorder td").css({paddingLeft:".3em"});jQuery("body.page-memberprofile.sub-page-registrationstep3 table.twoColumnCheckList td:even").add("body.page-memberprofile.sub-page-registrationstep4 table.twoColumnCheckList td:even").add("body.page-memberprofile.sub-page-registrationstep3 table.threeColumnCheckList td:even").css({width:"18em"});jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder .edit-profile-form-table").add("body.page-memberprofile.sub-page-registrationstep2 #prefBorder .edit-profile-form-table").add("body.page-memberprofile.sub-page-registrationstep3 #prefBorder .edit-profile-form-table").add("body.page-memberprofile.sub-page-registrationstep4 #prefBorder .edit-profile-form-table").css({marginRight:"1em"});jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder textarea").add("body.page-memberprofile.sub-page-registrationstep2 #prefBorder textarea").add("body.page-memberprofile.sub-page-registrationstep3 #prefBorder textarea").add("body.page-memberprofile.sub-page-registrationstep4 #prefBorder textarea").css({width:"98%"});jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder table.full-width").css({width:"98%"});jQuery("body.page-memberprofile.sub-page-registrationstep1 #prefBorder [width]").add("body.page-memberprofile.sub-page-registrationstep2 #prefBorder [width]").add("body.page-memberprofile.sub-page-registrationstep3 #prefBorder [width]").add("body.page-memberprofile.sub-page-registrationstep4 #prefBorder [width]").removeAttr("width");jQuery("body.page-memberprofile #content-main #prefBorder").show();jQuery("body.page-memberprofile #content-main .personal-info").show()});jQuery(document).ready(function(){jQuery("#_ctl0__ctl4_viewProfileInfo_ViewProfileTable").css({width:"100%"});jQuery("#_ctl0__ctl4_viewProfileInfo__ctl1_tbInterests td, #_ctl0__ctl4_viewProfileInfo__ctl0_tbRelationship td").css({paddingBottom:"1em"})});jQuery(document).ready(function(){jQuery("#faq-wrapper #top-ten h3").click(function(){jQuery(this).next("div.answer-block").toggle()})});jQuery(document).ready(function(){jQuery("#msgPrefContainer").length>0&&jQuery(".whatsthis").click(function(){var answerBox="#"+jQuery(this).attr("class").split(" ").slice(0)[0]+"-answer",whatsThisLink=jQuery(this);jQuery(whatsThisLink).removeClass("showSpan").addClass("hide");jQuery(answerBox).removeClass("hide").addClass("show");var hideLink=answerBox+" .messageSettingsHelpParagraphHide a";jQuery(hideLink).click(function(){jQuery(answerBox).removeClass("show").addClass("hide");jQuery(whatsThisLink).removeClass("hide").addClass("showSpan")})})});jQuery(document).ready(function(){function showslider(){var windowHeight=jQuery(document).height();jQuery("#ie6only #slider-container").width(jQuery(document).width());jQuery("#slider-container").height(windowHeight).show();jQuery("#emislider").show().animate({top:"100px"},2e3)}function setOmnitureValues(propertyValue,pageName){PopulateS(true);s.prop14=propertyValue;s.pageName=pageName;s.tl()}if(jQuery("#emislider").length>0){jQuery("map area#slider_close").click(function(){jQuery("#emislider").hide();jQuery("#slider-container").hide();return false});jQuery("map area#slider_continue, map area#slider_partner, map area#slider_claim").click(function(){var thehref=jQuery(this).attr("href");jQuery("#emislider").hide();jQuery("#slider-container").hide();setOmnitureValues("JRewards Slider \u2013 Continue","jrewards");window.open(thehref);return false});showslider()}});function hideSlider(){jQuery(document).ready(function(){jQuery("#emislider").hide();jQuery("#slider-container").hide()})}$j(document).ready(function(){$j("#content-main").delegate(".tooltip","mouseover mouseout",function(e){var $target=$j(e.target),tipTitle=$target.attr("title");tipTitle!=""&&$target.data("tipTitleData",tipTitle);$target.attr("title","");if(e.type=="mouseover"){var tipHtml='<div class="tooltip-content"><p>'+$target.data("tipTitleData")+"</p></div>";$j(tipHtml).appendTo("body").css({left:e.pageX-324+"px",top:e.pageY+12+"px"}).show()}e.type=="mouseout"&&$j(".tooltip-content").remove()})})