var MenuX

/*if (navigator.appVersion.indexOf("MSIE")!=-1)
	MenuX=(screen.availWidth-723)/2-10
else
	MenuX=0;
alert(navigator.appVersion);*/


function SetBody()
{
document.write("<body bgcolor='#CCCCCC' leftmargin='" + MenuX + "' topmargin='0' marginwidth='0' marginheight='0'>");
}


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;
ns4=(_d.layers)?true:false
ns6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
mac=(navigator.appVersion.indexOf("Mac")!=-1)?true:false
mac45=(navigator.appVersion.indexOf("MSIE 4.5")!=-1)?true:false
if(ns6||ns4)mac=false

loadWait=0;

opera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false
ns61=(parseInt(navigator.productSub)>=20010726)?true:false
ie4=(!_d.getElementById&&_d.all)?true:false;ta=0;
ie55=((navigator.appVersion.indexOf("MSIE 6.0")!=-1||navigator.appVersion.indexOf("MSIE 5.5")!=-1))?true:false;
konq=(navigator.userAgent.indexOf("Konqueror")!=-1)?true:false

//MarginY=0;
//if ((mac)||(mac45)||(opera)) {MarginY = 10;}

MenuX=0;
//MenuX=(screen.availWidth-723)/2;

function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.4);Alpha(style=0,opacity=95);Shadow(color='#FFFFFF', Direction=135, Strength=0)"

timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=7;		// Sub menu offset Top position 	eskiden 7 idi	1
suboffset_left=25;		// Sub menu offset Left position 	eskiden 25 di	-1
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"507BD8",		// Mouse Off Font Color	003399
"FFFFFF",			// Mouse Off Background Color
"0C006A",		// Mouse On Font Color
"F2F2F2",			// Mouse On Background Color
"CCCCCC",		// Menu Border Color 
15,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"Bold",			// Font Weight (bold or normal)
"Arial",			// Font Name
6,			// Menüler arasındaki boşluk
,			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"0C006A",		// Current Page Item Font Color (leave this blank to disable)
"F9F9F9",			// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
,			// Menu Header Font Color (Leave blank if headers are not needed)
,			// Menu Header Background Color (Leave blank if headers are not needed)
"CCCCCC",		// Menu Item Separator Color
]

style2=[	
"507BD8",		// Mouse Off Font Color
"FFFFFF",			// Mouse Off Background Color
"0C006A",		// Mouse On Font Color
"F2F2F2",			// Mouse On Background Color ff6600 - E4E2E0
"CCCCCC",		// Menu Border Color 
11,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial",			// Font Name
6,			// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"0C006A",		// Current Page Item Font Color (leave this blank to disable)
"F9F9F9",			// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"CCCCCC",		// Menu Item Separator Color
]

style3=[	
"507BD8",		// Mouse Off Font Color
"FFFFFF",			// Mouse Off Background Color
"0C006A",		// Mouse On Font Color
"F2F2F2",			// Mouse On Background Color ff6600 - E4E2E0
"CCCCCC",		// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial",			// Font Name
6,			// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"0C006A",		// Current Page Item Font Color (leave this blank to disable)
"F9F9F9",			// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"CCCCCC",		// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",		// Menu Name - This is needed in order for the menu to be called
80,			// Menu Top - The Top position of the menu in pixels	62
MenuX,			// Menu Left - The Left position of the menu in pixels
201,			// Menu Width - Menus width in pixels
1,			// Menu Border Width 
,			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,			// Properties Array - this is set higher up, as above
1,			// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"right",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
"left",			// Position of TOP sub image left:center:right
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// Right To Left - Used in Hebrew for example. (1=on/0=off)
,			// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,			// ID of the div you want to hide on MouseOver (useful for hiding form elements)
"../lgerman.gif",		// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use

,"Şirket Profili » ","tarihce.asp",,"Er-te Elektronik Hakkında",1 			// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Ürünlerimiz » ","show-menu=urunler",,"Er-te Ürünler",1
,"Sistemler » ","show-menu=Sistemler",,"Er-te Sistemler",1
,"Setler » ","show-menu=Setler",,"Er-te Setler",1
//,"Fiyat Listesi » ","show-menu=fiyat",,"Er-te Fiyat Listesi",1
,"Teknik Destek » ","show-menu=teknik",,"Teknik Destek",1
//,"İnsan Kaynakları » ","insankaynaklari.asp",,"İnsan Kaynakları",1
,"İletişim » ","show-menu=İletişim",,"İletişim Bilgileri",1
])

	addmenu(menu=["Erte",
	,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Tarihçemiz","tarihce.asp",,"Tarihçemiz",1
	,"Şirket Profili","profil.asp",,"Şirket Profili",1
	,"Felsefemiz","felsefe.asp",,"Felsefemiz",1
	])
  
	addmenu(menu=["Sistemler",
	,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Yeni Sistemler","yenisistemler.asp",,"Yeni Sistemler",1	
	,"D108 Serisi","D108.asp",,"D108 Serisi",1
	,"D104 Serisi","D104.asp",,"D104 Serisi",1
	,"DE108","DE108.asp",,"DE108 Serisi",1
	,"S Serisi","S.asp",,"S Serisi",1
	,"K Serisi","K.asp",,"K Serisi",1
	,"TS204 Serisi","TS204.asp",,"TS204 Serisi",1
	,"TE204 Serisi","TE204.asp",,"TE204 Serisi",1
	,"VK308 Serisi","VK308.asp",,"VK308 Serisi",1
	])
	
	addmenu(menu=["Setler",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Yeni Setler","yenisetler.asp",,"Yeni Setler",1
	,"Set VS307","Set1.asp",,"Er-te Set VS307",1
	,"Set A1","Set2.asp",,"Er-te Set A1",1
	,"Set B1","Set3.asp",,"Er-te Set B1",1
	,"Set 2","Set4.asp",,"Er-te Set 2",1
	,"Set 3","Set5.asp",,"Er-te Set 3",1
	,"Set 4","Set6.asp",,"Er-te Set 4",1
	,"Multiset","Set7.asp",,"Er-te Multiset",1
	])

	addmenu(menu=["urunler",
	,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Yeni Ürünler","yeniurunler.asp",,"Yeni Ürünler",1	
	,"Alphard Ev Diafonu","Alphard.asp",,"Alphard Ev Diafonu",1
	,"Meissa Ev Diafonu","Meissa.asp",,"Meissa Ev Diafonu",1
	,"Scorpius Ev Diafonu","Scorpius.asp",,"Scorpius Ev Diafonu",1
	,"Sirius Telefon","Sirius.asp",,"Sirius Telefon",1
	,"Sedna Monitör","Perseus.asp",,"Sedna Monitör",1
	,"Regulus Santral","Regulus.asp",,"Regulus Santral",1		
	,"Turais Santral","Turais.asp",,"Turais Santral",1
	,"Nebula Santral","Nebulus.asp",,"Nebulus Santral",1
	,"Orion Zil Panosu","Orion.asp",,"Orion Zil Panosu",1
	])

PrepareCountriesMenu();  

		addmenu(menu=["İletişim",
		,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"İletişim Bilgileri","adres.asp",,"Adres ve Telefon Bilgisi",1
		,"İstek ve Öneri Formu","oneri.asp",,"İstek ve Öneri Formu",1
		//,"Basın » ","show-menu=basın",,"Basın",1
		])

		addmenu(menu=["fiyat",
		,,175,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Fiyat Listesi","fiyat.asp",,"Fiyat Listesi",1
		//,"Broşür ve Kataloglar","brosur.asp",,"Broşürler",1
		])

		addmenu(menu=["teknik",
		,,225,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"Teknik Servis Formu","teknik.asp",,"Teknik Servis Formu",1
		//,"Sistem Tesisat Şemaları","sema.asp",,"Sistem Tesisat Şemaları",1
		//,"Setler Tesisat Şemaları","sema.asp?sid=setler",,"Setler Tesisat Şemaları",1
		//,"Ürün Montaj Resimleri","montaj.asp",,"Ürün Montaj Resimleri",1
		//,"Pratik Arıza Giderme Metodları","ariza.asp",,"Pratik Arıza Giderme Metodları",1
		//,"Basın » ","show-menu=basın",,"Basın",1
		])

		addmenu(menu=["Basın",
		,,175,1,"",style3,,"left",effect,,,,,,,,,,,,
		,"Basın Bültenleri","bulten.asp",,"Basın Bültenleri",1
		,"Ürün Fotoğrafları","urun.asp",,"Ürün Fotoğrafları",1		
		,"Er-te Logolar","logo.asp",,"Er-te Logolar",1
		])

	
dumpmenus()
