agt = navigator.userAgent.toLowerCase();
win = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
mac = (agt.indexOf("mac")!=-1);
linux = (agt.indexOf("inux")!=-1);
d = document;
ns4 = (d.layers)? true: false;
ns6 = (navigator.userAgent.indexOf("Gecko")!=-1)? true: false;
ns61=(parseInt(navigator.productSub)>=20010726)? true: false;
ns62=(parseInt(navigator.productSub)>=20011128)? true: false;
ns71=(parseInt(navigator.productSub)>=20021120)? true: false;
opera=(navigator.userAgent.indexOf("opera")!=-1)? true: false;
appVer = navigator.appVersion.toLowerCase();
minor = parseFloat(appVer);
major = parseInt(minor);
iePos = appVer.indexOf('msie');
if (iePos !=-1) {
minor = parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos)))
major = parseInt(minor);
}
ie = (iePos!=-1);
browserTop = 110;
browserLeft = 0;
if(win && ns4)browserTop = 115;
if(mac && ns4)browserTop = 110;
if(mac && ie)browserTop = 95;
if(linux)browserTop = 130;
if(ns6)browserTop = 106;
if(ns61)browserTop = 102;
if(ns62)browserTop = 98;
if(ns71)browserTop = 110;
if(opera)browserTop = 80;
timegap=3000
followspeed=5
followrate=40
suboffset_top=5;
suboffset_left=0;
i = screen.width;
effect = "Shadow(color='#999999', Direction=135, Strength=6)"
prop1=[ // prop1 is an array of properties you can have as many property arrays as you need
"FFFFFF", // 0- Off Font Color
"000000", // 1- Off Back Color
"FFFFFF", // 2- On Font Color
"999999", // 3- On Back Color
"999999", // 4- Border Color
10, // 5- Font Size
"normal", // 6- Font Style
"BOLD", // 7- Font Weight
"Verdana, Tahoma, Arial, Helvetica, sans-serif", // 8- Font
4, // 9- Padding
, // 10- Sub Menu Image
0, // 11- 3D Border & Separator
"ffffff", // 12- 3D High Color
"ffffff" // 13- 3D Low Color
]
prop2=[ // prop2 is an array of properties you can have as many property arrays as you need
"ffffff", //"ffffff", Off Font Color
"000000", //"18AA00", Off Back Color
"FFFFFF", // On Font Color
"008015", // On Back Color
"FFFFFF", //"003366", Border Color
10, // Font Size
"normal", // Font Style
"normal", // Font Weight
"Verdana, Tahoma, Arial, Helvetica, sans-serif", // Font
3, // Padding
"images/arrow.gif", // Sub Menu Image
0, // 3D Border & Separator
"ffffff", // 3D High Color
"ffffff" // 3D Low Color
]
hlp=[ // hlp is an array of properties you can have as many property arrays as you need
"666666", // Off Font Color
"ffffff", // Off Back Color
"000000", // On Font Color
"ff9933", // On Back Color
"666666", // Border Color
9, // Font Size
"normal", // Font Style
"normal", // Font Weight
"comic sans ms,verdana,helvetica", // Font
3, // Padding
"images/arrow.gif", // Sub Menu Image
, // 3D Border & Separator
"cccccc", // 3D High Color
"000000" // 3D Low Color
]
hlp1=["666666","cccccc","000000","ff99ff","666666",9,"italic","normal","verdana,helvetica",5,"images/arrow.gif",,"cccccc","000000"]
hlp2=["666666","aaaaaa","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,"images/arrow.gif",,"cccccc","000000"]
hlp3=["ffffff","999999","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,"images/arrow.gif",,"cccccc","000000"]
hlp4=["ffffff","cccccc","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,"images/arrow.gif",,"cccccc","000000"]
hlp5=["ffffff","000000","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,"images/white_arrow.gif",,"cccccc","000000"]
menu1=[ // This is the array that contains your menu properties and details
browserTop, //0- Top
browserLeft, //1- left
, //2- Width - **** KEY TO DYNAMIC **** - WH
0, //3- Border Width
, //4- Screen Position - here you can use "center;middle;right"
prop1, //5- Properties Array - this is set higher up, as above
1, //6- Always Visible - allows the menu item to be visible at all time
, //7- Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
, //8- Filter - Text variable for setting transitional effects on menu activation
0, //9- Follow Scrolling - Tells the menu item to follow the user down the screen
1, //10- Horizontal Menu - set 1 for horizontal nothing for vertical - Tells the menu to be horizontal instead of top to bottom style
, //11- Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
, //12- Reserved for future use
, //13- Reserved for future use
, //14- Reserved for future use
//"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"|","#",,,1, // bar
"HOME","index.asp",,,1,
"|","#",,,1, // bar
"DEALER TOOLS","show-menu2","dealertools.asp",,1,
"|","#",,,1, // bar
"DATA SERVICES","show-menu4","#",,1,
"|","#",,,1, // bar
"WINDOW LABELS","windowlabels.asp",,,1,
"|","#",,,1, // bar
"PHOTO PACKAGES","photo.asp",,,1,
"|","#",,,1, // bar
"WEB DESIGN","webdesign.asp",,,1,
"|","#",,,1, // bar
"COMPANY INFORMATION","show-menu3","#",,1,
"|","#",,,1 // bar
]
menu2=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"VEHICLEDATA/IVM","http://www.vehicledata.com",,,1,
"LINKS","links.asp",,,1,
"BLOG","http://www.dsofsc.com/blog/",,,1,
"NEWS ARTICLES","articles2.asp",,,1,
"FINANCE CALCULATOR","fincalc.asp",,,1
]
menu3=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"COMPANY HISTORY","history.asp",,,1,
"COMPANY VALUES","values.asp",,,1,
"EMPLOYMENT","employment.asp",,,1,
"CONTRACTORS LOGIN","http://internaldevcore.com/replogin/replogin.asp",,,1
]
menu4=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"INVENTORY CONTROL","show-menu5","#",,1,
"VEHICLE PRICING","vehiclepricing.asp",,,1,
"WINDOW LABELS","windowlabels.asp",,,1,
"EXPANDED DATA DISTRIBUTION","expandeddata.asp",,,1,
"CERTIFIED PROGRAMS","certified.asp",,,1,
"PHOTO PACKAGES","photo.asp",,,1
]
menu5=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"AUTOLINK","autolink.asp",,,1,
"POLLING","polling.asp",,,1,
"VEHICLEDATA/IVM","http://www.vehicledata.com",,,1
]
//Not in use
menu6=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"AUTOLINK","#",,,1,
"CUSTOM LINKS","#",,,1,
"SPECIAL LINKS","#",,,1,
"GROUP LINKS","#",,,1
]
//Not in use
menu7=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]
//Not in use
menu8=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]
//Not in use
menu9=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]
//Not in use
menu10=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]
//Not in use
menu11=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]
//Not in use
menu12=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Temp","#",,,1
]