$.fn.LoadHelpOverlay=function(b,a,g,f,d,h){if(a.length==0||!a.is(":visible")||d==""){return}var e=a.offset();e.top+=g;e.left+=f;var c=Object.create(e);$(this).ComputeOffset(c,h);var b=$("
").attr("src",WhatsUp247.imageUrl+b).addClass("helpImg").offset(e).off().on("mouseover click",function(i){$(".helpMsg").hide();$(this).next().css({visibility:"visible"}).show();$(this).css({opacity:"1",filter:"alpha(opacity=100)"});i.stopPropagation()}).appendTo("#helpDiv").after("
").next().addClass("helpMsg").html(d);c.top-=$("#helpDiv > .helpMsg").last().height()-20;$("#helpDiv > .helpMsg").last().offset(c);$(".helpImg").on("mouseout",function(i){$(this).css({opacity:".4",filter:"alpha(opacity=40)"});$(this).next().hide()})};$.fn.ComputeOffset=function(f,g){var e=220;var c=30;var d=51;var b=$(window).width()-e;var a=0;if(g==="left"){f.left-=e}else{f.left+=c}if(f.leftb){f.left=a}}else{if(f.left>b){f.left-=e+c;if(f.leftf){if(a==null||e0){$(this).LoadHelpOverlay(d,$("#organization"),-43,250,"Organization that this event belongs to (required)");$(this).LoadHelpOverlay(d,$("#private"),-43,-8,"Check this if you only want the event to be visible by members of your organization");$(this).LoadHelpOverlay(d,$("#fee"),-43,-8,"Check this if your event is free");$(this).LoadHelpOverlay(d,$("#fee_description"),-43,60,"If your event is not free, describe the costs here");$(this).LoadHelpOverlay(d,$("#flyerUploadBtn"),-43,30,"Click this button to upload a flyer that will be attached to your event");$(this).LoadHelpOverlay(d,$("#allday"),-43,-8,"Check this if your event lasts all day");$(this).LoadHelpOverlay(d,$("#start"),-43,60,"The start date of your event");$(this).LoadHelpOverlay(d,$("#end"),-43,30,"The end date of your event or if the event is recurring, the end date of the recurrence");$(this).LoadHelpOverlay(d,$("#starttime"),-43,60,"The start time of your event");$(this).LoadHelpOverlay(d,$("#endtime"),-43,30,"The end time of your event");$(this).LoadHelpOverlay(d,$("#recurrenceCycle"),-43,30,"If your event repeats, select how to here");$(this).LoadHelpOverlay(d,$("#recurrenceDayCount"),-43,30,"The number of days between each event");$(this).LoadHelpOverlay(d,$("#recurrenceWeekCount"),-43,30,"The number of weeks between each event");$(this).LoadHelpOverlay(d,$("#recurrenceYearCount"),-43,30,"The number of years between each event");$(this).LoadHelpOverlay(d,$("#recurrenceMonthCount"),-43,30,"The number of months between each event");$(this).LoadHelpOverlay(d,$("#recurrenceDaysDiv"),-43,30,"On what days of the week the event falls on");$(this).LoadHelpOverlay(d,$("#recurrenceMonthStart"),-43,30,"On what day of the month the event falls on");$(this).LoadHelpOverlay(d,$("#recurrenceYearStart"),-43,30,"On what day of the year the event falls on")}$(this).LoadHelpOverlay(d,$("#ui-id-3"),-43,40,"View and adjust account details");$(this).LoadHelpOverlay(d,$("#saveUserButton"),-43,40,"Save changes made to your account");$(this).LoadHelpOverlay(d,$("#ui-id-4"),-43,40,"Add, remove, and configure your interests");$(this).LoadHelpOverlay(d,$("#addInt"),-43,40,"Add a new interest");$(this).LoadHelpOverlay(d,$("#saveInt"),-43,40,"Save currently opened interest");$(this).LoadHelpOverlay(d,$("#deleteInt"),-43,40,"Delete currently opened interest");$(this).LoadHelpOverlay(d,$("#nameInt"),-43,40,"Name of the interest, not used as a filter");$(this).LoadHelpOverlay(d,$("#categoryInt"),-43,40,"Category of events that fit your interest");$(this).LoadHelpOverlay(d,$("#rangeInt"),-43,40,"Range that you want to search in");$(this).LoadHelpOverlay(d,$("#zipInt"),-43,40,"Zip code from where you want to search (normally your current location)");$(this).LoadHelpOverlay(d,$("#searchInt"),-43,40,"Keywords that define your interest");$(this).LoadHelpOverlay(d,$("#ui-id-5"),-43,40,"View and manage organization membership");$(this).LoadHelpOverlay(d,$("#orgRegBtn"),-43,40,"Register a new organization");$(this).LoadHelpOverlay(d,$("#orgJoinBtn"),-43,40,"Join an existing organization");$(this).LoadHelpOverlay(d,$("#orgMembershipTable td:first + td"),-43,14,"Leave this organization");$(this).LoadHelpOverlay(d,$("#orgManagedTable td:first"),-43,40,"Click here to change organization information");$(this).LoadHelpOverlay(d,$("#orgManagedTable td:first + td"),-43,40,"View and configure list of members");$(this).LoadHelpOverlay(d,$("#orgManagedTable td:first + td + td"),-43,40,"Create a widget for use on other websites");$(this).LoadHelpOverlay(d,$("#ui-accordion-accordion2-header-2 a"),-43,40,"List of users attempting to join organizations you manage");$(this).LoadHelpOverlay(d,$("#ui-id-6"),-43,40,"View and manage community connector membership");$(this).LoadHelpOverlay(d,$("#ccAccordion a"),-43,40,"List of users attempting to join community connectors you manage")};$(document).ready(function(){$(document).add(window).on("click scroll resize",function(){$(".helpImg, .helpMsg").hide()});$("#helpLink").off().on("click",function(a){if($(".helpImg:visible").length>0){$(".helpImg, .helpMsg").hide()}else{$(".helpImg").remove();$(this).LoadAllHelp();$(".helpImg").show()}a.stopPropagation()})});