home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.rsa.com
/
2014.05.ftp.rsa.com.tar
/
ftp.rsa.com
/
pub
/
agents
/
RSASecurIDTokenAuto411.msi
/
Data1.cab
/
_74912F97563462B8F2E7A97879FB7D43
< prev
next >
Wrap
Text File
|
2011-12-07
|
6KB
|
229 lines
<html>
<head>
<title>Select a Topic </title>
<script language="javascript" src="whver.js"></script>
<script language="javascript1.2" src="whutils.js"></script>
<script language="javascript">
<!--
var gsBgColor = "#c0c0c0";
var gsBgImage = "";
var gsListBgColor = "white";
var gsListBgImage = "";
var gsMargin="0pt";
var gsIndent="0pt";
var gSelectedItem = -1;
var goFont=null;
var goHoverFont=null;
var goTableFont=null;
var gsABgColor="#cccccc";
function setListBackground(sBgImage)
{
if (sBgImage != null && sBgImage.length > 0)
gsListBgImage = sBgImage;
}
function setListBackgroundcolor(sBgColor)
{
if (sBgColor != null && sBgColor.length > 0)
gsListBgColor = sBgColor;
}
function setBackground(sBgImage)
{
if (sBgImage != null && sBgImage.length > 0)
gsBgImage = sBgImage;
}
function setBackgroundcolor(sBgColor)
{
if (sBgColor != null && sBgColor.length > 0)
gsBgColor = sBgColor;
}
function setActiveBgColor(sBgColor)
{
gsABgColor=sBgColor;
}
function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
{
var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
if (sType == "Normal")
goFont=vFont;
if (sType == "Hover")
goHoverFont=vFont;
else if (sType == "Table")
goTableFont=vFont;
}
function fnOnload()
{
if( window.dialogArguments != null )
fnLoadOptions( window.dialogArguments );
var items = getElementsByTag(document, "a");
if (items.length > 0)
items[0].focus();
}
var gaOpts = new Array();
function selectOption(index)
{
gSelectedItem = index;
}
function displayOption(index)
{
if (index < gaOpts.length)
{
returnValue = new Object();
returnValue.m_url = gaOpts[index];
}
else
returnValue = null;
window.close();
}
function fnLoadOptions( cList )
{
var sHTML = "<dl>";
for( var i=0;i <cList.length; i++)
{
sHTML += "<dt><nobr><a href=\"javascript:void(0);\" onclick=\"return false;\" onfocus=\"selectOption(";
sHTML += gaOpts.length + ");return false;\" ondblclick=\"displayOption(" + gaOpts.length;
sHTML += ");return false;\">"+ _textToHtml(cList[i].m_sName) + "</a></nobr></dt>";
gaOpts[gaOpts.length] = cList[i].m_sURL;
}
sHTML += "</dl>";
var oDivCon=getElement("divlist");
if(oDivCon)
oDivCon.innerHTML=sHTML;
return true;
}
function fnOK()
{
displayOption(gSelectedItem);
}
function fnCancel()
{
returnValue = null; window.close();
}
function fnOnKeypress()
{
switch( event.keyCode )
{
case 13: // enter key
fnOK();
break;
case 27: // escape key
fnCancel();
break;
}
}
function writeStyle(bMiniBar)
{
var sStyle="";
sStyle+="<style type='text/css'>\n";
sStyle+="<!--\n";
sStyle+="body.clsbody\n";
sStyle+="{\n";
sStyle+="margin: 4px;\n";
sStyle+=getFontStyle(goTableFont);
sStyle+="background-attachment: fixed;\n";
sStyle+="};\n";
sStyle+="P.clsNDXTD\n";
sStyle+="{\n";
sStyle+="margin:0;\n";
sStyle+=getFontStyle(goTableFont);
sStyle+="};\n";
sStyle+="div.clslist\n";
sStyle+="{\n";
if (gsListBgImage)
sStyle+="background-image:url("+gsListBgImage+");\n";
else if (gsListBgColor)
sStyle+="background-color:"+gsListBgColor+";\n";
sStyle+=getFontStyle(goFont);
sStyle+="};\n";
sStyle+="BUTTON.clsNDXButton\n";
sStyle+="{\n";
sStyle+=getFontStyle(goTableFont);
sStyle+="background-color: transparent;\n";
sStyle+="};\n";
sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
sStyle+="A:active {background-color:"+gsABgColor+";}\n";
sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
sStyle+="</style>\n";
document.write(sStyle);
}
function window_OnLoad()
{
if(document.body)
{
if(gsBgImage&&gsBgImage.length>0)
{
document.body.background=gsBgImage;
}
if(gsBgColor&&gsBgColor.length>0)
{
document.body.bgColor=gsBgColor;
}
}
fnOnload();
window_onResize();
}
function window_onResize()
{
var oDiv = getElement("divlist");
var oTitle = getElement("p_title");
var oButton = getElement("tb_button");
if (oDiv && oTitle && oButton)
{
oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8;
}
}
goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none");
setBackgroundcolor("Navy");
setBackground("bkg.gif");
setFont("Table", "Verdana","8pt","White","Normal","Normal","none");
setListBackgroundcolor("Navy");
setListBackground("bkg.gif");
setFont("Normal", "Verdana","8pt","Navy","Normal","Normal","none");
setFont("Hover", "Verdana","8pt","Navy","Normal","Normal","underline");
setActiveBgColor("Silver");
window.onload=window_OnLoad;
window.onresize = window_onResize;
writeStyle();
//-->
</script>
</head>
<body class="clsbody" scroll="no" onkeypress="fnOnKeypress()">
<p id="p_title" class="clsNDXTD"><nobr>Select a topic, then click Display</nobr></p>
<div id="divlist" class="clslist" style="margin:2px;position: relative;overflow:auto;width:100%;border-style:inset;border-width:2">
</div>
<table id="tb_button" width="100%">
<tr>
<td width="100%" align="center"><button class="clsNDXButton" name="btnOK" onclick="fnOK()">Display</button> <button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>
</tr>
</table>
</body>
</html>