
	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
oMenu1=new menuObj('oMenu1') //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 ++)
oMenu1.clMain='padding:0px; font-family:arial; font-size:11px; font-weight:bold; text-align:left' //The style for the main menus
oMenu1.clSub='padding:4px; font-family:arial; font-size:11px; font-weight:bold; text-align:left' //The style for the submenus
oMenu1.clAMain='text-decoration:none; color:#ffffff' //The style for the main links
oMenu1.clASub='text-decoration:none; color:#333333' //The style for the sub links


//Background bar properties



if ((ver == "n4") || (ver == "n3"))
{
oMenu1.mainheight=29 //The height of the main menuitems in pixel or % // netscape
oMenu1.mainwidth=89 //The width of the main menuitems  in pixel or %  // netscape
}
else
{
oMenu1.mainheight=29 //The height of the main menuitems in pixel or % 
oMenu1.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*/
oMenu1.subwidth=oMenu1.mainwidth // ** NEW ** The width of the submenus
oMenu1.subheight=19 //The height if the subitems in pixel or % 

oMenu1.subsubwidth=oMenu1.mainwidth // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu1.subsubheight=oMenu1.subheight //** NEW ** The height if the subsubitems in pixel or % 

//Writing out the style for the menu (leave this line!)
oMenu1.makeStyle()

oMenu1.subplacement=oMenu1.mainheight //** NEW ** Relative to the main item
oMenu1.subsubXplacement=oMenu1.subwidth+0 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu1.subsubYplacement=0 //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu1.mainbgcoloroff='#999999' //The backgroundcolor of the main menuitems
oMenu1.mainbgcoloron='#999999' //The backgroundcolor on mouseover of the main menuitems
oMenu1.subbgcoloroff='#FFCE28' //The backgroundcolor of the sub menuitems
oMenu1.subbgcoloron='#ff0000' //The backgroundcolor on mouseover of the sub menuitems
oMenu1.subsubbgcoloroff='#999999' //The backgroundcolor of the subsub menuitems
oMenu1.subsubbgcoloron='#999999' //The backgroundcolor on mouseover of the subsub menuitems
oMenu1.stayoncolor=1 //Do you want the menus to stay on the mouseovered color when clicked?

oMenu1.menuspeed=50 //The speed of the clipping in px
oMenu1.menusubspeed=15 //The speed of the submenus clipping in px

oMenu1.menurows=1 //Set to 0 if you want rows and to 1 if you want columns

oMenu1.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
oMenu1.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"

//Placement of the menuitems

//Example in %:
//oMenu1.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)
//oMenu1.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)
oMenu1.menuplacement=0

//If you use the "right beside eachother" you cant how many pixel there should be between each here
oMenu1.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=oMenu1.mainwidth*numberofmenus+oMenu1.pxbetween*(numberofmenus-1)
//oMenu1.fromleft=0 //page.x30-menutotalwidth/2 in pixel or %
if ((ver == "n4") || (ver == "n3"))
{
//alert("net1");
oMenu1.fromleft=510 //page.x30-menutotalwidth/2 in pixel or % // netscape
}
else
{
//alert("ie1");
//oMenu1.fromleft=408 //page.x30-menutotalwidth/2 in pixel or %
oMenu1.fromleft=510 //page.x30-menutotalwidth/2 in pixel or %
}
//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=42 //in pixel or %  /// netscape
}
else
{
//alert("ie2");
oMenu1.fromtop=42 //in pixel or % //ie
//oMenu1.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)
oMenu1.makeMain(0,'<img src="http://www.quicktechusa.com/pix/services_a.gif" border="0" width="89" height="29">','services.htm')

	//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,'Phone Support','http://www.quicktechusa.com/phonesupport.htm',5)
	oMenu1.makeSub(0,1,'Onsite Support','http://www.quicktechusa.com/onsitesupport.htm',5)
	oMenu1.makeSub(0,2,'Free Forum','http://www.quicktechusa.com/freeforum.htm',5)
	oMenu1.makeSub(0,3,'FAQ’s','http://www.quicktechusa.com/faqsservices.htm',5)
	oMenu1.makeSub(0,4,'Login','http://www.quicktechusa.com/Loginpage.htm',5)




	
/********************************************************************************
End menu construction
********************************************************************************/

//When all the menus are written out we initiates the menu
oMenu1.construct()	