/*
Top Navigational Bar II (By Mike Hall)
Last updated: 00/05/08
Permission granted and modified by Dynamicdrive.com to include script in archive
For this and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var myNavBar1 = new NavBar(0);
var dhtmlMenu;
dhtmlMenu = new NavBarMenu(90, 100);
dhtmlMenu.addItem(new NavBarMenuItem("English", "./en/urun_index.en.php"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(140, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Ürün Çeşitlerimiz", "urun_index.php"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 100);
dhtmlMenu.addItem(new NavBarMenuItem("İstek Formu", "istekform.php"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(90, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Referanslarımız", "index.php?menu=referanslar"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Bayi Girişi", "login.php"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70, 100);
dhtmlMenu.addItem(new NavBarMenuItem("SSS", "index.php?menu=sss"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Biz Kimiz", "index.php?menu=hakkimizda"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 100);
dhtmlMenu.addItem(new NavBarMenuItem("iletişim", "index.php?menu=iletisim"));
myNavBar1.addMenu(dhtmlMenu);


//set menu colors
//                  tb. c.zgisi,menü isim,tb_bgcolor,yazi_link,hücre_link,
//myNavBar1.setColors("#ffffff", "#ffffff", "#9999FF", "#0000cc","#ffff33","#0000cc","#ffffff", "#ffffff", "#a3a3a3")
myNavBar1.setColors("#000000", "#ffffff", "#4a8cbd", "#336699","#ffff00","#0000cc","#ffffff", "#ffffff", "#a3a3a3")
myNavBar1.setFonts("Verdana, sans-serif, helvetica","","bold","9pt","Verdana, sans-serif, helvetica","","bold","8pt");

var fullWidth;

function init() {

  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 244);

if (screen.width!=1024||screen.height!=768)
	$zz=0
else
	$zz=110

  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
  myNavBar1.moveTo($zz, 75);
}


