
	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";

/********************************************************************************
Variables to set.

Remember that to set fontsize and fonttype you set that in the stylesheet above!
********************************************************************************/

//Making a menu object
oMenu2=new menuObj('oMenu2') //Place a name for the menu in there. Must be uniqe for each menu

//Setting menu object variables
//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu2.clMain='padding:0px; font-family:arial; font-size:11px; font-weight:bold; text-align:left' //The style for the main menus
oMenu2.clSub='padding:4px; font-family:arial; font-size:11px; font-weight:bold; text-align:left' //The style for the submenus
oMenu2.clAMain='text-decoration:none; color:#ffffff' //The style for the main links
oMenu2.clASub='text-decoration:none; color:#333333' //The style for the sub links


//Background bar properties



if ((ver == "n4") || (ver == "n3"))
{
oMenu2.mainheight=29 //The height of the main menuitems in pixel or % // netscape
oMenu2.mainwidth=89 //The width of the main menuitems  in pixel or %  // netscape
}
else
{
oMenu2.mainheight=29 //The height of the main menuitems in pixel or % 
oMenu2.mainwidth=89 //The width of the main menuitems  in pixel or % 
}

/*These are new variables. In this example they are set like the previous version*/
oMenu2.subwidth=oMenu2.mainwidth // ** NEW ** The width of the submenus
oMenu2.subheight=19 //The height if the subitems in pixel or % 

oMenu2.subsubwidth=oMenu2.mainwidth // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu2.subsubheight=oMenu2.subheight //** NEW ** The height if the subsubitems in pixel or % 

//Writing out the style for the menu (leave this line!)
oMenu2.makeStyle()

oMenu2.subplacement=oMenu2.mainheight //** NEW ** Relative to the main item
oMenu2.subsubXplacement=oMenu2.subwidth+0 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu2.subsubYplacement=0 //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu2.mainbgcoloroff='#999999' //The backgroundcolor of the main menuitems
oMenu2.mainbgcoloron='#999999' //The backgroundcolor on mouseover of the main menuitems
oMenu2.subbgcoloroff='#FFCE28' //The backgroundcolor of the sub menuitems
oMenu2.subbgcoloron='#ff0000' //The backgroundcolor on mouseover of the sub menuitems
oMenu2.subsubbgcoloroff='#999999' //The backgroundcolor of the subsub menuitems
oMenu2.subsubbgcoloron='#999999' //The backgroundcolor on mouseover of the subsub menuitems
oMenu2.stayoncolor=1 //Do you want the menus to stay on the mouseovered color when clicked?

oMenu2.menuspeed=50 //The speed of the clipping in px
oMenu2.menusubspeed=15 //The speed of the submenus clipping in px

oMenu2.menurows=1 //Set to 0 if you want rows and to 1 if you want columns

oMenu2.menueventon="mouse" //Set this to "mouse" if you want the menus to appear onmouseover, set it to "click" if you want it to appear onclick
oMenu2.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"

//Placement of the menuitems

//Example in %:
//oMenu2.menuplacement=new Array("20%","40%","60%","50%","65%") //Remember to make the arrays contain as many values as you have main menuitems

//Example in px: (remember to use the ' ' around the numbers)
//oMenu2.menuplacement=new Array(10,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500)

//Example right beside eachother (only adding the pxbetween variable)
oMenu2.menuplacement=0

//If you use the "right beside eachother" you cant how many pixel there should be between each here
oMenu2.pxbetween=0 //in pixel or %

//And you can set where it should start from the left here

//Center aligned example: (page.x2==pageWidth)
numberofmenus=1
menutotalwidth=oMenu2.mainwidth*numberofmenus+oMenu2.pxbetween*(numberofmenus-1)
//oMenu2.fromleft=0 //page.x30-menutotalwidth/2 in pixel or %
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu2.fromleft=600 //page.x30-menutotalwidth/2 in pixel or % // netscape
}
else
{
//alert("ie1");
//oMenu2.fromleft=513 //page.x30-menutotalwidth/2 in pixel or %
oMenu2.fromleft=600 //page.x30-menutotalwidth/2 in pixel or %
}
//Righ align the backgroundbar aswell:
oMenu2.backgroundbarfromleft=oMenu2.fromleft
//If you want the backgroundbar to be the same size:
oMenu2.backgroundbarsize=menutotalwidth

//This is how much from the top the menu should be.

if ((ver == "n4") || (ver == "n3"))
{
//alert("net2");
oMenu2.fromtop=42 //in pixel or %  /// netscape
}
else
{
//alert("ie2");
oMenu2.fromtop=42 //in pixel or % //ie
//oMenu2.fromtop=84 //in pixel or % //ie
}
/********************************************************************************
Construct your menus below
********************************************************************************/

//MAIN 0

//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK') (set link to 0 if you want submenus of this menu item)
oMenu2.makeMain(0,'<img src="http://www.quicktechusa.com/pix/joinus_a.gif" border="0" width="89" height="29">','joinus.htm')

	//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,'Tech Experts','http://www.quicktechusa.com/techexperts.htm',6)
	oMenu2.makeSub(0,1,'800 Line Promoters','http://www.quicktechusa.com/800line.htm',6)
	oMenu2.makeSub(0,2,'Calling Card Distributors','http://www.quicktechusa.com/callingcard.htm',6)
	oMenu2.makeSub(0,3,'Affiliate Network','http://www.quicktechusa.com/affiliate.htm',6)
	oMenu2.makeSub(0,4,'FAQ’s','http://www.quicktechusa.com/faqsjoinus.htm',6)
	oMenu2.makeSub(0,5,'Login','http://www.quicktechusa.com/Loginpage.htm',6)





	
/********************************************************************************
End menu construction
********************************************************************************/

//When all the menus are written out we initiates the menu
oMenu2.construct()	