|
|
What this is
This file is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn
Java by Example" TM.
Other links
The source code
var ToolBar_Supported = false;
var Frame_Supported = false;
var DoInstrumentation = false;
var doImage = doImage;
var TType = TType;
if (navigator.userAgent.indexOf("MSIE") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.appVersion.substring(0,1) > 3)
{
ToolBar_Supported = true;
}
if(doImage == null)
{
var a= new Array();
a[0] = prepTrackingString(window.location.hostname,7);
if (TType == null)
{
a[1] = prepTrackingString('PV',8);
}
else
{
a[1] = prepTrackingString(TType,8);
}
a[2] = prepTrackingString(window.location.pathname,0);
if(window.location.search != '')
{
a[a.length] = prepTrackingString(window.location.search,1);
}
if( '' != window.document.referrer)
{
a[a.length] = prepTrackingString(window.document.referrer,5);
}
if (navigator.userAgent.indexOf("SunOS") == -1 && navigator.userAgent.indexOf("Linux") == -1)
{
buildIMG(a);
}
}
if (ToolBar_Supported)
{
var newLineChar = String.fromCharCode(10);
var char34 = String.fromCharCode(34);
var LastMSMenu = "";
var CurICPMenu = "";
var IsMSMenu = false;
var IsMenuDropDown = true;
var HTMLStr;
var FooterStr;
var x = 0;
var y = 0;
var x2 = 0;
var y2 = 0;
var MSMenuWidth;
var ToolbarMinWidth;
var ToolbarMenu;
var ToolbarBGColor;
var ToolbarLoaded = false;
var aDefMSColor = new Array(3);
var aDefICPColor = new Array(3);
var aCurMSColor = new Array(3);
var aCurICPColor = new Array(3);
var MSFont;
var ICPFont;
var MaxMenu = 30;
var TotalMenu = 0;
var arrMenuInfo = new Array(30);
var bFstICPTBMenu = true;
var bFstICPFTMenu = true;
// Output style sheet and toolbar ID
document.write("<SPAN ID='StartMenu' STYLE='display:none;'>");
// Build Footer template
FooterStr = "<TABLE ID='idFooter1' STYLE='background-color:white;' cellSpacing='0' cellPadding='0' border='0'>" +
"<TR VALIGN='BOTTOM'>| | |
" +
"<TR VALIGN='BOTTOM'>" +
"</TABLE>