Jquery. noconflict (); <br/> jquery (document ). ready (shownavigationhr); </P> <p> jquery (window ). resize (shownavigationhr); <br/> function shownavigationhr () <br/>{< br/> VaR to = jquery ("# navhr "); <br/> var source = getselectednavigation (); <br/> If (Source = NULL) <br/> return NULL; <br/> var width = source. width (); <br/> var Top = source. offset (). top; <br/> var left = source. offset (). left; <br/> try <br/> {<br/>. width (width); <br/> var fixtop = 50; </P> <p> to.css ("TOP", top + fixtop ); <br/> to.css ("Left", left); <br/>}< br/> catch (ERR) <br/>{</P> <p >}</P> <p> function getselectednavigation () <br/> {<br/> VaR _ tabindex = jquery ("# tabindex" ).html (); <br/> If (_ tabindex = "") <br/> _ tabindex = "family_register"; <br/> return jquery ("#" + _ tabindex ); <br/>}< br/> // For mainws resize to adapt <br/> var resizewidth = jquery ("# rightdiv "). width ()-jquery ("# vmenu "). width ()-105; </P> <p> jquery ("# mainws "). width (resizewidth); </P> <p >}< br/>