var menuArray
var sUpButtonImg="images/up_logo_sml_up_db.gif";
var sDownButtonImg="images/up_logo_sml_dn_db.gif";
var sTop='<a href="#top"><img onMouseOver="this.src=sDownButtonImg" onMouseOut="this.src=sUpButtonImg" onfocus="this.src=sDownButtonImg" onblur="this.src=sUpButtonImg" src="'+sUpButtonImg+'" alt="return to top" border="0" class="displayonly"></a>';
function PrintText()
{
if(top.frames['mainFrame'].frames)
{
top.frames['mainFrame'].frames['txtFrame'].focus();
print();
}
else
{
top.frames['mainFrame'].focus();
print();
}
}
var browser=navigator.appName;
var lsBuf="";
if(browser.indexOf("Netscape")!=-1)
{
lsBuf="_ns";
}
document.write('<LINK TYPE="text/css" REL="stylesheet" HREF="css/eseries_help' + lsBuf + '.css">');
if(navigator.appVersion.substr(0,1)=="4" && lsBuf=="_ns")
{
document.write('<LINK TYPE="text/css" REL="stylesheet" HREF="css/eseries_help_ns4.css">');
}
function WhichBrowser()
{
var agent=navigator.userAgent.toLowerCase();
this.major=parseInt(navigator.appVersion);
this.minor=parseFloat(navigator.appVersion);
this.ns =((agent.indexOf('mozilla')!=-1)&&((agent.indexOf('spoofer')==-1)&&(agent.indexOf('compatible')==-1)));
this.ns2=(this.ns&&(this.major==3));
this.ns3=(this.ns&&(this.major==3));
this.ns4b= (this.ns&&(this.minor > 4.04));
this.ns4=(this.ns&&(this.major==4));
this.ns4up=(this.ns&&(this.major>=4));
this.ns5=(this.ns&&(this.major==5));
this.ns5up=(this.ns&&(this.major>=5));
this.ns6=(this.ns&&(this.major==6));
this.ns6up=(this.ns&&(this.major>=6));
this.ie  = (agent.indexOf("msie") != -1);
this.ie3=(this.ie&&(this.major==2));
this.ie4=(this.ie&&(this.major==4));
this.ie4dn=(this.ie&&(this.major<=4));
this.ie4up=(this.ie&&(this.major>=4));
this.ie5=(this.ie&&(this.major==5));
this.ie5up=(this.ie&&(this.major>=5));
this.ie6=(this.ie&&(this.major==6));
this.ie6up=(this.ie&&(this.major>=6));
}
function DetectBrowser(MenuArray)
{
var Browser=new WhichBrowser()
var i;
if(Browser.ns5up||Browser.ie4up)
{
HideMenu(MenuArray);
}
}
function IndexItemClick(sParam)
{
if(parent.opener)
{
parent.opener.loadPages2(sParam);
}
}
function ShowMenu(sMenuItem)
{
if(document.layers)
{
getElement(sMenuItem).visibility="show";
}
else
{
getElement(sMenuItem).style.display="";
}
}
function getElement(sElement)
{
if(document.getElementById)
{
return document.getElementById(sElement);
}
else if(document.all)
{
return document.all(sElement);
}
else if(document.layers)
{
return document.layers[sElement];
}
}
function HelpLink(sTop,sMain,sBot,bPopup,sWidth,sPopName,sHeight)
{
this.TitleFramesrc=sTop;
this.MainFramesrc=sMain;
if(sBot)
{
this.BotFramesrc=sBot;
}
if(bPopup)
{
this.Popup=bPopup;
if(sWidth)this.Width=sWidth;
if(sHeight)this.Height=sHeight;
if(sPopName)this.PopName=sPopName
}
}
function opensite(sElement)
{
var oLink=top.topFrame.LinksArray[sElement]
var sName="popupsite"
if(oLink.PopName)
{
sName=oLink.PopName
}
if(parent.popupwind&&!parent.popupwind.closed)
{
parent.popupwind.close();
parent.popupwind = window.open(oLink.MainFramesrc,sName,"directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,resizable=yes,top=50,left=50");
}
else
{
parent.popupwind = window.open(oLink.MainFramesrc,sName,"directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,resizable=yes,top=50,left=50");
}
}
function popup_2(targetURL,sName)
{
if(menu&&!menu.closed)
{
menu.location.href=targetURL;
menu.focus();
}
if(sName)
{
menu = window.open(targetURL,sName,"directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,width=700,height=560,top=30,left=50");
}
else
{
menu = window.open(targetURL,"menu","directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,width=700,height=560,top=30,left=50");
}
}
function ChangeTopic(sAnchor,sFrame,sFileName)
{
var bGoToAnchor=true;
if(sFileName)
{
lsPath=GetPath();
if(top[sFrame].location.href!=lsPath+sFileName+top[sFrame].location.hash){
top[sFrame].location.href=lsPath+sFileName + "#" + sAnchor;
bGoToAnchor=false;
}
}
if(bGoToAnchor)top[sFrame].location.hash=sAnchor;
}
function doExpand1(paraNum,MenuArray)
{
var sImage=paraNum + "Img";
if(getElement(paraNum).style.display=="none")
{
HideMenu(MenuArray);
var index;
for(index=0;index<MenuArray.length;index++)
{
var MenuName=getElement(MenuArray[index]).id;
var ImgMenu=getElement(MenuName + "Img")
if(ImgMenu.src.substr(ImgMenu.src.length-10)=="minus1.gif")
{
ImgMenu.src="images/plus1.gif";
}
}
getElement(paraNum).style.display=""
getElement(sImage).src="images/minus1.gif"
getElement(sImage).previousimg=getElement(sImage).src
}
else
{
getElement(paraNum).style.display="none";
getElement(sImage).src="images/plus1.gif"
getElement(sImage).previousimg=getElement(sImage).src
}
}
function doExpand(paraNum,MenuArray)
{
if(paraNum.style.display=="none")
{
HideMenu(MenuArray);
paraNum.style.display=""
}
else{paraNum.style.display="none";}
}
function doExpand2(paraNum)
{
if(document.all||document.getElementById)
{
oElement=getElement(paraNum)
if(oElement.className=="display_expand")
{
oElement.style.display="none";
oElement.className="";
}
if(oElement.style.display=="none")
{
oElement.style.display=""
}
else{oElement.style.display="none";}
}
}
function HideMenu(MenuArray)
{
var index;
for(index=0;index<MenuArray.length;index++)
{
if(getElement(MenuArray[index]).style.display=="")
{
getElement(MenuArray[index]).style.display="none";
}
}
}
function toggle(n)
{
var sMenu= n;
var oSubMenu;
if(document.layers)
{
}
else if(document.all)
{
oSubMenu=document.all(sMenu).style;
if(oSubMenu.display==sVisible)
{
oSubMenu.display=sHidden;
return;
}
else
{
oSubMenu.display=sVisible;
if(iLastMenu!=n)
{
lasttoggle(iLastMenu);
}
}
}
iLastMenu=n;
}
function popup(oLink)
{
var sWidth="700";
var sHeight="600";
var sName="popup"
var WindIndex=0;
if(oLink.Width)
{
sWidth=oLink.Width;
}
if(oLink.Height)
{
sHeight=oLink.Height;
}
if(oLink.PopName)
{
sName=oLink.PopName
for(var index=1;index<top.WindRefArray.length;index++)
{
var bWinRefExists=false;
if(top.WindRefArray[index].closed)
{
WindIndex=index
bWinRefExists=true;
}
else if(top.WindRefArray[index].name==sName)
{
WindIndex=index
bWinRefExists=true;
}
}
if(top.WindRefArray.length==0)top.WindRefArray.length=1;
if(!bWinRefExists)WindIndex=top.WindRefArray.length;
}
var lsPath=GetPath();
if(top.WindRefArray[WindIndex]&&!top.WindRefArray[WindIndex].closed)
{
top.WindRefArray[WindIndex].close();
top.WindRefArray[WindIndex] = window.open(lsPath + oLink.MainFramesrc,sName,"directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,width=" + sWidth + ",height=" + sHeight + ",top=50,left=50");
}
else
{
top.WindRefArray[WindIndex] = window.open(lsPath + oLink.MainFramesrc,sName,"directories=no,menubar=no,toolbar=no,scrollbars=yes,status=no,width=" + sWidth + ",height=" + sHeight + ",top=50,left=50");
}
}
function GetPath()
{
var lsPath=parent.location.href;
i=lsPath.lastIndexOf("/");
lsPath=lsPath.substr(0,i+1);
return(lsPath);
}
function loadPages2(sElement)
{
var oLink=top.topFrame.LinksArray[sElement]
if(top.WindRefArray[0]&&!top.WindRefArray[0].closed)
{
top.WindRefArray[0].close();
}
if(oLink!=null)
{
if(oLink.Popup)
{
popup(oLink);
}
else
{
parent.titleFrame.location.href= oLink.TitleFramesrc;
parent.mainFrame.location.href= oLink.MainFramesrc;
if(oLink.BotFramesrc)
{
parent.bottomFrame.location.href= oLink.BotFramesrc;
}
}
}
}
function loadPages1(url1, url2)
{
parent.titleFrame.location.href= url1;
parent.mainFrame.location.href= url2;
}
<!-- Printing routines -->
function printReport(framename)
{
var oPrefix;
if(parent.frames.length>0)
{
oPrefix=parent.frames[framename];
}
else
{
oPrefix=self;
}
oPrefix.focus();
if(document.all)
{
var lbUsingIE4=(navigator.appVersion.indexOf("4.0")>=0);
if(lbUsingIE4)
{
var WebBrowser = "<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>";
document.body.insertAdjacentHTML("BeforeEnd", WebBrowser);
setTimeout("printReportIE4()",200);
}
else
oPrefix.print();
}
else
{
oPrefix.focus();
oPrefix.print();
}
}
function printReportIE4()
{
var OLECMDID_PRINT=6;
var OLECMDEXECOPT_DONTPROMPTUSER=2;
var OLECMDEXECOPT_PROMPTUSER=1;
WebBrowser1.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER);
WebBrowser1.outerHTML="";
}
function LoadIndex()
{
var Is=new WhichBrowser();
if(!Is.ns5up&&!Is.ie)
{
self.frames[1].onresize="myResize()"
}
}
function myResize()
{
for(var i=0;i < self.frames.length;i++)
{
self.frames[i].location.reload(false);
}
}
function MM_preloadImages(){
var d=document;if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}
}
function IfFocusKey(e)
{
if(window.event)
{
if(window.event.keyCode==10)
{
parent.frames['leftFrame'].getElement('mnu_top').focus();
}
else if(window.event.keyCode==11)
{
parent.frames['mainFrame'].focus();
}
}
else if(e)
{
if(e.which==106&&e.ctrlKey==true)
{
parent.frames['leftFrame'].getElement('mnu_top').focus();
}
else if(e.which==107&&e.ctrlKey==true)
{
parent.frames['mainFrame'].focus();
}
}
return true;
}



