//////////BSSCDHTML Section 1//////////
// RoboHELP® Dynamic HTML Effects Script
// Copyright © 1998-1999 Blue Sky Software Corporation. All rights reserved.
// Version=3.56
// Warning: Do not modify this file. It is generated by RoboHELP® and changes will be overwritten.
//{{HH_SYMBOL_SECTION
var HH_ChmFilename = "D:\\WebDB30_Help\\webdb30task.chm";
var HH_WindowName = "NewWindow";
var HH_GlossaryFont = "";
var HH_Glossary = "0";
var HH_Avenue = "0";
var HH_ActiveX = false;
//}}HH_SYMBOL_SECTION
var gbNav4 = false;
var gbIE4 = false;
var gbIE = false;
var gbIE5 = false;
var gAgent = navigator.userAgent.toLowerCase();
var gbMac = (gAgent.indexOf("mac") != -1);
var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
var error_count = 0;
gbIE = (navigator.appName.indexOf("Microsoft") != -1);
if (parseInt(navigator.appVersion) >= 4) {
gbNav4 = (navigator.appName == "Netscape");
gbIE4 = (navigator.appName.indexOf("Microsoft") != -1);
if (gbIE4) {
if (gAgent.indexOf("msie 5.0") != -1) {
gbIE5 = true;
}
}
}
function HHActivateComponents()
{
if (HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0])))
{
var objBody = document.all.tags("BODY")[0];
objBody.insertAdjacentHTML("beforeEnd", '');
if (HHComponentActivator.object)
{
HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue);
}
}
}
var gAmc = new Array();
var BSSCSequenceIndex = 0;
function animationContext(el, progressAnimation, finishAnimiation, animationDuration, animationPeriod)
{
this.el = el;
this.progressAnimation = progressAnimation;
this.finishAnimiation = finishAnimiation;
this.animationDuration = parseFloat(animationDuration);
this.animationPeriod = animationPeriod;
this.animationStartTime = (new Date()).getTime();
this.continueAnimation = true;
}
function progressFade(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0){
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
gAmc[ndx].el.filters.alpha.opacity = gAmc[ndx].initialOpacity*(1.0-percent) + gAmc[ndx].finalOpacity*percent;
}
function finishFade(ndx)
{
gAmc[ndx].el.filters.alpha.opacity = parseInt(gAmc[ndx].finalOpacity);
}
function progressTranslation(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
gAmc[ndx].el.style.pixelLeft = gAmc[ndx].startX*(1.0-percent) + gAmc[ndx].finalX*percent;
gAmc[ndx].el.style.pixelTop = gAmc[ndx].startY*(1.0-percent) + gAmc[ndx].finalY*percent;
}
function progressSpiral(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
rf = 1.0 - percent
t = percent * 2.0*Math.PI
rx = Math.max(Math.abs(gAmc[ndx].el.initLeft), 200)
ry = Math.max(Math.abs(gAmc[ndx].el.initTop), 200)
gAmc[ndx].el.style.pixelLeft = Math.ceil(-rf*Math.cos(t)*rx)
gAmc[ndx].el.style.pixelTop = Math.ceil(-rf*Math.sin(t)*ry)
gAmc[ndx].el.style.visibility="visible"
}
function progressElasticFromRight(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
rf=Math.exp(-percent*7)
t = percent * 1.5*Math.PI
rx =Math.abs(gAmc[ndx].el.initLeft)
gAmc[ndx].el.style.pixelLeft = rf*Math.cos(t)*rx
gAmc[ndx].el.style.pixelTop = 0
gAmc[ndx].el.style.visibility="visible"
}
function progressElasticFromBottom(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
rf=Math.exp(-percent*7)
t = percent * 1.5*Math.PI
rx =Math.abs(gAmc[ndx].el.initTop)
gAmc[ndx].el.style.pixelLeft = 0
gAmc[ndx].el.style.pixelTop = rf*Math.cos(t)*rx
gAmc[ndx].el.style.visibility="visible"
}
function progressZoomIn(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1;
gAmc[ndx].continueAnimation = false;
}
for (var index=0; index= 1.0) {
finishZoom(ndx);
}
}
function progressZoomOut(ndx)
{
percent = ((new Date()).getTime() - gAmc[ndx].animationStartTime)/gAmc[ndx].animationDuration;
if (percent > 1.0) {
percent = 1.0;
gAmc[ndx].continueAnimation = false;
}
for (var index=0; index= 1.0) {
finishZoom(ndx);
}
}
function finishTranslation(ndx)
{
gAmc[ndx].el.style.pixelLeft = parseInt(gAmc[ndx].finalX);
gAmc[ndx].el.style.pixelTop = parseInt(gAmc[ndx].finalY);
}
function finishZoom(ndx)
{
for (i=0; i BSSCSequenceIndex && (!bFound || objectOrder < minBSSCSequenceIndexFound))
{
minBSSCSequenceIndexFound = objectOrder;
bFound = true;
}
}
}
if (bFound)
{
BSSCSequenceIndex = minBSSCSequenceIndexFound;
bStarted = startAnimationSet(BSSCSequenceIndex);
}
}
function getOffsetFromTopOfBrowser(el)
{
if (null == el.offsetParent)
return el.offsetTop;
else
return el.offsetTop + getOffsetFromTopOfBrowser(el.offsetParent);
}
function startAnimationSet(ndx)
{
var m = 0;
bStarted = false;
// Find document elements with "BSSCAnimationType" attribute
divElements = document.all.tags("DIV");
for (var index = 0; index < divElements.length; index++)
{
el = divElements[index];
animationType = el.getAttribute("BSSCAnimationType", false);
if(null != animationType)
{
framePeriod = el.getAttribute("BSSCFramePeriod", false);
frameCount = el.getAttribute("BSSCFrameCount", false);
sequenceIndex = el.getAttribute("BSSCObjectOrder", false);
// Stop any currently running RevealTrans filters
if ("RevealTrans" == animationType && parseInt(sequenceIndex) == ndx-1 && gbWindows)
el.filters.RevealTrans.stop();
// Filter on ndx
if (0 == ndx && null == sequenceIndex ||
ndx == parseInt(sequenceIndex))
{
if ("FlyInFromRight" == animationType)
{
animationDuration = el.getAttribute("BSSCDuration", false);
if (null == animationDuration)
animationDuration = 1000; // default to 1s
gAmc[m] = new animationContext(el, progressTranslation, finishTranslation, animationDuration, 10);
gAmc[m].startX = document.body.clientWidth + document.body.scrollLeft;
gAmc[m].startY = 0;
gAmc[m].finalX = 0;
gAmc[m].finalY = 0;
animationPump(m++);
bStarted = true;
}
if ("FlyOutToRight" == animationType)
{
animationDuration = el.getAttribute("BSSCDuration", false);
if (null == animationDuration)
animationDuration = 1000; // default to 1s
gAmc[m] = new animationContext(el, progressTranslation, finishTranslation, animationDuration, 10);
gAmc[m].startX = 0;
gAmc[m].startY = 0;
gAmc[m].finalX = document.body.clientWidth + document.body.scrollWidth;
gAmc[m].finalY = 0;
animationPump(m++);
bStarted = true;
}
if ("FlyInFromLeft" == animationType)
{
animationDuration = el.getAttribute("BSSCDuration", false);
if (null == animationDuration)
animationDuration = 1000; // default to 1s
for (childIndex=0; childIndex 0) && (document.images[0].src.indexOf('bsscnav1.gif') != -1)) {
document.links[0].href = "javascript:void(null);";
}
}
}
return;
}
//////////////////////////////////////////////////////////////////////////////////////////////
//
// Begin DHTML Popup Functions
//
//////////////////////////////////////////////////////////////////////////////////////////////
//variables used to isolate the browser type
var gBsDoc = null;
var gBsSty = null;
var gBsHtm = null;
var gBsStyVisShow = null;
var gBsStyVisHide = null;
var gBsClientWidth = 640;
var gBsClientHeight = 480;
var gBsBrowser = null;
//the browser information itself
function _BSPSBrowserItself()
{
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 == 2));
this.ns3 = ((this.ns) && (this.major == 3));
this.ns4 = ((this.ns) && (this.major >= 4));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = ((this.ie) && (this.major == 2));
this.ie4 = ((this.ie) && (this.major >= 4));
this.op3 = (agent.indexOf("opera") != -1);
if (this.ns4)
{
gBsDoc = "document";
gBsSty = "";
gBsHtm = ".document";
gBsStyVisShow = "show";
gBsStyVisHide = "hide";
}
else if (this.ie4)
{
gBsDoc = "document.all";
gBsSty = ".style";
gBsHtm = "";
gBsStyVisShow = "visible";
gBsStyVisHide = "hidden";
}
}
//Here is the browser type
function _BSPSGetBrowserInfo()
{
gBsBrowser = new _BSPSBrowserItself();
}
//Get client size info
function _BSPSGetClientSize()
{
if (gBsBrowser.ns4)
{
gBsClientWidth = innerWidth;
gBsClientHeight = innerHeight;
}
else if (gBsBrowser.ie4)
{
gBsClientWidth = document.body.clientWidth;
gBsClientHeight = document.body.clientHeight;
}
}
var gstrPopupID = 'BSSCPopup';
var gstrPopupShadowID = 'BSSCPopupShadow';
var gstrPopupTopicID = 'BSSCPopupTopic';
var gstrPopupIFrameID = 'BSSCPopupIFrame';
var gstrPopupIFrameName = 'BSSCPopupIFrameName';
var gstrPopupSecondWindowName = 'BSSCPopup';
var gPopupDiv = null;
var gPopupDivStyle = null;
var gPopupShadow = null;
var gPopupTopic = null;
var gPopupIFrame = null;
var gPopupIFrameStyle = null;
var gPopupWindow = null;
var gnPopupClickX = 0;
var gnPopupClickY = 0;
var gbPopupTimeoutExpired = false;
if (BSSCPopup_IsPopup()) {
document.write("");
}
function DHTMLPopupSupport()
{
if ((gbIE4) && (!gbMac)) {
return true;
}
return false;
}
function BSSCPopup_IsPopup()
{
if (DHTMLPopupSupport() && (this.name == gstrPopupIFrameName)) {
return true;
} else if ((gbNav4 || gbIE4) && (this.name == gstrPopupID)) {
return true;
} else {
return false;
}
}
function _BSSCCreatePopupDiv()
{
if (gPopupDiv == null) {
if (DHTMLPopupSupport()) {
document.write("");
var tempColl = document.all.tags("DIV");
for (var iDiv = 0; iDiv < tempColl.length; iDiv++) {
if (tempColl(iDiv).id == gstrPopupID) {
gPopupDiv = tempColl(iDiv);
}
if (tempColl(iDiv).id == gstrPopupShadowID) {
gPopupShadow = tempColl(iDiv);
}
if (tempColl(iDiv).id == gstrPopupTopicID) {
gPopupTopic = tempColl(iDiv);
}
}
gPopupIFrame = eval("gPopupDiv.document.frames['" + gstrPopupIFrameName + "']");
gPopupDivStyle = eval("gPopupDiv" + gBsSty);
gPopupIFrameStyle = eval(gBsDoc + "['" + gstrPopupIFrameName + "']" + gBsSty);
}
}
}
function BSSCPopup_Timeout()
{
if ((gPopupIFrame.document.readyState == "complete") &&
(gPopupIFrame.document.body != null)) {
BSSCPopup_TimeoutReal();
} else {
setTimeout("BSSCPopup_Timeout()", 100);
}
}
function BSSCPopup_TimeoutReal()
{
window.gbPopupTimeoutExpired = true;
if (gPopupIFrame.document) {
gPopupIFrame.document.body.onclick = BSSCPopupClicked;
}
document.onmousedown = BSSCPopupParentClicked;
}
function BSPSPopupTopicWinHelp(strURL)
{
_BSSCPopup(strURL);
return;
}
function _BSSCPopup(strURL)
{
if (DHTMLPopupSupport()) {
// If we are already in a popup, replace the contents
if (BSSCPopup_IsPopup()) {
location.href = strURL;
parent.window.gbPopupTimeoutExpired = false;
if (gbMac) {
setTimeout("BSSCPopup_AfterLoad()", 400);
} else {
setTimeout("BSSCPopup_AfterLoad()", 100);
}
} else {
// Load the requested URL into the IFRAME
gPopupIFrame.location.href = strURL;
window.gbPopupTimeoutExpired = false;
if (gbMac) {
setTimeout("BSSCPopup_AfterLoad()", 400);
} else {
setTimeout("BSSCPopup_AfterLoad()", 100);
}
}
} else {
if (window.name == gstrPopupSecondWindowName) {
window.location = strURL;
} else {
BSSCHidePopupWindow();
var nX = 0;
var nY = 0;
var nHeight = 300;
var nWidth = 400;
_BSPSGetClientSize();
if (gBsBrowser.ns4) {
nX = window.screenX + (window.outerWidth - window.innerWidth) + window.gnPopupClickX;
nY = window.screenY + (window.outerHeight - window.innerHeight) + window.gnPopupClickY;
if (nY + nHeight + 40 > screen.availHeight) {
nY = screen.availHeight - nHeight - 40;
}
if (nX + nWidth + 40 > screen.availWidth) {
nX = screen.availWidth - nWidth - 40;
}
} else {
nX = window.gnPopupClickX;
nY = window.gnPopupClickX;
}
// Launch a separate window
var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,";
strParam += "height=" + nHeight + ",width=" + nWidth;
strParam += ",screenX=" + nX + ",screenY=" + nY;
window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam);
if (gBsBrowser.ns4) {
window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUE);
window.gPopupWindow.onclick = NonIEPopup_HandleClick;
window.gPopupWindow.onblur = NonIEPopup_HandleBlur;
}
else if (gBsBrowser.ie4)
{
window.gPopupWindow.focus();
}
}
}
return;
}
function NonIEPopup_HandleBlur(e)
{
window.gPopupWindow.focus();
}
function NonIEPopup_HandleClick(e)
{
// Because navigator will give the event to the handler before the hyperlink, let's
// first route the event to see if we are clicking on a Popup menu in a popup.
document.routeEvent(e);
// If a popup menu is active then don't do anything with the click
if (window.gPopupWindow.gbInPopupMenu) {
window.gPopupWindow.captureEvents(Event.CLICK);
window.gPopupWindow.onclick = NonIEPopup_HandleClick;
return false;
}
// Close the popup window
if (e.target.href != null) {
window.location.href = e.target.href;
if (e.target.href.indexOf("BSSCPopup") == -1) {
this.close();
}
} else {
this.close();
}
return false;
}
function BSSCPopup_AfterLoad()
{
if ((window.gPopupIFrame.document.readyState == "complete") &&
(window.gPopupIFrame.document.body != null)) {
BSSCPopup_ResizeAfterLoad();
} else {
setTimeout("BSSCPopup_AfterLoad()", 200);
}
}
function BSSCPopup_ResizeAfterLoad()
{
window.gPopupDivStyle.visibility = gBsStyVisHide;
// Determine the width and height for the window
var size = new BSSCSize(0, 0);
BSSCGetContentSize(window.gPopupIFrame, size);
var nWidth = size.x;
var nHeight = size.y;
_BSPSGetClientSize();
if (nWidth > gBsClientWidth) {
// Adjust the height by 1/3 of how much we are reducing the width
var lfHeight = 1.0;
lfHeight = (((nWidth / (gBsClientWidth - 20.0)) - 1.0) * 0.3333) + 1.0;
lfHeight *= nHeight;
nHeight = lfHeight;
nWidth = gBsClientWidth - 20;
}
if (nHeight > gBsClientHeight * .67) {
nHeight = gBsClientHeight / 2;
}
window.gPopupDivStyle.width = nWidth;
window.gPopupDivStyle.height = nHeight;
// Determine the position of the window
var nClickX = window.gnPopupClickX;
var nClickY = window.gnPopupClickY;
var nTop = 0;
var nLeft = 0;
if (nClickY + nHeight + 20 < gBsClientHeight + document.body.scrollTop) {
nTop = nClickY + 10;
} else {
nTop = (document.body.scrollTop + gBsClientHeight) - nHeight - 20;
}
if (nClickX + nWidth < gBsClientWidth + document.body.scrollLeft) {
nLeft = nClickX;
} else {
nLeft = (document.body.scrollLeft + gBsClientWidth) - nWidth - 8;
}
if (nTop <0) nTop = 1;
if (nLeft<0) nLeft = 1;
window.gPopupDivStyle.left = nLeft;
window.gPopupDivStyle.top = nTop;
// Set the location of the background blocks
window.gPopupShadow.style.left = 6;
window.gPopupShadow.style.top = 6;
window.gPopupShadow.style.width = nWidth;
window.gPopupShadow.style.height = nHeight;
window.gPopupTopic.style.width = nWidth;
window.gPopupTopic.style.height = nHeight;
if (gbMac) {
// Total hack on the iMac to get the IFrame to position properly
window.gPopupIFrameStyle.pixelLeft = 100;
window.gPopupIFrameStyle.pixelLeft = 0;
// Explicitly call BSSCOnLoad because the Mac doesn't seem to do it
window.gPopupIFrame.window.BSSCOnLoad();
}
window.gPopupIFrameStyle.width = nWidth;
window.gPopupIFrameStyle.height = nHeight;
window.gPopupDivStyle.visibility = gBsStyVisShow;
setTimeout("BSSCPopup_Timeout();", 100);
return false;
}
function BSSCSize(x, y)
{
this.x = x;
this.y = y;
}
function BSSCGetContentSize(thisWindow, size)
{
if (!((gBsBrowser.ie4) || (gBsBrowser.ns4)))
return;
if (gbMac) {
size.x = 300;
size.y = 300;
return;
}
// Resize the width until it is wide enough to handle the content
// The trick is to start wide and determine when the scrollHeight changes
// because then we know a scrollbar is necessary. We can then go back
// to the next widest size (for no scrollbar)
size.x = 800;
var y = 1;
var x = 800;
// This double resize causes the document to re-render (and we need it to)
thisWindow.resizeTo(1, 1);
thisWindow.resizeTo(1, 1);
thisWindow.resizeTo(x, thisWindow.document.body.scrollHeight);
thisWindow.resizeTo(x, thisWindow.document.body.scrollHeight);
var miny = thisWindow.document.body.scrollHeight;
size.y = miny;
// alert('firstsizex :' + resizeInfo.RstX + " firstsizey :" + resizeInfo.RstY);
for (i = 7; i > 0; i--) {
x = i * 100;
thisWindow.resizeTo(x, miny);
thisWindow.resizeTo(x, miny);
// alert('testsizex :' + x + " testsizey :" + miny);
if ((thisWindow.document.body.scrollHeight > miny) ||
(thisWindow.document.body.scrollWidth > x)) {
x = (i + 1) * 100;
thisWindow.resizeTo(x, y);
thisWindow.resizeTo(x, y);
size.x = thisWindow.document.body.scrollWidth + 20;
size.y = thisWindow.document.body.scrollHeight + 20;
break;
}
}
// Handle absurd cases just in case IE flakes
if (size.y < 100) {
size.y = 100;
}
// alert('sizex :' + size.x + " sizey :" + size.y);
thisWindow.resizeTo(size.x, size.y);
thisWindow.resizeTo(size.x, size.y);
return;
}
function BSSCPopupParentClicked()
{
BSSCPopupClicked();
return;
}
function BSSCPopupClicked()
{
if (!window.gbPopupTimeoutExpired) {
return false;
}
if (gPopupIFrame.window.gbInPopupMenu) {
return false;
}
// Give the user a message about javascript calls through objects.
if ((gPopupIFrame.window.event != null) &&
(gPopupIFrame.window.event.srcElement != null) &&
(gPopupIFrame.window.event.srcElement.tagName == "A") &&
(gPopupIFrame.window.event.srcElement.href.indexOf("javascript:") == 0) &&
(gPopupIFrame.window.event.srcElement.href.indexOf(".") != -1)) {
gPopupIFrame.window.event.cancelBubble = true;
alert('Hyperlinks to objects do not work in popups.');
return false;
}
if (gPopupIFrame.document) {
gPopupIFrame.document.body.onclick = null;
}
document.onclick = null;
document.onmousedown = null;
// Simply hide the popup
gPopupDivStyle.visibility = gBsStyVisHide;
return true;
}
//trace the mouse over's position for hotspot
function BSPSPopupOnMouseOver(event)
{
if (gBsBrowser.ie4) {
window.gnPopupClickX = event.clientX + document.body.scrollLeft;
window.gnPopupClickY = event.clientY + document.body.scrollTop;
} else if (gBsBrowser.ns4) {
window.gnPopupClickX = event.pageX;
window.gnPopupClickY = event.pageY;
}
}
function BSSCHidePopupWindow()
{
if (window.gPopupWindow != null) {
if (gBsBrowser.ns4) {
if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) {
window.gPopupWindow.close();
window.gPopupWindow = null;
}
}
}
return;
}
var gbPopupMenuTimeoutExpired = false;
var gbInPopupMenu = false;
var gbPopupMenuTopicList = null;
//////////////////////////////////////////////////////////////////////////////////////////
//
// Popup Menu code
//
//////////////////////////////////////////////////////////////////////////////////////////
function _WritePopupMenuLayer()
{
document.write("");
if (gbNav4) {
//Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page...
// document.write(".PopupOver {color:white; background:navy; font-size:9pt; text-decoration:none;}");
// document.write(".PopupNotOver {color:black; background:#c0c0c0; font-size:9pt; text-decoration:none;}");
} else if (gbIE4) {
document.write("");
}
}
//Define variable arguments as: strTitle, strUrl
function PopupMenuTopicEntry()
{
this.strTitle = PopupMenuTopicEntry.arguments[0];
this.strURL = PopupMenuTopicEntry.arguments[1];
}
// If the topic list is set, it is an array of TopicEntry objects (defined in WebHelp3.js)
function PopupMenu_SetTopicList(aPopupTopicArray)
{
gbPopupMenuTopicList = aPopupTopicArray;
}
//Seek for the bsscright frame
function _SeekFrameByName( cRoot, strName )
{
if( cRoot == null ) return null;
if( cRoot.frames == null ) return null;
if( cRoot.frames[strName] != null ) return cRoot.frames[strName];
for (var i=0; i");
wndPopupLinks.document.write("");
var strParaLine = "";
for (var i = 0; i < (argLen - 2) / 2; i++) {
strParaLine = "";
strParaLine += "";
strParaLine += fn_arguments[2 * i + 2];
strParaLine += "";
strParaLine += "
";
wndPopupLinks.document.write(strParaLine);
}
wndPopupLinks.document.write("