var IsIEPlus = false
if (navigator.userAgent.indexOf("MSIE") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.appVersion.substring(0,1) > 3)
{
IsIEPlus = true;
}
if (IsIEPlus)
{
var newLineChar = String.fromCharCode(10);
var char34 = String.fromCharCode(34);
var FirstCRMsg = true;
var hpStr;
var hpLinkCnt = 0;
var hpLinkWidth = 0;
hpStyle = "";
document.write(hpStyle);
hpStr =
"
" +
"" +
"" +
" " +
" | " +
"
" +
"
";
}
function showHomePage(PageIDStr)
{
buildNavigation(PageIDStr);
//buildHeadline(PageIDStr);
//alert(hpStr);
document.write(hpStr);
}
function addCategory(CatIDStr, CatStr, defaultShow)
{
sImg = defaultShow? "minus.gif" : "macquarium_icn.gif";
sStyle = defaultShow? "black" : "none";
SubStr = "";
if (hpStr.indexOf(SubStr) >= 0)
{
SrcStr = "" + SubStr;
hpStr = hpStr.replace(SubStr, SrcStr);
}
}
function addCategoryLink(CatIDStr, CatStr, LinkUrl)
{
SubStr = "";
if (hpStr.indexOf(SubStr) >= 0)
{
//SrcStr ="" + CatStr + "
" + SubStr;
SrcStr ="" + CatStr + "
" + SubStr;
hpStr = hpStr.replace(SubStr, SrcStr);
}
}
function setLastUpdate(TextStr)
{
hpStr = hpStr.replace("", TextStr);
}
function clickCategory(CatIDStr)
{
var txtObj = document.all("T_" + CatIDStr);
var imgObj = document.all("I_" + CatIDStr);
if (txtObj.style.display == 'none')
{
txtObj.style.display = '';
imgObj.src = 'macface_icn.gif';
}
else
{
txtObj.style.display = 'none';
imgObj.src = 'macquarium_icn.gif';
}
window.event.cancelBubble=true;
}