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);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=3)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=-5;	// Sub menu offset Left position
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.
"003F78",			// Mouse Off Font Color
"9999FF",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"003F78",			// Mouse On Background Color
"000000",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial",	// Font Name
4,					// Menu Item Padding
subimage="pictures/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"",				// 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)
"navy",				// Menu Item Separator Color
]

style2=[	
"003F78",				// Mouse Off Font Color
"99BDFF",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"003F78",			// Mouse On Background Color
"000000",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Arial",	// Font Name
4,					// Menu Item Padding
subimage="pictures/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"",				// 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)
"navy",				// 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
181+MarginY,					// Menu Top - The Top position of the menu in pixels
MenuX,				// Menu Left - The Left position of the menu in pixels
116,					// Menu Width - Menus width in pixels
,					// 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)
"left",				// 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)
"right",					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Company Profile","indexen.html","","",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Tekfen Group","holdingen.html",,"",1
,"How to Find Us","howen.html",,"",1
,"Activities","show-menu=prolineen",,"",1
,"Quality Systems","qualsisen.html",,"",1
,"Certificates","show-menu=Certificates",,"",1
,"Codes & Standards","codsten.html",,"",1
,"Financial Summary","financeen.html",,"",1
,"Reference Lists","reflisten.html",,"",1
,"Links","linksen.html",,"",1
,"News","newsen.html",,"",1
,"Potential Supplier Application","http://www.tekfenim.com/tedarikcibasvuruen.aspx",,"_blank",1
,"","",,"",1
])

	addmenu(menu=["Certificates",
	,,180,0,"",style2,,"left",effect,,,,,,,,,,,,
	,"ISO 9001","show-menu=iso",,"",1
	,"ASME Code Symbol Stamp","show-menu=Asme",,"",1
	,"National Board Authorization Certificate","NationalBoarden.html",,"",1
	,"AD 2000-Merkblatt HP 0, EN ISO 3834-2 and TRD 100","certaden.html",,"",1
	,"CE Marking","certceen.html",,"",1
	,"OHSAS 18001","certohsasen.html",,"",1
	,"Turkish Standards Institution","show-menu=TSE",,"",1
	])
	
	
		addmenu(menu=["prolineen",
		,,150,0,"",style2,,"left",effect,,,,,,,,,,,,
		,"Programme and Services","prompsen.html",,"",1
		,"Our Factory","profactoryen.html",,"",1
		,"Products and Systems","show-menu=Product",,"",1	
		])

		addmenu(menu=["iso",
		,,90,0,"",style2,,"left",effect,,,,,,,,,,,,
	    ,"Quality Policy","certisopolen.html",,"",1
	    ,"Certificate","certisoen.html",,"",1		
		])
		
		addmenu(menu=["Asme",
		,,60,0,"",style2,,"left",effect,,,,,,,,,,,,
	    ,"U Stamp","certasmeuen.html",,"",1
	    ,"U2 Stamp","certasmeu2en.html",,"",1		
	    ,"S Stamp","certasmesen.html",,"",1		
		])
            
		addmenu(menu=["TSE",
		,,170,0,"",style2,,"left",effect,,,,,,,,,,,,
	    ,"Quality Conformity Certificate","certtseuyen.html",,"",1
   	    ,"Production Conformity Certificate","certtseyeten.html",,"",1
		])
            
		addmenu(menu=["Product",
		,,175,0,"",style2,,"left",effect,,,,,,,,,,,,
		,"Engineering","proengen.html",,"",1
		,"Turn Key Projects","proturnkeyen.html",,"",1		
		,"Storage Tanks","prostorten.html",,"",1
		,"Spherical Tanks","prosphten.html",,"",1
		,"Pressure Vessels","propven.html",,"",1		
		,"Process Columns","propcen.html",,"",1
		,"Heat Exchangers","proexen.html",,"",1
		,"Liqufied Gas Semi-Trailers and Road Tankers","protankeren.html",,"",1								
		,"Pressurized Piping ","proprespipeen.html",,"",1
		,"Steam Boilers","prosben.html",,"",1
		,"Heavy Steel Structures","prohssen.html",,"",1
		,"Other Products and Systems","prootheren.html",,"",1
		])
	

dumpmenus()

