if (window.frames) { var host = self.location.hostname if (host != "" && host.indexOf(".google.") < 0) { if (top.location == self.location || !parent._BGB_1) { var MyHtml = document.location.toString() var MyPar = '' var MyName = '' var is1 = MyHtml.lastIndexOf('?') if (is1 > 0) { MyPar = escape(MyHtml.substring(is1,MyHtml.length)) MyHtml = MyHtml.substring(0,is1) } var is3 = MyHtml.indexOf("blackforestgourmet") if (is3 > -1) { var is2 = MyHtml.substring(is3,MyHtml.length).indexOf("\/") if (is2 > -1) { is2 = is3 + is2 MyName = MyHtml.substring(is2+1,MyHtml.length) is4 = MyName.lastIndexOf('.') if (is4 < 0) { MyName = MyName + 'index.php' } } else { is2 = MyHtml.length } } top.location = MyHtml.substring(0,is2)+"/frames.php?"+MyName+MyPar } } } function SetPage(_Name) { var Name = new String(_Name?_Name:document.location); var is2 = Name.lastIndexOf(".") if (is2 > 0) Name = Name.substring(Name.lastIndexOf("\/")+1,is2) if (parent["Nav"] && parent["Nav"].SetSel) parent["Nav"].SetSel(Name) delete Name }