var isDOM = (document.getElementById ? true : false);
var isIE  = (document.all ? true: false);
var isNS4 = (navigator.appName=='Netscape' && !isDOM ? true : false);
var isIE4 = ((isIE && !isDOM) ? true : false);
var isDyn = (isDOM || isIE4 || isNS4);
function getRef(id, par)
{
 if (!par) var par = window;
 return (isDOM ? document.getElementById(id) :
  (isIE4 ? document.all[id] : par.document.layers[id]));
}
// Returns a reference to the style property of said layer, same parameters.
function getSty(id, par)
{
 return (isNS4 ? getRef(id, par) : getRef(id, par).style)
}
// This is a cut-down version of my layer object. When combining with my other scripts, like
// the DHTML Scroller, you'll need to incldue extra functions in here -- just cut and paste.
// You must pass an ID, and optionally a reference to a parent layer for NS4.
function getLyr(id, par)
{
 var l = new Object();
 l.ref = getRef(id, par);
 l.sty = getSty(id, par);
 l.x = function(nX) { if (!isNaN(nX)) this.sty.left = nX; else return parseInt(this.sty.left) }
 l.y = function(nY) { if (!isNaN(nY)) this.sty.top = nY; else return parseInt(this.sty.top) }
 l.vis = function(val) { this.sty.visibility = val }
 l.bgColor = function(col) {
  if (!col) col = isNS4 ? null : 'transparent';
  if (isNS4) this.sty.bgColor = col;
  else this.sty.backgroundColor = col }
 l.write = function(txt) {
  if (isNS4) with (this.ref.document) { write(txt); close() }
  else this.ref.innerHTML = txt }
 return l;
}
function setLyr(lVis, docW, par)
{
 if (!this.seq) seq = 0;
 if (!docW) docW = 0;
 if (!par) var par = (isNS4 ? window : document.body);
 var newID = '_js_layer_' + seq++;
 if (isIE) par.insertAdjacentHTML('beforeEnd', '<div id="' + newID +
  '" style="position:absolute"></div>');
 else if (isDOM)
 {
  var newL = document.createElement('div');
  par.appendChild(newL);
  with (newL) { id = newID; style.position='absolute' }
 }
 else if (isNS4)
 {
  var newL = new Layer(docW, par);
  newID = newL.id;
 }

 var lObj = getLyr(newID, par);
 with (lObj) { vis(lVis); x(0); y(0); sty.width=docW }
 return lObj;
}
function popOver(mN, iN) { with (this)
{
 clearTimeout(popTimer);
 litOld = litNow;
 litNow = new Array();
 var litM = mN, litI = iN;
 while(1)
 {
  litNow[litM] = litI;
  // If we've reached the top of the hierarchy, exit loop.
  if (litM == 'root') break;
  // Otherwise repeat with this menu's parent.
  litI = menu[litM][0].parentItem;
  litM = menu[litM][0].parentMenu;
 }
 var same = true;
 for (var z in menu) if (litNow[z] != litOld[z]) same = false;
 if (same) return;
 for (thisM in menu)
 {
  litI = litNow[thisM];
  oldI = litOld[thisM];
  if (litI && (litI != oldI)) changeCol(thisM, litI, true);
  if (oldI && (oldI != litI)) changeCol(thisM, oldI, false);
  if (isNaN(litI)) { menu[thisM][0].lyr.vis('hidden') }
 } 
 var thisI = menu[mN][iN];
 if (thisI.type == 'sm:')
 {
  var lyrM = menu[mN][0].lyr;
  with (menu[thisI.href][0])
  {
   lyr.x(lyrM.x() + thisI.lyr.x() + eval(offX));
   lyr.y(lyrM.y() + thisI.lyr.y() + eval(offY));
   lyr.vis('visible');
  }
 }
}}
function popChangeCol(mN, iN, isOver) { with (this.menu[mN][iN])
{
 lyr.bgColor(isOver ? overCol : outCol);
 if (overClass == outClass) return;
 if (isNS4)
 {
  lyr.write(this.getHTML(mN, iN, isOver));
  with (lyr.ref.document)
  {
   captureEvents(Event.CLICK);
   onclick = new Function(this.objName + '.click(\'' + mN + '\',' + iN + ')');
  }
 }
 else with (lyr.ref)
 {
  var chl = (isDOM ? childNodes : children)
  for (var i = 0; i < chl.length; i++) chl[i].className = (isOver ? overClass : outClass);
 }
}}
function popOut(mN, iN) { with (this)
{
 var delay = ((mN == 'root') && (menu[mN][iN].type != 'sm:')) ? 50 : 500;
 popTimer = setTimeout(objName + '.over("root", 0)', delay);
}}
function popClick(mN, iN)
{
 with (this.menu[mN][iN]) switch (type)
 {
  case 'sm:': return;
  case 'js:': { eval(href); break }
  case '': type = 'window';
  default: if (href) eval(type + '.location.href = "' + href + '"');
 }
 this.over('root', 0);
}
function addProps(obj, data, names, addNull)
{
 for (var i = 0; i < names.length; i++) if(i < data.length || addNull) obj[names[i]] = data[i];
}

function ItemStyle()
{
 var names = ['len', 'spacing', 'popInd', 'popPos', 'pad', 'outCol', 'overCol', 'outClass',
  'overClass', 'borderClass'];
 addProps(this, arguments, names, true);
}
function popStartMenu(mName) { with (this)
{
  if (!menu[mName]) { menu[mName] = new Array(); menu[mName][0] = new Object(); }
 actMenu = mName;
 menu[mName].length = 1;
 nextItem = 1;
 var aM = menu[mName][0];
 var names = ['isVert', 'isVert', 'offX','offY', 'width', 'itemSty', 'parentMenu', 'parentItem'];
 addProps(aM, arguments, names, true);
 if (!aM.lyr) aM.lyr = null;
}}
function popAddItem() { with (this)
{
 var aI = menu[actMenu][nextItem++] = new Object();
 var names = ['text', 'href', 'type', 'itemSty', 'len', 'spacing', 'popInd', 'popPos',
  'iW', 'iH', 'lyr'];
 addProps(aI, arguments, names, true);
 var iSty = (arguments[3] ? arguments[3] : menu[actMenu][0].itemSty);
 // Loop through its properties, add them if they don't already exist (overridden e.g. length).
 for (prop in iSty) if (aI[prop] == window.UnDeFiNeD) aI[prop] = iSty[prop];
 if (isNS4 && aI.borderClass) aI.pad++;
}}
function popGetHTML(mN, iN, isOver) { with (this)
{
 var itemStr = '';
 with (menu[mN][iN])
 {
  var textClass = (isOver ? overClass : outClass);
  if ((type == 'sm:') && popInd)
  {
   if (isNS4) itemStr += '<layer class="' + textClass + '" left="'+ ((popPos+iW) % iW) +
    '" top="' + pad + '">' + popInd + '</layer>';
   else itemStr += '<div class="' + textClass + '" style="position: absolute; left: ' +
    ((popPos+iW) % iW) + '; top: ' + pad + '">' + popInd + '</div>';
  }
  if (isNS4) itemStr += (borderClass ? '<span class="' + borderClass + '">' +
   '<spacer type="block" width="' + (iW - 8) + '" height="' + (iH - 8) + '"></span>' : '') +
   '<layer left="' + pad + '" top="' + pad + '" width="' + (iW - (2 * pad)) + '" height="' +
   (iH - (2 * pad)) + '"><a class="' + textClass + '" href="#" ' +
   'onClick="' + objName + '.click(\'' + mN + '\',' + iN + '); return false" ' +
   'onMouseOver="status=\'\'; return true;">' + text + '</a></layer>';
  else itemStr += '<div class="' + textClass + '" style="position: absolute; left: ' + pad +
   '; top: ' + pad + '; width: ' + (iW - (2 * pad)) + '; height: ' + (iH - (2 * pad)) +
   '">' + text + '</div>';
 }
 return itemStr;
}}
function popUpdate() { with (this)
{
 if (!isDyn) return;
 for (mN in menu) with (menu[mN][0])
 {
  var str = '', iX = 0, iY = 0;
  for (var iN = 1; iN < menu[mN].length; iN++) with (menu[mN][iN])
  {
   var itemID = objName + '_' + mN + '_' + iN;
   if (type == 'sm:')
   {
    menu[href][0].parentMenu = mN;
    menu[href][0].parentItem = iN;
   }
   var shrink = (borderClass && isDOM && !isIE ? 2 : 0)
   iW = (isVert ? width : len) - shrink;
   iH = (isVert ? len : width) - shrink;
   if (isDOM || isIE4)
   {
    str += '<div id="' + itemID + '" ' + (borderClass ? 'class="' + borderClass + '" ' : '') +
     'style="position: absolute; left: ' + iX + '; top: ' + iY + '; width: ' + iW + '; height: ' +
     iH + '; ' + (outCol ? 'background: ' + outCol : '') + '" ';
   }
   if (isNS4)
   {
    str += '<layer id="' + itemID + '" left="' + iX + '" top="' + iY + '" width="' +
     iW + '" height="' + iH + '" ' + (outCol ? 'bgcolor="' + outCol + '" ' : '');
   }
   str += 'onMouseOver="' + objName + '.over(\'' + mN + '\',' + iN + ')" ' +
     'onMouseOut="' + objName + '.out(\'' + mN + '\',' + iN + ')" ' +
     'onClick="' + objName + '.click(\'' + mN + '\',' + iN + ')">' +
     getHTML(mN, iN, false) + (isNS4 ? '</layer>' : '</div>');
   if (isVert) iY += len + spacing - 1;
   else iX += len + spacing - 1;
  }
  if (!lyr) lyr = setLyr('hidden', 3);
  else if (isIE4) setTimeout(objName + '.menu.' + mN + '[0].lyr.sty.width = 9', 50);
  with (lyr) { sty.zIndex = 1000; write(str); sty.cursor = (isIE ? 'hand' : 'pointer') }
  for (var i = 1; i < menu[mN].length; i++)
  {
   menu[mN][i].lyr = getLyr(objName + '_' + mN + '_' + i, lyr.ref);
   if (isNS4) with (menu[mN][i].lyr.ref)
   {
    document.captureEvents(Event.CLICK);
    document.onclick = new Function(objName + '.click(\'' + mN + '\',' + i + ')');
   }
  }
 }
 position();
 menu.root[0].lyr.vis('visible');
}}
function PopupMenu(objName)
{
 this.objName = objName;
 this.popTimer = 0;
 this.menu =  new Array();
 this.litNow = new Array();
 this.litOld = new Array();
 this.actMenu = '';
 this.nextItem = 1;
 this.over = popOver;
 this.changeCol = popChangeCol;
 this.out = popOut;
 this.click = popClick;
 this.startMenu = popStartMenu;
 this.addItem = popAddItem;
 this.getHTML = popGetHTML;
 this.update = popUpdate;
 this.position = function() { with (this.menu.root[0])
 {
  if (!lyr) return;
  var winWidth = (isIE ? document.body.clientWidth : window.innerWidth)
  lyr.x(eval(offX));
  lyr.y(eval(offY));
 }}
}
var hBar = new ItemStyle(22, 3, '', 0, 2, '', '#3366cc', 'itemText', 'itemText', '');
var dBlue = new ItemStyle(22, 0, '&gt;', -15, 3, '#3366cc', '#ccffff', 'itemText', 'itemHover',
 'itemBorder');
var crazy = new ItemStyle(22, 1, '&gt;', -15, 2, '#666699', '#ff9999', 'crazyText', 'crazyHover',
 'crazyBorder');
var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
startMenu('root', true, 'winWidth/2 - 375', 10, 150, dBlue);
addItem('&nbsp;<img border="0" src="images/kampanyalarimiz1.gif" width="130" height="17">', 'window.open("kampanya/kampanya1.htm")', 'js:', '');
addItem('&nbsp;<img border="0" src="images/anlasmalar.jpg" width="130" height="17">', 'window.open("bilgikent/anlasma1.htm")', 'js:', '');
addItem('&nbsp;<img border="0" src="images/farmadesign.jpg" width="130" height="17">', 'window.open("gg/index.htm")', 'js:', '');
addItem('&nbsp;<img border="0" src="images/vizyonumuz.jpg" width="130" height="17">', 'window.open("bilgikent/mizansen.htm")', 'js:', '');
addItem('&nbsp; <img border="0" src="images/bkentlogo1.jpg" width="45" height="15"> Hakkımızda', 'window.open("tarihce2.htm")', 'js:', '');
addItem('&nbsp; <img border="0" src="images/fkomlogo1[1].gif" width="40" height="12"> Farmakom', 'mFarma', 'sm:');
addItem('&nbsp; <img border="0" src="images/world1.gif" width="15" height="15"> Download', 'window.open("Dwnlds")', 'js:', '');
addItem('&nbsp; Bankalar','mBan', 'sm:');
addItem('&nbsp; Fıkra, Mizah, Oyun', 'mSunum', 'sm:');
addItem('&nbsp; Günlük Gazeteler', 'mGaz', 'sm:');
addItem('&nbsp; Nöbet Listesi', 'window.open("nobetci")', 'js:', '');
addItem('&nbsp; Önemli Linkler', 'mLinkler', 'sm:');
addItem('&nbsp; <img border="0" src="images/kitap.gif" width="20" height="15"> Tıp Sözlükleri', 'window.open("sozluk.htm")', 'js:', '');
addItem('&nbsp; <img border="0" src="images/dollar.gif" width="30" height="15">&nbsp; Döviz Kurları','window.open("bilgikent_doviz_kurlari.htm")', 'js:', '');
addItem('&nbsp; ----------');
addItem('&nbsp; T.C.Kimlik No', 'window.open("http://tckimlik.nvi.gov.tr/")', 'js:', '');
addItem('&nbsp; Bağ-Kur Prim Borcu', 'window.open("http://www.bagkur.gov.tr/sigortali/bagnoBorc.shtml")', 'js:', '');
addItem('&nbsp; SSK E-Borcu Yoktur', 'window.open("http://ebildirge.ssk.gov.tr/WPEB/amp/loginldap")', 'js:', '');
addItem('&nbsp; Vergi Kimlik No', 'window.open("http://vedop.mb-ggm.gov.tr/vkn_sorgu/VKNoSorguInput.jsp")', 'js:', '');
addItem('&nbsp; Ehliyet Araç Sorgu', 'window.open("http://www.trafik.gov.tr/sorgulamalar/sorgulamalar.asp#")', 'js:', '');
addItem('&nbsp; Milli Piyango', 'window.open("http://www.millipiyango.gov.tr/")', 'js:', '');
addItem('&nbsp; Alo 118', 'window.open("http://www.ttrehber.gov.tr")', 'js:', '');
addItem('&nbsp; ----------');
addItem('&nbsp; TEB ve Bazı Odalar','mOda', 'sm:');
addItem('&nbsp; Sgk, Bümko, Ptt','mSgk', 'sm:');
addItem('&nbsp; Bazı Ecza Depoları', 'mDepo', 'sm:');
startMenu('mFarma', true, 151, 0, 155, dBlue);
addItem('Farmakom Web Sitesi', 'window.open("http://www.farma.net.tr")', 'js:', dBlue);
addItem('Farmakom Tanıtımı', 'window.open("bilgikent/farmakom.htm")', 'js:', dBlue);
addItem('2009 Güncellemeleri', 'window.open("duyuru/2009farmakomfiyat.htm")', 'js:', dBlue);
addItem('Stok Girişi ve Envanter', 'window.open("farmakom/farmakom_stok_girisi_ve_envanter_listesi")', 'js:', dBlue);
addItem('Kontrole Tabi İlaçlar', 'window.open("duyuru/genel/20080816_kontrole_tabi_ilaclar_farmakom_dokumu.htm")', 'js:', dBlue);
addItem('Hasta Doz Takibi', 'window.open("farmakom/farmakom_dozaj_takibi.htm")', 'js:', dBlue);
addItem('Sıkça Sorulan Sorular', 'window.open("http://www.farma.net.tr/default.asp?id=15&mnu=15")', 'js:', dBlue);
startMenu('mGaz', true, 152, 0, 125, dBlue);
addItem('gazeteoku.com', 'window.open("http://www.gazeteoku.com/")', 'js:', dBlue);
addItem('Akşam', 'window.open("http://www.aksam.com.tr/")', 'js:', dBlue);
addItem('Cumhuriyet', 'window.open("http://www.cumhuriyet.com.tr/")', 'js:', dBlue);
addItem('Dünya', 'window.open("http://www.dunyagazetesi.com.tr/")', 'js:', dBlue);
addItem('Fotomaç', 'window.open("http://www.fotomac.com.tr/")', 'js:', dBlue);
addItem('Hürriyet', 'window.open("http://www.hurriyetim.com.tr/")', 'js:', dBlue);
addItem('Milli Gazete', 'window.open("http://www.milligazete.com.tr/")', 'js:', dBlue);
addItem('Milliyet', 'window.open("http://www.milliyet.com.tr/")', 'js:', dBlue);
addItem('Radikal', 'window.open("http://www.radikal.com.tr/")', 'js:', dBlue);
addItem('Resmi Gazete', 'window.open("http://rega.basbakanlik.gov.tr/")', 'js:', dBlue);
addItem('Sabah ', 'window.open("http://www.sabah.com.tr/")', 'js:', dBlue);
addItem('Star', 'window.open("http://www.stargazete.com/")', 'js:', dBlue);
addItem('Türkiye', 'window.open("http://www.turkiyegazetesi.com/")', 'js:', dBlue);
addItem('Zaman', 'window.open("http://www.zaman.com.tr/")', 'js:', dBlue);
startMenu('mSunum', true, 152, 0, 125, dBlue);
addItem('Fıkra', 'window.open("karikatur/fikra.htm")', 'js:', dBlue);
addItem('Karikatür', 'window.open("karikatur/karikaturum.htm")', 'js:', dBlue);
addItem('Oyunlar', 'mOyun', 'sm:');
addItem('Radyo Yayını', 'window.open("guncel/radyo.htm")', 'js:', dBlue);
startMenu('mOda', true, 152, -147, 125, dBlue);
addItem('Ankara Ecz.Odası', 'window.open("http://www.aeo.org.tr/")', 'js:', dBlue);
addItem('Antalya Ecz.Odası', 'window.open("http://www.antalyaeo.org.tr/")', 'js:', dBlue);
addItem('İstanbul Ecz.Odası', 'window.open("http://www.istanbuleczaciodasi.org.tr")', 'js:', dBlue);
addItem('İzmir Ecz.Odası', 'window.open("http://www.izmireczaciodasi.org.tr/")', 'js:', dBlue);
addItem('T.E.B.', 'window.open("http://www.recete.org/")', 'js:', dBlue);
addItem('TEİS', 'window.open("http://www.teis.org.tr/")', 'js:', dBlue);
addItem('Eczacının Sesi', 'window.open("http://www.eczacininsesi.com/")', 'js:', dBlue);
addItem('Önemliler Bir Arada', 'window.open("d/index.html")', 'js:', dBlue);
startMenu('mSgk', true, 152, -252, 125, dBlue);
addItem('SGK', 'window.open("http://www.sgk.gov.tr")', 'js:', dBlue);
addItem('Emekli Sandığı', 'window.open("http://www.emekli.gov.tr/index2.html")', 'js:', dBlue);
addItem('Bağ-Kur', 'window.open("http://www.bagkur.gov.tr/index2.shtml")', 'js:', dBlue);
addItem('SSK', 'window.open("http://www.ssk.gov.tr/wps/portal")', 'js:', dBlue);
addItem('---Emekli---');
addItem('2007 Duyuruları', 'window.open("http://www.emekli.gov.tr/duyurular2007.html")', 'js:', dBlue);
addItem('2008 Duyuruları', 'window.open("http://www.emekli.gov.tr/duyurular2008.html")', 'js:', dBlue);
addItem('Online İşlemler', 'window.open("http://www.emekli.gov.tr/online_islemler.html")', 'js:', dBlue);
addItem('----------');
addItem('Antalya İl Sağ.Md.', 'window.open("http://www.antalyasm.gov.tr/")', 'js:', dBlue);
addItem('İlaç ve Ecz.Gn.Md.', 'window.open("http://www.iegm.gov.tr/")', 'js:', dBlue);
addItem('BÜMKO', 'window.open("http://www.bumko.gov.tr/")', 'js:', dBlue);
addItem('PTT İNTERAKTİF', 'window.open("ptt.htm")', 'js:', dBlue);
startMenu('mDepo', true, 152, -84, 125, dBlue);
addItem('Dilek', 'window.open("http://www.dilekecza.com.tr")', 'js:', dBlue);
addItem('Edak', 'window.open("http://www.edak.org.tr/")', 'js:', dBlue);
addItem('Hedef', 'window.open("http://www.hedefim.com")', 'js:', dBlue);
addItem('Nevzat', 'window.open("http://www.nevzatecza.com.tr/")', 'js:', dBlue);
addItem('Selçuk', 'window.open("http://www.selcukecza.com.tr/")', 'js:', dBlue);
startMenu('mLinkler', true, 152, 0, 125, dBlue);
addItem('Borsa-Döviz','mBor', 'sm:');
addItem('Dergiler','mDer', 'sm:');
addItem('Devlet Kurumları','mDev', 'sm:');
addItem('Hava Durumu','mHav', 'sm:');
addItem('Hava Yolları','mUck', 'sm:');
addItem('Kültür, Sanat','mKul', 'sm:');
addItem('Sağlığımız','mSag', 'sm:');
addItem('Sms, Mp3','mSms', 'sm:');
addItem('Televizyonlar','mTel', 'sm:');
startMenu('mBan', true, 152, 0, 125, dBlue);
 addItem('Akbank', 'window.open("http://www.akbank.com.tr/")', 'js:', dBlue);
 addItem('Denizbank', 'window.open("http://www.denizbank.com.tr/")', 'js:', dBlue);
 addItem('Finansbank', 'window.open("http://www.finansbank.com.tr/")', 'js:', dBlue);
 addItem('Fortisbank', 'window.open("http://www.fortis.com.tr/")', 'js:', dBlue);
 addItem('Garanti', 'window.open("http://www.garanti.com.tr/")', 'js:', dBlue);
 addItem('Halkbank', 'window.open("http://www.halkbank.com.tr/")', 'js:', dBlue);
 addItem('Hsbc', 'window.open("http://www.hsbc.com.tr/")', 'js:', dBlue);
 addItem('İş Bankası', 'window.open("http://www.isbank.com.tr/")', 'js:', dBlue);
 addItem('Koçbank', 'window.open("http://www.kocbank.com.tr/")', 'js:', dBlue);
 addItem('Merkez Bankası', 'window.open("http://www.tcmb.gov.tr/")', 'js:', dBlue);
 addItem('Şekerbank', 'window.open("http://www.sekerbank.com.tr/")', 'js:', dBlue);
 addItem('Vakıfbank', 'window.open("http://www.vakifbank.com.tr/")', 'js:', dBlue);
 addItem('Yapı Kredi', 'window.open("http://www.ykb.com.tr/")', 'js:', dBlue);
 addItem('Ziraat', 'window.open("http://www.ziraat.com.tr/")', 'js:', dBlue);
startMenu('mBor', true, 126, 0, 125, dBlue);
addItem('TCMB - Kurlar', 'window.open("http://www.tcmb.gov.tr/kurlar/today.html")', 'js:', dBlue);
addItem('İMKB - Endeks', 'window.open("http://www.imkb.gov.tr/endeksler.htm")', 'js:', dBlue);
addItem('Bilgikent Döviz', 'window.open("bilgikent_doviz_kurlari.htm")', 'js:', dBlue);
startMenu('mOyun', true, 126, 0, 125, dBlue);
addItem('Blok', 'window.open("karikatur/eglenceblok.htm")', 'js:', dBlue);
addItem('Hafıza', 'window.open("karikatur/resimler/eglencememory.htm")', 'js:', dBlue);
addItem('Küpler', 'window.open("karikatur/eglencepuzzle.htm")', 'js:', dBlue);
addItem('Loto', 'window.open("karikatur/eglenceloto.htm")', 'js:', dBlue);
addItem('Refleks <img border="0" src="images/yeni.gif" width="15" height="8">', 'window.open("karikatur/eglencerefleks.htm")', 'js:', dBlue);
addItem('Rekor', 'window.open("karikatur/eglencerekor.htm")', 'js:', dBlue);
startMenu('mDer', true, 126, 0, 125, dBlue);
addItem('Active', 'window.open("http://www.activefinans.com/")', 'js:', dBlue);
addItem('Aksiyon', 'window.open("http://www.aksiyon.com.tr/")', 'js:', dBlue);
addItem('Aktüel', 'window.open("http://www.aktuel.com.tr/")', 'js:', dBlue);
addItem('Alem', 'window.open("http://www.alem.com.tr/")', 'js:', dBlue);
addItem('Araba Dergisi', 'window.open("http://www.arabadergisi.com/")', 'js:', dBlue);
addItem('Bilim ve Teknik', 'window.open("http://www.biltek.tubitak.gov.tr/")', 'js:', dBlue);
addItem('Çekirdek Sanat', 'window.open("http://www.cekirdeksanat.com/")', 'js:', dBlue);
addItem('PcWorld', 'window.open("http://www.pcworld.com.tr/")', 'js:', dBlue);
addItem('Trend', 'window.open("http://www.trend.com.tr/")', 'js:', dBlue);
startMenu('mDev', true, 126, 0, 125, dBlue);
addItem('Askeriye', 'mSil', 'sm:');
addItem('Bakanlıklar', 'mBak', 'sm:');
addItem('Başbakanlık', 'window.open("http://www.basbakanlik.gov.tr/")', 'js:', dBlue);
addItem('Bazı Kurumlar', 'mCes', 'sm:');
addItem('Cumhurbaşkanı', 'window.open("http://www.cankaya.gov.tr/")', 'js:', dBlue);
addItem('T.B.M.M.', 'window.open("http://www.tbmm.gov.tr/")', 'js:', dBlue);
startMenu('mSil', true, 126, 0, 125, dBlue);
addItem('Genelkurmay', 'window.open("http://www.tsk.mil.tr/")', 'js:', dBlue);
addItem('Kara Kuvvetleri', 'window.open("http://www.kkk.tsk.mil.tr/")', 'js:', dBlue);
addItem('Deniz Kuvvetleri', 'window.open("http://www.dzkk.tsk.mil.tr/")', 'js:', dBlue);
addItem('Hava Kuvvetleri', 'window.open("http://www.hvkk.tsk.mil.tr/")', 'js:', dBlue);
addItem('Jandarma G.K.', 'window.open("http://www.jandarma.tsk.mil.tr/")', 'js:', dBlue);
addItem('Sahil Güvenlik', 'window.open("http://www.sgk.tsk.mil.tr/")', 'js:', dBlue);
startMenu('mBak', true, 126, -210, 125, dBlue);
addItem('Adalet', 'window.open("http://www.adalet.gov.tr/")', 'js:', dBlue);
addItem('Çalışma', 'window.open("http://www.calisma.gov.tr/")', 'js:', dBlue);
addItem('Çevre', 'window.open("http://www.cevre.gov.tr/")', 'js:', dBlue);
addItem('Dışişleri', 'window.open("http://www.mfa.gov.tr/")', 'js:', dBlue);
addItem('İçişleri', 'window.open("http://www.icisleri.gov.tr/")', 'js:', dBlue);
addItem('Kültür', 'window.open("http://www.kultur.gov.tr/")', 'js:', dBlue);
addItem('Maliye', 'window.open("http://www.maliye.gov.tr/")', 'js:', dBlue);
addItem('Milli Eğitim', 'window.open("http://www.meb.gov.tr/")', 'js:', dBlue);
addItem('Milli Savunma', 'window.open("http://www.msb.gov.tr/")', 'js:', dBlue);
addItem('Orman', 'window.open("http://www.orman.gov.tr/")', 'js:', dBlue);
addItem('Sağlık', 'window.open("http://www.saglik.gov.tr/")', 'js:', dBlue);
addItem('Sanayi ve Ticaret', 'window.open("http://www.sanayi.gov.tr/")', 'js:', dBlue);
addItem('Tarım ve Köyişleri', 'window.open("http://www.tarim.gov.tr/")', 'js:', dBlue);
addItem('Turizm', 'window.open("http://www.turizm.gov.tr/")', 'js:', dBlue);
addItem('Ulaştırma', 'window.open("http://www.ubak.gov.tr/")', 'js:', dBlue);
startMenu('mCes', true, 126, -105, 125, dBlue);
addItem('Darphane', 'window.open("http://www.darphane.gov.tr/")', 'js:', dBlue);
addItem('Devlet Tiyatrosu', 'window.open("http://www.foreigntrade.gov.tr/")', 'js:', dBlue);
addItem('D.İ.E.', 'window.open("http://www.die.gov.tr/")', 'js:', dBlue);
addItem('D.P.T.', 'window.open("http://www.dpt.gov.tr/")', 'js:', dBlue);
addItem('Emniyet G.Md.', 'window.open("http://www.egm.gov.tr/")', 'js:', dBlue);
addItem('Hazine', 'window.open("http://www.treasury.gov.tr/")', 'js:', dBlue);
addItem('Merkez Bankası', 'window.open("http://www.tcmb.gov.tr/")', 'js:', dBlue);
addItem('Milli Kütüphane', 'window.open("http://www.mkutup.gov.tr/")', 'js:', dBlue);
startMenu('mHav', true, 126, 0, 125, dBlue);
addItem('Adana', 'window.open("http://turkish.wunderground.com/global/stations/17350.html")', 'js:', dBlue);
addItem('Ankara', 'window.open("http://turkish.wunderground.com/global/stations/17129.html")', 'js:', dBlue);
addItem('Antalya', 'window.open("http://turkish.wunderground.com/cgi-bin/findweather/getForecast?query=antalya")', 'js:', dBlue);
addItem('İstanbul', 'window.open("http://turkish.wunderground.com/global/stations/17060.html")', 'js:', dBlue);
addItem('İzmir', 'window.open("http://turkish.wunderground.com/global/stations/17218.html")', 'js:', dBlue);
startMenu('mUck', true, 126, 0, 125, dBlue);
addItem('AnadoluJet', 'window.open("http://www.anadolujet.com/")', 'js:', dBlue);
addItem('Atlasjet', 'window.open("http://www.atlasjet.com/")', 'js:', dBlue);
addItem('Kıbrıs THY', 'window.open("http://www.kthy.net/")', 'js:', dBlue);
addItem('Onur Air', 'window.open("http://www.onurair.com.tr/")', 'js:', dBlue);
addItem('Pegasus', 'window.open("http://www.flypgs.com/")', 'js:', dBlue);
addItem('Sun Express', 'window.open("http://www.sunexpress.com.tr/")', 'js:', dBlue);
addItem('Türk Hava Yolları', 'window.open("http://www.thy.com/tr-TR/index.aspx")', 'js:', dBlue);
startMenu('mKul', true, 126, -84, 125, dBlue);
addItem('Edebiyat', 'window.open("http://www.edebiyatelestiri.com.tr")', 'js:', dBlue);
addItem('Fotoğraf', 'window.open("http://www.fotocommunity.com")', 'js:', dBlue);
addItem('Hukuk', 'window.open("http://www.ankahukuk.com")', 'js:', dBlue);
addItem('Klasik Müzik', 'window.open("http://www.beethovenlives.net/index5000.asp")', 'js:', dBlue);
addItem('Mitoloji Sözlük', 'window.open("http://www.arkeo.org/icerik.asp?menu=mitoloji&konu=sozluk#h")', 'js:', dBlue);
addItem('Sinema', 'window.open("http://www.belgefilm.com/arsiv.htm")', 'js:', dBlue);
addItem('Şiir', 'window.open("http://www.siir.gen.tr/")', 'js:', dBlue);
addItem('Tiyatro', 'window.open("http://www.tiyatrom.com/")', 'js:', dBlue);
startMenu('mSag', true, 126, -189, 125, dBlue);
addItem('Genel Sağlık', 'window.open("http://saglik.tr.net/genel_saglik.shtml")', 'js:', dBlue);
addItem('Kadın Sağlığı', 'window.open("http://saglik.tr.net/kadin_sagligi.shtml")', 'js:', dBlue);
addItem('Erkek Sağlığı', 'window.open("http://saglik.tr.net/erkek_sagligi.shtml")', 'js:', dBlue);
addItem('Çocuk Sağlığı', 'window.open("http://saglik.tr.net/cocuk_sagligi.shtml")', 'js:', dBlue);
addItem('Beslenme', 'window.open("http://saglik.tr.net/beslenme_sagligi.shtml")', 'js:', dBlue);
addItem('Spor ve Sağlık', 'window.open("http://saglik.tr.net/spor_ve_saglik.shtml")', 'js:', dBlue);
addItem('Cinsel Sağlık', 'window.open("http://saglik.tr.net/cinsel_saglik.shtml")', 'js:', dBlue);
addItem('İlk Yardım', 'window.open("http://saglik.tr.net/ilk_yardim.shtml")', 'js:', dBlue);
addItem('Diş Sağlığı', 'window.open("http://saglik.tr.net/dis_sagligi.shtml")', 'js:', dBlue);
addItem('Ruh Sağlığı', 'window.open("http://saglik.tr.net/ruh_sagligi.shtml")', 'js:', dBlue);
addItem('Çevre', 'window.open("http://saglik.tr.net/cevre.shtml")', 'js:', dBlue);
addItem('Diğer Başlıklar', 'window.open("http://saglik.tr.net/diger_basliklar.shtml")', 'js:', dBlue);
startMenu('mSms', true, 126, 0, 125, dBlue);
addItem('Kısa Mesaj', 'window.open("sms.htm")', 'js:', dBlue);
addItem('Müzik Parçaları', 'window.open("mp3.htm")', 'js:', dBlue);
startMenu('mTel', true, 126, -252, 125, dBlue);
addItem('Atv', 'window.open("http://www.atv.com.tr/")', 'js:', dBlue);
addItem('Bayrak', 'window.open("http://brt.emu.edu.tr/")', 'js:', dBlue);
addItem('Genç', 'window.open("http://www.genctv.com.tr/")', 'js:', dBlue);
addItem('Kanal 1', 'window.open("http://www.kanal1.com.tr/")', 'js:', dBlue);
addItem('Kanal 6', 'window.open("http://www.kanal6.com.tr/")', 'js:', dBlue);
addItem('Kanal D', 'window.open("http://www.kanald.com.tr/")', 'js:', dBlue);
addItem('Kanal E', 'window.open("http://www.kanale.com.tr/")', 'js:', dBlue);
addItem('Kanalturk', 'window.open("http://www.kanalturk.com.tr/")', 'js:', dBlue);
addItem('Ntv', 'window.open("http://www.ntv.com.tr/")', 'js:', dBlue);
addItem('Samanyolu', 'window.open("http://www.stv.com.tr/")', 'js:', dBlue);
addItem('Show', 'window.open("http://www.showtvnet.com/")', 'js:', dBlue);
addItem('Star', 'window.open("http://www.star.com.tr/")', 'js:', dBlue);
addItem('Trt', 'window.open("http://www.trt.gov.tr/")', 'js:', dBlue);
}
window.onload = new Function('pMenu.update()');
window.onresize = new Function('ns4BugCheck(); pMenu.position()');
var origWinWidth = window.innerWidth;
function ns4BugCheck()
{
 if (isNS4 && origWinWidth != window.innerWidth) location.reload()
}
moveRoot = new Function('with(pMenu.menu.root[0].lyr) x( (x()<100) ? 100 : 5);');
function showProps(obj) { s=''; for (p in obj) s+=p+' = '+String(obj[p]).substring(0,20)+'\n'; alert(s) }
function changeMenu() { with (pMenu)
{
 startMenu('mNewMenu', true, 0, 22, 125, dBlue);
 addItem('<b>Gus\' Web:</b><br>Extreme DHTML.<br>Small Code.<br>Click to Visit...',
  'window.open("http://gusnz.cjb.net")', 'js:', dBlue, 70);
 actMenu = 'root';
 nextItem = 4;
 addItem('&nbsp; Dynamism...', 'mNewMenu', 'sm:', hBar, 80);
 update();
}}