var ver = "n3";
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (bName == "Netscape" && bVer <= 3) ver = "n3";
else if (bName == "Netscape" && bVer >= 4) ver = "n4";
else if (bName == "Microsoft Internet Explorer" && bVer <= 3) ver = "e3";
else if (bName == "Microsoft Internet Explorer" && bVer >= 4) ver = "e4";
//Making a menu object
oMenu=new menuObj('oMenu')
//Setting menu object variables
// Use this instead! (some styles are there by default, like position:absolute ++)
oMenu.clMain='padding:0px; font-family:verdana; font-size:11px; font-weight:bold; text-align:left'
oMenu.clSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu.clSubSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu.clAMain='text-decoration:none; color:gray'
oMenu.clASub='text-decoration:none; color:white'
oMenu.clASubSub='text-decoration:none; color:white'
//Background bar properties
oMenu.backgroundbar=0
oMenu.backgroundbarfromleft=30
oMenu.backgroundbarfromtop=0
oMenu.backgroundbarsize="90%"
oMenu.backgroundbarcolor="#880000"
if ((ver == "n4") || (ver == "n3"))
{
oMenu.mainheight=19
oMenu.mainwidth=120
}
else
{
oMenu.mainheight=19
oMenu.mainwidth=127
}
/*These are new variables. In this example they are set like the previous version*/
oMenu.subwidth=oMenu.mainwidth
oMenu.subheight=20
oMenu.subsubwidth=oMenu.mainwidth
oMenu.subsubheight=oMenu.subheight
//Writing out the style for the menu (leave this line!)
oMenu.makeStyle()
oMenu.subplacement=oMenu.mainheight
oMenu.subsubXplacement=oMenu.subwidth+0
oMenu.subsubYplacement=0
oMenu.mainbgcoloroff='white'
oMenu.mainbgcoloron='white'
oMenu.subbgcoloroff='#FF870E'
oMenu.subbgcoloron='#EC7D0D'
oMenu.subsubbgcoloroff='#FF870E'
oMenu.subsubbgcoloron='#EC7D0D'
oMenu.stayoncolor=1
oMenu.menuspeed=15
oMenu.menusubspeed=15
oMenu.menurows=1
oMenu.menueventon="mouse"
oMenu.menueventoff="mouse"
oMenu.menuplacement=0
oMenu.pxbetween=150
numberofmenus=1
menutotalwidth=oMenu.mainwidth*numberofmenus+oMenu.pxbetween*(numberofmenus-1)
if ((ver == "n4") || (ver == "n3"))
{
oMenu.fromleft=99
}
else
{
oMenu.fromleft=99
}
oMenu.backgroundbarfromleft=oMenu.fromleft
oMenu.backgroundbarsize=menutotalwidth
if ((ver == "n4") || (ver == "n3"))
{
oMenu.fromtop=175
}
else
{
oMenu.fromtop=175
}
//MAIN 0
//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
//oMenu.makeMain(0,'',0)
//Sub items:
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)
oMenu.makeSub(0,0,'Computers ','',4)
oMenu.makeSub(0,1,'Electronics ','',4)
//oMenu.makeSub(0,2,'Digital Products ','',4)
oMenu.makeSub(0,2,'Home Appliances ','',4)
oMenu.makeSub(0,3,'Automobiles ','',4)
//SubSub items:
// makeSubSub(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL)
//oMenu.makeSubSub(0,0,0,'Computers ','product.asp?compare=+&ptype=6&category=7&subcat=27',6)
////oMenu.makeSubSub(0,0,1,'Deskjet Printer ','product.asp?compare=&ptype=6&category=7&subcat=31',6)
////oMenu.makeSubSub(0,0,2,'Dot Matrix Printer ','product.asp?compare=&ptype=6&category=7&subcat=33',6)
////oMenu.makeSubSub(0,0,3,'Inkjet Printer ','product.asp?compare=&ptype=6&category=7&subcat=32',6)
//oMenu.makeSubSub(0,0,1,'Laptop ','product.asp?compare=&ptype=6&category=7&subcat=29',6)
//oMenu.makeSubSub(0,0,2,'Laser Printer ','product.asp?compare=&ptype=6&category=7&subcat=34',6)
////oMenu.makeSubSub(0,0,6,'Modems ','product.asp?compare=&ptype=6&category=7&subcat=38',6)
//oMenu.makeSubSub(0,0,3,'Monitor ','product.asp?compare=&ptype=6&category=7&subcat=28',6)
//oMenu.makeSubSub(0,0,4,'Palm Pilots ','product.asp?compare=&ptype=6&category=7&subcat=30',6)
//oMenu.makeSubSub(0,0,5,'Scanner ','product.asp?compare=&ptype=6&category=7&subcat=42',6)
//oMenu.makeSubSub(0,1,0,'CD players ','product.asp?compare=&ptype=6&category=2&subcat=11',5)
//oMenu.makeSubSub(0,1,1,'DVD players ','product.asp?compare=&ptype=6&category=2&subcat=13',5)
//oMenu.makeSubSub(0,1,2,'Music systems ','product.asp?compare=&ptype=6&category=2&subcat=6',5)
//oMenu.makeSubSub(0,1,3,'Televisions ','product.asp?compare=&ptype=6&category=2&subcat=8',5)
////oMenu.makeSubSub(0,1,4,'Walkman ','product.asp?compare=&ptype=6&category=2&subcat=7',5)
////oMenu.makeSubSub(0,1,5,'Copier ','product.asp?compare=&ptype=6&category=6&subcat=26',5)
////oMenu.makeSubSub(0,1,6,'Fax Machine ','product.asp?compare=&category=6&subcat=23',5)
//oMenu.makeSubSub(0,1,4,'Mobile Phone ','product.asp?compare=&category=6&subcat=25',5)
////oMenu.makeSubSub(0,2,0,'Still Camera ','product.asp?compare=&ptype=6&category=5&subcat=21',2)
////oMenu.makeSubSub(0,2,1,'Video Camera ','product.asp?compare=&ptype=6&category=5&subcat=22',2)
//oMenu.makeSubSub(0,2,0,'Air conditioners ','product.asp?compare=&ptype=6&category=3&subcat=18',7)
//oMenu.makeSubSub(0,2,1,'Microwave ovens ','product.asp?compare=&ptype=6&category=3&subcat=15',7)
//oMenu.makeSubSub(0,2,2,'Refrigerators ','product.asp?compare=&ptype=6&category=3&subcat=14',7)
//oMenu.makeSubSub(0,2,3,'Washing machines ','product.asp?compare=&ptype=6&category=3&subcat=17',7)
//oMenu.makeSubSub(0,2,4,'Mixers ','product.asp?compare=&ptype=6&category=3&subcat=45',7)
//oMenu.makeSubSub(0,2,5,'Still Camera ','product.asp?compare=&ptype=6&category=5&subcat=21',7)
//oMenu.makeSubSub(0,2,6,'Video Camera ','product.asp?compare=&ptype=6&category=5&subcat=22',7)
//oMenu.makeSubSub(0,3,0,'Cars ','product.asp?compare=&ptype=6&category=1&subcat=1',3)
////oMenu.makeSubSub(0,3,1,'Mopeds ','product.asp?compare=&ptype=6&category=1&subcat=3',3)
//oMenu.makeSubSub(0,3,1,'Motorcycles ','product.asp?compare=&ptype=6&category=1&subcat=5',3)
//oMenu.makeSubSub(0,3,2,'Scooters ','product.asp?compare=&ptype=6&category=1&subcat=4',3)
//When all the menus are written out we initiates the menu
oMenu.construct()
//next menu1 ********************************************************************
//Making a menu object
oMenu1=new menuObj('oMenu1')
//Setting menu object variables
//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu1.clMain='padding:0px; font-family:verdana; font-size:11px; font-weight:bold; text-align:left'
oMenu1.clSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu1.clSubSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu1.clAMain='text-decoration:none; color:gray'
oMenu1.clASub='text-decoration:none; color:white'
oMenu1.clASubSub='text-decoration:none; color:white'
//Background bar properties
oMenu1.backgroundbar=0
oMenu1.backgroundbarfromleft=30
oMenu1.backgroundbarfromtop=0
oMenu1.backgroundbarsize="90%"
oMenu1.backgroundbarcolor="#880000"
if ((ver == "n4") || (ver == "n3"))
{
oMenu1.mainheight=19
oMenu1.mainwidth=120
}
else
{
oMenu1.mainheight=19
oMenu1.mainwidth=127
}
/*These are new variables. In this example they are set like the previous version*/
oMenu1.subwidth=oMenu1.mainwidth
oMenu1.subheight=20
oMenu1.subsubwidth=oMenu1.mainwidth
oMenu1.subsubheight=oMenu1.subheight
//Writing out the style for the menu (leave this line!)
oMenu1.makeStyle()
oMenu1.subplacement=oMenu1.mainheight
oMenu1.subsubXplacement=oMenu1.subwidth+0
oMenu1.subsubYplacement=0
oMenu1.mainbgcoloroff='white'
oMenu1.mainbgcoloron='white'
oMenu1.subbgcoloroff='#790E7C'
oMenu1.subbgcoloron='#9E04A2'
oMenu1.subsubbgcoloroff='#790E7C'
oMenu1.subsubbgcoloron='#9E04A2'
oMenu1.stayoncolor=1
oMenu1.menuspeed=10
oMenu1.menusubspeed=15
oMenu1.menurows=1
oMenu1.menueventon="mouse"
oMenu1.menueventoff="mouse"
//Placement of the menuitems
oMenu1.menuplacement=0
oMenu1.pxbetween=150
numberofmenus=1
menutotalwidth=oMenu1.mainwidth*numberofmenus+oMenu1.pxbetween*(numberofmenus-1)
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu1.fromleft=236
}
else
{
//alert("ie1");
oMenu1.fromleft=236
}
//Righ align the backgroundbar aswell:
oMenu1.backgroundbarfromleft=oMenu1.fromleft
//If you want the backgroundbar to be the same size:
oMenu1.backgroundbarsize=menutotalwidth
//This is how much from the top the menu should be.
if ((ver == "n4") || (ver == "n3"))
{
//alert("net2");
oMenu1.fromtop=175
}
else
{
//alert("ie2");
oMenu1.fromtop=175
}
//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
oMenu1.makeMain(0,'
',0)
//Sub items:
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)
oMenu1.makeSub(0,0,'Just Launched            ','articlesdisplay.asp?compare=&category=NewBorn&ptype=5&display=yes',5)
oMenu1.makeSub(0,1,'ThreadBare          ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=yes',5)
//oMenu1.makeSub(0,1,"What'"+"s the Funda        ",'articlesdisplay.asp?compare=&category=funda&ptype=5&display=yes',5)
oMenu1.makeSub(0,2,'Vital Info          ','articlesdisplay.asp?compare=&category=vital&ptype=5&display=yes',5)
oMenu1.makeSub(0,3,'Handling Tips          ','articlesdisplay.asp?compare=&category=tips&ptype=5&display=yes',5)
oMenu1.makeSub(0,4,'Window Shopping    ','articlesdisplay.asp?compare=&category=winshop&ptype=5&display=yes',5)
//SubSub items:
// makeSubSub(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL)
oMenu1.construct()
//next menu2 ***************************************************************
//Making a menu object
oMenu2=new menuObj('oMenu2')
//Setting menu object variables
oMenu2.clMain='padding:0px; font-family:verdana; font-size:11px; font-weight:bold; text-align:left'
oMenu2.clSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu2.clSubSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu2.clAMain='text-decoration:none; color:gray'
oMenu2.clASub='text-decoration:none; color:white'
oMenu2.clASubSub='text-decoration:none; color:white'
//Background bar properties
oMenu2.backgroundbar=0
oMenu2.backgroundbarfromleft=30
oMenu2.backgroundbarfromtop=0
oMenu2.backgroundbarsize="90%"
oMenu2.backgroundbarcolor="#880000"
if ((ver == "n4") || (ver == "n3"))
{
oMenu2.mainheight=19
oMenu2.mainwidth=120
}
else
{
oMenu2.mainheight=19
oMenu2.mainwidth=127
}
/*These are new variables. In this example they are set like the previous version*/
oMenu2.subwidth=oMenu2.mainwidth
oMenu2.subheight=20
oMenu2.subsubwidth=oMenu2.mainwidth
oMenu2.subsubheight=oMenu2.subheight
//Writing out the style for the menu (leave this line!)
oMenu2.makeStyle()
oMenu2.subplacement=oMenu2.mainheight
oMenu2.subsubXplacement=oMenu2.subwidth+0
oMenu2.subsubYplacement=0
oMenu2.mainbgcoloroff='white'
oMenu2.mainbgcoloron='white'
oMenu2.subbgcoloroff='#2366F0'
oMenu2.subbgcoloron='#4782FC'
oMenu2.subsubbgcoloroff='#2366F0'
oMenu2.subsubbgcoloron='#4782FC'
oMenu2.stayoncolor=1
oMenu2.menuspeed=10
oMenu2.menusubspeed=15
oMenu2.menurows=1
oMenu2.menueventon="mouse"
oMenu2.menueventoff="mouse"
//Placement of the menuitems
oMenu2.menuplacement=0
oMenu2.pxbetween=150
numberofmenus=1
menutotalwidth=oMenu2.mainwidth*numberofmenus+oMenu2.pxbetween*(numberofmenus-1)
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu2.fromleft=374
}
else
{
//alert("ie1");
oMenu2.fromleft=374
}
oMenu2.backgroundbarfromleft=oMenu2.fromleft
oMenu2.backgroundbarsize=menutotalwidth
if ((ver == "n4") || (ver == "n3"))
{
//alert("net2");
oMenu2.fromtop=175
}
else
{
//alert("ie2");
oMenu2.fromtop=175
}
//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
oMenu2.makeMain(0,'
',0)
//Sub items:
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)
oMenu2.makeSub(0,0,'Computers ','',4)
oMenu2.makeSub(0,1,'Electronics ','',4)
//oMenu2.makeSub(0,2,'Digital Products ','',4)
oMenu2.makeSub(0,2,'Home Appliances ','',4)
oMenu2.makeSub(0,3,'Automobiles ','',4)
//SubSub items:
// makeSubSub(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL)
oMenu2.makeSubSub(0,0,0,'Computers ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=27',6)
//oMenu2.makeSubSub(0,0,1,'Deskjet Printer ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=31',6)
//oMenu2.makeSubSub(0,0,2,'Dot Matrix Printer ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=33',6)
//oMenu2.makeSubSub(0,0,3,'Inkjet Printer ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=32',6)
oMenu2.makeSubSub(0,0,1,'Laptop ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=29',6)
oMenu2.makeSubSub(0,0,2,'Laser Printer ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=34',6)
//oMenu2.makeSubSub(0,0,6,'Modems ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=38',6)
oMenu2.makeSubSub(0,0,3,'Monitor ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=28',6)
oMenu2.makeSubSub(0,0,4,'Palm Pilots','brandsearch.asp?compare=&ptype=2&cat=7&subcat=30',6)
oMenu2.makeSubSub(0,0,5,'Scanner ','brandsearch.asp?compare=&ptype=2&cat=7&subcat=42',6)
oMenu2.makeSubSub(0,1,0,'CD players ','brandsearch.asp?compare=&ptype=2&cat=2&subcat=11',5)
oMenu2.makeSubSub(0,1,1,'DVD players ','brandsearch.asp?compare=&ptype=2&cat=2&subcat=13',5)
oMenu2.makeSubSub(0,1,2,'Music systems ','brandsearch.asp?compare=&ptype=2&cat=2&subcat=6',5)
oMenu2.makeSubSub(0,1,3,'Televisions ','brandsearch.asp?compare=&ptype=2&cat=2&subcat=8',5)
//oMenu2.makeSubSub(0,1,4,'Walkman ','brandsearch.asp?compare=&ptype=2&cat=2&subcat=7',5)
//oMenu2.makeSubSub(0,1,5,'Copier ','brandsearch.asp?compare=&ptype=2&cat=6&subcat=26',5)
//oMenu2.makeSubSub(0,1,6,'Fax Machine ','brandsearch.asp?compare=&ptype=2&cat=6&subcat=23',5)
oMenu2.makeSubSub(0,1,4,'Mobile Phone ','brandsearch.asp?compare=&ptype=2&cat=6&subcat=25',5)
//oMenu2.makeSubSub(0,2,0,'Still Camera ','brandsearch.asp?compare=&ptype=2&cat=5&subcat=21',2)
//oMenu2.makeSubSub(0,2,1,'Video Camera ','brandsearch.asp?compare=&ptype=2&cat=5&subcat=22',2)
oMenu2.makeSubSub(0,2,0,'Air conditioners ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=18',7)
oMenu2.makeSubSub(0,2,1,'Microwave ovens ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=15',7)
oMenu2.makeSubSub(0,2,2,'Refrigerators ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=14',7)
oMenu2.makeSubSub(0,2,3,'Washing machines ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=17',7)
oMenu2.makeSubSub(0,2,4,'Mixers ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=45',7)
//oMenu2.makeSubSub(0,2,5,'Cameras ','brandsearch.asp?compare=&ptype=2&cat=3&subcat=20',7)
oMenu2.makeSubSub(0,2,5,'Still Camera ','brandsearch.asp?compare=&ptype=2&cat=5&subcat=21',7)
oMenu2.makeSubSub(0,2,6,'Video Camera ','brandsearch.asp?compare=&ptype=2&cat=5&subcat=22',7)
oMenu2.makeSubSub(0,3,0,'Cars ','brandsearch.asp?compare=&ptype=2&cat=1&subcat=1',3)
//oMenu2.makeSubSub(0,3,1,'Mopeds ','brandsearch.asp?compare=&ptype=2&cat=1&subcat=3',3)
oMenu2.makeSubSub(0,3,1,'Motorcycles ','brandsearch.asp?compare=&ptype=2&cat=1&subcat=5',3)
oMenu2.makeSubSub(0,3,2,'Scooters ','brandsearch.asp?compare=&ptype=2&cat=1&subcat=4',3)
oMenu2.construct()
//next menu3 ********************************************************************
//Making a menu object
oMenu3=new menuObj('oMenu3')
//Setting menu object variables
oMenu3.clMain='padding:0px; font-family:verdana; font-size:11px; font-weight:bold; text-align:left'
oMenu3.clSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu3.clSubSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu3.clAMain='text-decoration:none; color:gray'
oMenu3.clASub='text-decoration:none; color:white'
oMenu3.clASubSub='text-decoration:none; color:white'
//Background bar properties
oMenu3.backgroundbar=0
oMenu3.backgroundbarfromleft=30
oMenu3.backgroundbarfromtop=0
oMenu3.backgroundbarsize="90%"
oMenu3.backgroundbarcolor="#880000"
if ((ver == "n4") || (ver == "n3"))
{
oMenu3.mainheight=19
oMenu3.mainwidth=120
}
else
{
oMenu3.mainheight=19
oMenu3.mainwidth=127
}
oMenu3.subwidth=oMenu3.mainwidth
oMenu3.subheight=20
oMenu3.subsubwidth=oMenu3.mainwidth
oMenu3.subsubheight=oMenu3.subheight
oMenu3.makeStyle()
oMenu3.subplacement=oMenu3.mainheight
oMenu3.subsubXplacement=oMenu3.subwidth+0
oMenu3.subsubYplacement=0
oMenu3.mainbgcoloroff='white'
oMenu3.mainbgcoloron='white'
oMenu3.subbgcoloroff='#470D0D'
oMenu3.subbgcoloron='#6F4242'
oMenu3.subsubbgcoloroff='#470D0D'
oMenu3.subsubbgcoloron='#6F4242'
oMenu3.stayoncolor=1
oMenu3.menuspeed=10
oMenu3.menusubspeed=15
oMenu3.menurows=1
oMenu3.menueventon="mouse"
oMenu3.menueventoff="mouse"
//Placement of the menuitems
oMenu3.menuplacement=0
oMenu3.pxbetween=150
//Center aligned example: (page.x2==pageWidth)
numberofmenus=1
menutotalwidth=oMenu3.mainwidth*numberofmenus+oMenu3.pxbetween*(numberofmenus-1)
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu3.fromleft=511
}
else
{
//alert("ie1");
oMenu3.fromleft=511
}
oMenu3.backgroundbarfromleft=oMenu3.fromleft
oMenu3.backgroundbarsize=menutotalwidth
if ((ver == "n4") || (ver == "n3"))
{
//alert("net2");
oMenu3.fromtop=175
}
else
{
//alert("ie2");
oMenu3.fromtop=175
}
//MAIN 0
//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
oMenu3.makeMain(0,'
',0)
//Sub items:
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)
oMenu3.makeSub(0,0,'ISPs ','articlesdisplay.asp?compare=&category=ISP&ptype=4&display=yes',9)
oMenu3.makeSub(0,1,'Cellular Services ','articlesdisplay.asp?compare=&category=CellServices&ptype=4&display=yes',9)
oMenu3.makeSub(0,2,'Messengers ','articlesdisplay.asp?compare=&category=InstantMessengers&ptype=4&display=yes',9)
oMenu3.makeSub(0,3,'New Cars ','articlesdisplay.asp?compare=&category=NewCars&ptype=4&display=yes',9)
oMenu3.makeSub(0,4,'Pocket PC ','articlesdisplay.asp?compare=&category=Quickcompare&ptype=4&display=yes',9)
oMenu3.makeSub(0,5,'Flat TVs ','articlesdisplay.asp?compare=&category=Flattv&ptype=4&display=yes',9)
oMenu3.makeSub(0,6,'Bikes ','articlesdisplay.asp?compare=&category=Bikes&ptype=4&display=yes',9)
oMenu3.makeSub(0,7,'Cell Models ','articlesdisplay.asp?compare=&category=CellModels&ptype=4&display=yes',9)
oMenu3.makeSub(0,8,'Cameras ','articlesdisplay.asp?compare=&category=Cameras&ptype=4&display=yes',9)
//SubSub items:
// makeSubSub(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL)
oMenu3.construct()
//next 5nd menu ********************************************************************
/*
//Making a menu object
oMenu4=new menuObj('oMenu4')
//Setting menu object variables
//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu4.clMain='padding:0px; font-family:verdana; font-size:11px; font-weight:bold; text-align:left'
oMenu4.clSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu4.clSubSub='padding:5px; font-family:verdana; font-size:12px; text-align:left'
oMenu4.clAMain='text-decoration:none; color:gray'
oMenu4.clASub='text-decoration:none; color:white'
oMenu4.clASubSub='text-decoration:none; color:white'
//Background bar properties
oMenu4.backgroundbar=0
oMenu4.backgroundbarfromleft=30
oMenu4.backgroundbarfromtop=0
oMenu4.backgroundbarsize="90%"
oMenu4.backgroundbarcolor="#880000"
if ((ver == "n4") || (ver == "n3"))
{
oMenu4.mainheight=19
oMenu4.mainwidth=120
}
else
{
oMenu4.mainheight=19
oMenu4.mainwidth=127
}
*/
/*These are new variables. In this example they are set like the previous version*/
/*
oMenu4.subwidth=oMenu4.mainwidth
oMenu4.subheight=20
oMenu4.subsubwidth=oMenu4.mainwidth
oMenu4.subsubheight=oMenu4.subheight
//Writing out the style for the menu (leave this line!)
oMenu4.makeStyle()
oMenu4.subplacement=oMenu4.mainheight
oMenu4.subsubXplacement=oMenu4.subwidth+0
oMenu4.subsubYplacement=0
oMenu4.mainbgcoloroff='white'
oMenu4.mainbgcoloron='white'
oMenu4.subbgcoloroff=''
oMenu4.subbgcoloron=''
oMenu4.subsubbgcoloroff=''
oMenu4.subsubbgcoloron=''
oMenu4.stayoncolor=1
oMenu4.menuspeed=10
oMenu4.menusubspeed=15
oMenu4.menurows=1
oMenu4.menueventon="mouse"
oMenu4.menueventoff="mouse"
//Placement of the menuitems
oMenu4.menuplacement=0
oMenu4.pxbetween=150
numberofmenus=1
menutotalwidth=oMenu1.mainwidth*numberofmenus+oMenu1.pxbetween*(numberofmenus-1)
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu1.fromleft=648
}
else
{
//alert("ie1");
oMenu1.fromleft=648
}
//Righ align the backgroundbar aswell:
oMenu1.backgroundbarfromleft=oMenu1.fromleft
//If you want the backgroundbar to be the same size:
oMenu1.backgroundbarsize=menutotalwidth
//This is how much from the top the menu should be.
if ((ver == "n4") || (ver == "n3"))
{
//alert("net2");
oMenu4.fromtop=175
}
else
{
//alert("ie2");
oMenu4.fromtop=175
}
//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
oMenu4.makeMain(0,'',0)
//Sub items:
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL) (set link to 0 if you want submenus of this menu item)
oMenu4.makeSub(0,0,'Gadgets            ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=5gadg',7)
oMenu4.makeSub(0,1,'Computer          ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=1comp',7)
oMenu4.makeSub(0,2,'Electronics        ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=2elex',7)
oMenu4.makeSub(0,3,'Home Appliances          ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=3homea',7)
oMenu4.makeSub(0,4,'Automobiles          ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=4autoc',7)
oMenu4.makeSub(0,5,'Accessories    ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=6acc',7)
oMenu4.makeSub(0,6,'Miscelleneous    ','articlesdisplay.asp?compare=&category=ThreadBare&ptype=5&display=no&acat=7misc',7)
//SubSub items:
// makeSubSub(MAIN_NUM,SUB_NUM,SUBSUB_NUM,'TEXT','LINK',TOTAL)
oMenu4.construct()
*/