var strContentURL = '';

// catch all errors
function handleError() { return(true); }
window.onerror = handleError;

    // test on ?SHOW_URL parameter in URL
  if ((self.location.search.length > 0) && (self.location.search.indexOf('?SHOW_URL=') == 0))
  {
    // ?SHOW_URL parameter in URL
    // top.name = '';
    strContentURL = self.location.search.substring(10);

    // try to set cookie SHOW_URL & test if cookie SHOW_URL is set
    SetCookie(DEFAULT_SHOW_URL_COOKIE, strContentURL);
    if (GetCookie(DEFAULT_SHOW_URL_COOKIE) == strContentURL)
    {
      // cookies enabled: remove URL from querystring
      strContentURL = '';
      top.location.replace(self.location.href.substring(0, self.location.href.indexOf('?SHOW_URL=')));
    }
    else
    {
      // cookies not enabled: use default page as parameter in querystring
    }
  }
  else
  {
    // ?SHOW_URL parameter not in URL
    // try to read cookie
    var strCookie = GetCookie(DEFAULT_SHOW_URL_COOKIE);
    if (strCookie && (strCookie.length > 0))
    {
      // cookie is set: remove URL from querystring
      strContentURL = '';
    }
    else
    {
            // cookie is not set: use default page as parameter in querystring
            if(strStartPage.length > 0)
            {
                strContentURL = strStartPage;
            }
            else if (typeof(Menu1) != "undefined" && typeof(Menu1[1]) != "undefined")
            {
                strContentURL = Menu1[1];
            }
            else if (typeof(JSGenericMenuItems) != "undefined" && typeof(JSGenericMenuItems[2]) != "undefined")
            {
                strContentURL = JSGenericMenuItems[2];
            }
            
        }
  }

document.writeln('<frameset cols="*,1008,*" frameborder="NO" border="0" framespacing="0">');
document.writeln('    <frame src="leftFrame.htm" name="leftFrame" id="leftFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('    <frameset rows="*,599,19,*" frameborder="NO" border="0" framespacing="0">');
document.writeln('        <frame src="topFrame.htm" name="topFrame" id="topFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('        <frameset cols="260,748" frameborder="NO" border="0" framespacing="0">');
document.writeln('            <frame src="actionImageFrame.htm" name="actionImageFrame" id="actionImageFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('            <frameset rows="205,*" frameborder="NO" border="0" framespacing="0">');
document.writeln('                <frameset cols="*,185" frameborder="NO" border="0" framespacing="0">');
document.writeln('                    <frameset rows="151,54" frameborder="NO" border="0" framespacing="0">');
document.writeln('                        <frame src="topBannerFrame.htm" name="topBannerFrame" id="topBannerFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                        <frame src="menuFrame_'+ displayMenu +'.htm" name="menuFrame" id="menuFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                    </frameset>');
document.writeln('                    <frame src="eventFrame.htm" name="eventFrame" id="eventFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                </frameset>');
if(bIFrameProblemBrowser){
document.writeln('                <frameset cols="1,*,14" frameborder="NO" border="0" framespacing="0">');
document.writeln('                    <frame src="contentLeftFrame.htm" name="contentLeftFrame" id="contentLeftFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                    <frameset rows="34,*" frameborder="NO" border="0" framespacing="0">');
document.writeln('                        <frame src="tickerFrame.htm" name="tickerFrame" id="tickerFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                        <frameset cols="*,218" frameborder="NO" border="0" framespacing="0">');
document.writeln('                            <frameset rows="*,5" frameborder="NO" border="0" framespacing="0">');
document.writeln('                                <frame src="' + strContentURL + '" name="bodyFrame" id="bodyFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                                <frame src="contentBottomFrame.htm" name="contentBottomFrame" id="contentBottomFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                            </frameset>');
document.writeln('                            <frameset rows="29,*,71" frameborder="NO" border="0" framespacing="0">');
document.writeln('                                <frame src="newsTopFrame.htm" name="newsTopFrame" id="newsTopFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                                <frameset cols="6,*" frameborder="NO" border="0" framespacing="0">');
document.writeln('                                    <frame src="newsLeftFrame.htm" name="newsLeftFrame" id="newsLeftFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                                    <frame src="newsFrame_' + displayMenu + '.htm" name="newsFrame" id="newsFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                                </frameset>');
document.writeln('                                <frame src="languageSoundFrame.htm" name="languageSoundFrame" id="languageSoundFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                            </frameset>');
document.writeln('                        </frameset>');
document.writeln('                    </frameset>');
document.writeln('                    <frameset rows="91,*,81" frameborder="NO" border="0" framespacing="0">');
document.writeln('                    	<frame src="rightDummyFrame_top.htm" name="rightDummyFrame" id="rightDummyFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                    	<frame src="rightDummyFrame_middle.htm" name="rightDummyFrame" id="rightDummyFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                    	<frame src="rightDummyFrame_bottom.htm" name="rightDummyFrame" id="rightDummyFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('                    </frameset>');
document.writeln('                </frameset>');
}else{
if (strContentURL.length == 0) {
document.writeln('            <FRAME SRC="content.htm" NAME="contentFrame" ID="contentFrame" FRAMEBORDER="0" SCROLLING="No" NORESIZE MARGINWIDTH="0" MARGINHEIGHT="0" BORDER="0">');
} else {
document.writeln('            <FRAME SRC="content.htm?SHOW_URL=' + strContentURL + '" NAME="contentFrame" ID="contentFrame" FRAMEBORDER="0" SCROLLING="No" NORESIZE MARGINWIDTH="0" MARGINHEIGHT="0" BORDER="0">');
}
}
document.writeln('            </frameset>');
document.writeln('        </frameset>');
document.writeln('        <frame src="bottomMenuFrame_'+ displayMenu +'.htm" name="bottomMenuFrame" id="bottomMenuFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('        <frame src="bottomFrame.htm" name="bottomFrame" id="bottomFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('    </frameset>');
document.writeln('    <frame src="rightFrame.htm" name="rightFrame" id="rightFrame" scrolling="no" frameborder="0" noresize marginwidth="0" marginheight="0">');
document.writeln('</frameset>');