function showdivHPB(a,b){$(a+"Text").style.display="block";$(b).className="hp_slider_btn_ovr";$(a).className="hp_slider_links_ovr"}function hidedivHPB(a,b){$(a+"Text").style.display="none";$(b).className="hp_slider_btn_up";$(a).className="hp_slider_links"}function CollapseDivMYS(){var g="Restcollapse",d="RestaurantDiv",a="sb_title_text2",f="Eventcollapse",b="block",c="EventDiv",e="mysummaryimage",h="";if($(e))h=$(e).value;if($(c).style.display==b){$(c).style.display="none";$(f).className="btn_eventsup";$(a).style.position="absolute";$(a).style.top="196px";$(a).style.left="0px"}else{$(c).style.display=b;$(f).className="btn_eventsdown";$(a).style.position="relative";$(a).style.top="0px";$(a).style.left="0px"}if($(d).style.display==b){$(d).style.display="none";$(g).className="btn_restdown"}else{$(d).style.display=b;$(g).className="btn_restup"}}function MySummaryInit(){if($("RestaurantDiv").childNodes.length==0)CollapseDivMYS();if($("morelinkforfriendspresent")==null)return;ToggleViewMYS()}function ToggleViewMYS(){var c="none",a=$("friendscontribution"),b=$("summary_content");if($("friendspresent")==null)return;if(a)if(a.style.display==c)a.style.display="block";else a.style.display=c;if(b)if(b.style.display==c)b.style.display="block";else b.style.display=c}function showPopOverRAP(a){$(a).style.display="block"}function hidePopOverRAP(a){$(a).style.display="none"}CGUtility.AddFunction(MySummaryInit)