2 <script language="javascript1.2" src="whutils.js"></script>
3 <script language="javascript1.2">
7 if (location.hash.length > 1)
9 var nPos = location.hash.indexOf(">>");
12 gsTopic = location.hash.substring(1, nPos);
13 parseParam(location.hash.substring(nPos+2));
16 gsTopic = location.hash.substring(1);
21 strHtml+="<frameset rows=\'100%,*\'>";
22 strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";
23 strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";
24 strHtml+="</frameset>";
25 document.write(strHtml);
27 function parseParam(sParam)
34 var nPos=sParam.indexOf(">>", nBPos);
39 var sPart=sParam.substring(nBPos, nPos);
46 var sPart=sParam.substring(nBPos);
50 } while(nBPos < sParam.length);
54 function parsePart(sPart)
56 if(sPart.toLowerCase().indexOf("cap=")==0)
58 document.title=_browserStringToText(sPart.substring(4));