// JavaScript Document function doGotoMainPage() { document.location.href='index.html'; } //---------------------------------------------------------------- function doSetToTextMarker(i_strFrame, i_strPage) { i_strTextMarker = getTextMarker(); if(i_strTextMarker != "") frames[i_strFrame].location.href = i_strPage + '#' + i_strTextMarker; } //---------------------------------------------------------------- function doSetToPage(i_strFrame) { strPage = getTextMarker(); if(strPage != "") { frames[i_strFrame].location.href = strPage; } } //---------------------------------------------------------------- function getTextMarker() { strTextMarker = ""; //Check if Textmarker stored in Parent URL if(self.location.search.length > 0) strTextMarker = self.location.search.substring(1,self.location.search.length); return strTextMarker; }