|
timegap=500
followspeed=5
followrate=40
suboffset_top=0;
suboffset_left=10;
effect = "fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
function openwin(url){
nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
nwin.focus();
}
prop1=[ // prop1 is an array of properties you can have as many property arrays as you need
"ffffff", // Off Font Color
"7E3A3B", // Off Back Color
"000000", // On Font Color
"cccccc", // On Back Color
"000000", // Border Color
14, // Font Size
"normal", // Font Style
"normal", // Font Weight
"Arial, Helvetica, sans-serif", // Font
3, // Padding
"images/spacer.gif", // Sub Menu Image
0, // 3D Border & Separator
"ffff66", // 3D High Color
"000099", // 3D Low Color
"", // Referer item Font Color (leave this blank to disable)
"", // Referer item Back Color (leave this blank to disable)
]
prop2=[ // prop1 is an array of properties you can have as many property arrays as you need
"ffffff", // Off Font Color
"7E3A3B", // Off Back Color
"000000", // On Font Color
"cccccc", // On Back Color
"000000", // Border Color
12, // Font Size
"normal", // Font Style
"normal", // Font Weight
"Arial, Helvetica, sans-serif", // Font
3, // Padding
"images/spacer.gif", // Sub Menu Image
0, // 3D Border & Separator
"ffff66", // 3D High Color
"000099", // 3D Low Color
"", // Referer item Font Color (leave this blank to disable)
"", // Referer item Back Color (leave this blank to disable)
]
menu1=[ // This is the array that contains your menu properties and details
131, // Top1
0, // left
120, // Width
1, // Border Width
"left", // Screen Position - here you can use "center;middle;right"
prop1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time
"center", // Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
, // Filter - Text variable for setting transitional effects on menu activation
0, // Follow Scrolling - Tells the menu item to follow the user down the screen
1, // Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
1, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
"left", // Position of sub image left:center:right:middle:top:bottom
0, // Show an image on top menu bars indicating a sub menu exists below
, // Reserved for future use
"Home","default.asp","","Home",1,// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"Tables", "show-menu2", "tables.asp", "Southern Legacy Billiard Tables",1,
"Packaging", "shipping.asp", "", "Shipping and Packaging", 1,
"Quality", "construction.asp", "", "Construction", 1,
"Custom Felt", "felt.asp", "", "Custom Felt", 1,
"Contact Us","show-menu4","contact.asp","Contact Us",1
]
menu2=[
,,150,1,"",prop2,,"left",effect,,,,,,,
"Univ. of Texas","UT.asp",,"University of Texas Billiard Table",1,
"Univ. of Oklahoma","OU.asp",,"University of Oklahoma Billiard Table",1,
"Maverick","maverick.asp",,"Maverick Billiard Table",1,
"Madison","show-menu3",,"Madison Billiard Table",1,
"Camden","camden.asp",,"Camden Billiard Table",1,
"Hawthorne","hawthorne.asp",,"Hawthorne Billiard Table",1,
"Texas Rangers","TexasRangers.asp",,"Texas Rangers",1
]
menu3=[
,,120,1,"",prop2,,"left",effect,,,,,,,
"Oak","madisonoak.asp",,"Oak Madison Billiard Table",1,
"Mahogany","madisonmahogany.asp",,"Mahogany Madison Billiard Table",1
]
menu4=[
,,120,1,"",prop2,,"left",effect,,,,,,,
"Find a Dealer","dealers.asp",,"Find a Dealer Near You",1,
"Become a Dealer","contact.asp",,"Become a SLB Dealer Today",1
]
menu5=[
,,120,1,"",prop2,,"left",effect,,,,,,,
"Oak","medinaoak.asp",,"Oak Medina Billiard Table",1,
"Mahogany","medinamahogany.asp",,"Mahogany Medina Billiard Table",1
]
timer=0;d=document
smc=-1;
ns4=(d.layers)?true:false
ns6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
mac=(navigator.appVersion.indexOf("Mac")!=-1)?true:false
if(ns6)mac=false
opera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false
ns61=(parseInt(navigator.productSub)>=20010726)?true:false
ie4=(!d.getElementById&&d.all)?true:false;
konq=(navigator.userAgent.indexOf("Konqueror")!=-1)?true:false
mp=(ns6)?"pointer":"hand";atop=5;oatop=0;aleft=0;oaleft=1
var a,am,oa,im,om,flta;hlarr=new Array();hlcnt=0;hll=0
timo=0;el=0;nshl=0;var omv=0;df=1;im=0;ofrac=0;omnu=0;ac=15;m=1
var imar=new Array();mr=","
while(eval("window.menu"+m)){mr+="menu"+m+",";tmenu=eval("menu"+m);m++};mr=mr+" ";mr=mr.split("\,");menus=mr.length-1;bgt="";if(!opera)bgt="Color"
function getMenuObject(mtxt){
if(d.getElementById){
m=d.getElementById(mtxt)
}else if(d.all){
m=d.all[mtxt]
}else if(d.layers){
m=d.layers.eval(mtxt)
}
return m
}
function getMenuStyle(mtxt){
m=getMenuObject(mtxt);if(!ns4){
m=m.style;
}
return m;
}
function spos(gm,t_,l_,h_,w_){
if(ns4){
gms=gm;if(w_)gms.clip.width=w_;if(h_)gms.clip.height=h_;
}else if(opera){
gms=gm.style;if(w_)gms.pixelWidth=w_;if(h_)gms.pixelHeight=h_
}else{
gms=gm.style;if(w_)gms.width=w_;if(h_)gms.height=h_;
}
if(t_)gms.top=t_;if(l_)gms.left=l_
}
function gpos(gm){
if(ns4){
t_=gm.top;l_=gm.left;h_=gm.clip.height;w_=gm.clip.width;
}else if(opera){
t_=gm.style.pixelTop;l_=gm.style.pixelLeft;h_=gm.style.pixelHeight;w_=gm.style.pixelWidth;
}else if(ns6){
t_=gm.offsetTop;l_=gm.offsetLeft;h_=gm.offsetHeight;w_=gm.offsetWidth
}else{
t_=gm.offsetTop;l_=gm.offsetLeft;h_=gm.offsetHeight;w_=gm.offsetWidth;
}if(konq){
w_=parseInt(gm.style.width);h_=parseInt(gm.style.height);
}
var gpa=new Array();gpa[0]=t_;gpa[1]=l_;gpa[2]=h_;gpa[3]=w_;return(gpa)
}
function closeIt(){
for(xa=hlarr.length-1;xa>=0;xa--){
ti=hlarr[xa].split("-");tmenu=eval("menu"+ti[0]);if(ns4){shl(ti[0]-1,ti[1],'hide');
}else{
arg=getMenuObject("el"+ti[1]);arg.style.backgroundColor="#"+tmenu[5][1];if(opera)arg.style.background="#"+tmenu[5][1];arg.style.color="#"+tmenu[5][0];
}if("menu"+ti[0]==hll){if(ns4)shl(ti[0]-1,hel,'show');
return
}
}
hlcnt=0;hlarr=new Array()
}
function closeallmenus(){
om=0;if(ns4){omv.visibility="hide"
}for(a=1;a |
|