
/********************************************************************************
Variables to set.

Remember that to set fontsize and fonttype you set that in the stylesheet
above!
********************************************************************************/

//Making a menu object
oMenu=new menuObj('oMenu') //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 ++)
oMenu.clMain='padding:2px; font-family:verdana; font-size:10px; font-weight:bold' //The style for the main menus
oMenu.clSub='padding:1px; font-family:verdana; font-size:10px; font-weight:bold' //The style for the submenus
oMenu.clSubSub='padding:1px; font-family:verdana; font-size:10px' //The style for the subsubmenus
oMenu.clAMain='text-decoration:none; color:White' //The style for the main links
oMenu.clASub='text-decoration:none; color:White' //The style for the sub links
oMenu.clASubSub='text-decoration:none; color:White' //The style for the subsub links

//Background bar properties
oMenu.backgroundbar=0 //Set to 0 if no backgroundbar
oMenu.backgroundbarfromleft=0 //The left placement of the backgroundbar in pixel or %
oMenu.backgroundbarfromtop=49 //The top placement of the backgroundbar  in pixel or %
oMenu.backgroundbarsize=20 //The size of the bar in pixel or %
oMenu.backgroundbarcolor="#8b9eca" //The backgroundcolor of the bar

oMenu.mainheight=20 //The height of the main menuitems in pixel or %
oMenu.mainwidth=200 //The width of the main menuitems  in pixel or %

/*These are new variables. In this example they are set like the previous version*/
//oMenu.subwidth=oMenu.mainwidth // ** NEW ** The width of the submenus
oMenu.subwidth=200 // ** NEW ** The width of the submenus
oMenu.subheight=15//The height if the subitems in pixel or % 

oMenu.subsubwidth=oMenu.mainwidth // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu.subsubheight=oMenu.subheight //** NEW ** The height if the subsubitems in pixel or % 


//Writing out the style for the menu (leave this line!)
oMenu.makeStyle()

oMenu.subplacement=oMenu.mainheight //** NEW ** Relative to the main item
oMenu.subsubXplacement=oMenu.subwidth/2 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=7 //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu.mainbgcoloroff='red' //The backgroundcolor of the main menuitems
oMenu.mainbgcoloron='blue' //The backgroundcolor on mouseover of the main menuitems
oMenu.subbgcoloroff='black' //The backgroundcolor of the sub menuitems
oMenu.subbgcoloron='green' //The backgroundcolor on mouseover of the sub menuitems
oMenu.subsubbgcoloroff='pink' //The backgroundcolor of the subsub menuitems
oMenu.subsubbgcoloron='yellow' //The backgroundcolor on mouseover of the subsub menuitems
oMenu.stayoncolor=0 //Do you want the menus to stay on the mouseovered color when clicked?

oMenu.menuspeed=10 //The speed of the clipping in px
oMenu.menusubspeed=15 //The speed of the submenus clipping in px

oMenu.menurows=1 //Set to 0 if you want rows and to 1 if you want columns

oMenu.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
oMenu.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"

//Placement of the menuitems

//Example in %:
//oMenu.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)
oMenu.menuplacement=new Array(150,300,410,530,630)

//Example right beside eachother (only adding the pxbetween variable)
//oMenu.menuplacement=0

//If you use the "right beside eachother" you cant how many pixel there should be between each here
oMenu.pxbetween=50 //in pixel or %

//And you can set where it should start from the left here
oMenu.fromleft=50 //in pixel or %

//This is how much from the top the menu should be.
oMenu.fromtop=61 //in pixel or %

/********************************************************************************
Construct your menus below
********************************************************************************/

//MAIN 0

//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
oMenu.makeMain(0,"MALZEME & SATIŞ","malzemesatis.htm",0)
	//Sub items:
	// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL,'FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
	oMenu.makeSub(0,0,'Havuz Kimyasalları & Fiyat Listesi','havuzkimyasal.htm',3);
	oMenu.makeSub(0,1,'Havuz Ekipmanları & Fiyat Listesi','havuzekipman.htm',3);
	oMenu.makeSub(0,2,'Sipariş & Teslimat & Ödeme','siparisteslimatodeme.htm',3);
	
	
	
//MAIN 1		
oMenu.makeMain(1,"HAVUZLAR","havuzlar.htm",0)
	oMenu.makeSub(1,0,'Havuz Yapımı','havuzyapim.htm',2)
	oMenu.makeSub(1,1,'Havuz Şekilleri','havuzsekil.htm',2)
	



//Main 2	
oMenu.makeMain(2,"BİZE ULAŞIN","bizeulasin.htm",0)
	oMenu.makeSub(2,0,'E-Mail','e-mail.asp',4)
	oMenu.makeSub(2,1,'Bilgi Formu','bilgiformu.asp',4)
	oMenu.makeSub(2,2,'Teknik Servis / Bakım Formu','teknikform.asp',4)
	oMenu.makeSub(2,3,'Adres Kroki','bizeulasin/harita.htm',4)
	
	
//MAIN 3		
oMenu.makeMain(3,"POPÜLER","populer.htm",0)
	oMenu.makeSub(3,0,'Firma Sahibi','firmasahibi.htm',4);
	oMenu.makeSub(3,1,'Eğlence','eglence.htm',4)
	oMenu.makeSub(3,2,'Popüler Linkler','populer.htm',4)
	oMenu.makeSub(3,3,'Seyahat; Avrupa&Türkiye&Dünya','seyahat.htm',4)
	
	
//Main 4
oMenu.makeMain(4,"HİZMETLERİMİZ","hizmetlerimiz.htm",0)
	oMenu.makeSub(4,0,'Havuz Bakımı','havuzbakim.htm',6)
	oMenu.makeSub(4,1,'Satış','satis.htm',6)
	oMenu.makeSub(4,2,'Servis','servis.htm',6)
        oMenu.makeSub(4,3,'Havuz Yapım & İnşaatı','havuzyapim.htm',6)
	oMenu.makeSub(4,4,'Havuz Tesisat & Filitrasyonu','havuztesisat.htm',6)
        oMenu.makeSub(4,5,'Havuz Tadilatı','havuztadilat.htm',6)
	

/********************************************************************************
End menu construction
********************************************************************************/
		
		
//When all the menus are written out we initiates the menu
oMenu.construct()	

