
document.body.rightMargin = "0"
document.body.leftMargin = "0"
document.body.topMargin = "0"

var MenuUstHucre=new Array(); var MenuUstHucreAra=new Array(); var MenuAltHucre=new Array();
var gTimer=null; var gTimer2=null;
var i

self.moveTo(0,0); self.resizeTo(screen.availWidth,screen.availHeight)

var head = document.getElementsByTagName('head').item(0);

var mystyle = document.createElement('link');
  mystyle.setAttribute('rel', 'stylesheet');  mystyle.setAttribute('href', '../stylesheet.css'); mystyle.setAttribute('type', 'text/css');
  head.appendChild(mystyle);

document.write('<DIV id="baslik">')

document.write('<TABLE cellspacing="0" cellpadding="0" width="100%">')
 document.write('<tr valign="center"><td width="15"></td><td width=110><a href="../anasayfa/index.html"><img src="../aeelogo.gif" width="132" height="44" border="0" align="left" alt="Ana Sayfa"></a></td> \
  <td>&nbsp;</td> \
  <td width="205" align="right"><img src="../anasayfa/images/sagustresim.jpg" width="135" height="69" border="0" align="right" alt="Ana Sayfa"></td> \
  </tr>')
document.write('<tr height="3"><td></td></tr></TABLE>')

document.write('<TABLE cellspacing="0" cellpadding="0" width="100%">')

 document.write('<tr height="15" bgcolor="#FF0000"><td colspan="3" align="right"> \
  <a href="../anasayfa/index.html" STYLE="color:#ffffff;text-decoration:none;font-size:8pt;">Ana Sayfa</A>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; \
  <a href="../anasayfa/index.html" STYLE="color:#ffffff;text-decoration:none;font-size:8pt;">Site Haritası</A>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; \
  <a href="mailto:aee@aee.com.tr" STYLE="color:#ffffff;text-decoration:none;font-size:8pt;">aee@aee.com.tr</A>&nbsp;&nbsp;&nbsp;</td></tr>')

 document.write('<tr bgcolor="White" height="1"><td></td></tr>')

 document.write('<tr valign="middle" bgcolor="#000000"><td width="15"></td><td height="27" id="MenuUst"></td></tr>')
	
 document.write('<tr height="1" bgcolor="#E5E5E5"><td colspan="3"></td></tr>')
 document.write('<tr valign="middle" bgcolor="#E5E5E5"><td width="15"></td><td height="22" id="MenuAlt" colspan="2"></td></tr>')
 document.write('<tr height="1" bgcolor="#E5E5E5"><td colspan="3"></td></tr>')
document.write('</TABLE>')

document.write('</DIV>')

UstMenuBaslat()
if(menu!=""){Kur(menu.substring(0,1))}

function Kur(x){
var secenek=x*2/2
   
if(menu!=""){document.getElementById(menu.substring(0,1)).setAttribute("style","color:#ffcc33; font-size: 13px;")}

for(i=1; i < Tablo[secenek].Children + 1; i++){
	if(i==1){MenuAlt.innerHTML=" "}
	   else{MenuAlt.innerHTML = MenuAlt.innerHTML + "&nbsp;&nbsp;|&nbsp;&nbsp;"}
	if(i == menu.substring(1,2) && menu.substring(0,1)==secenek)
	  {MenuAlt.innerHTML=MenuAlt.innerHTML + "<a href='"+Tablo[""+secenek+i].Link+"' class='menu' STYLE='color:#ff6600;'>"+Tablo[""+secenek+i].Name+"</a>";}
	  else{MenuAlt.innerHTML=MenuAlt.innerHTML + "<a href='"+Tablo[""+secenek+i].Link+"' class='menu' STYLE='color:#336699;'>"+Tablo[""+secenek+i].Name+"</a>";}
}
}

function UstMenuBaslat(){
MenuUst.innerHTML = ""
for(i=1; i<=menuqty; i++){
MenuUst.innerHTML = MenuUst.innerHTML + "<a id='"+i+"' onmouseover='Ac(this.id)' onmouseout=Kapa() href='"+Tablo[i].Link+"' style='color: White; font-size: 13px;'>"+Tablo[i].Name+"</a>" + "&nbsp;&nbsp;|&nbsp;&nbsp;";
}
}

function Ac(iRank) {
	clearTimeout(gTimer2);
	gTimer=setTimeout('Kur('+iRank+')',50);
}
function Kapa() {
	clearTimeout(gTimer);
	if(menu!=""){gTimer2=setTimeout('Kur('+menu.substring(0,1)+')',5000)};
}

function ClearSearchBox() {
	if (document.Search.SearchTerm.value == "Parça numarası ile arama"){document.Search.SearchTerm.value = ""; return true;}
}

function ClearTitle() {
	document.getElementById("baslik").innerHTML='<TABLE cellspacing="0" cellpadding="0" width="100%"><tr valign="center"><td width="15"></td><td width=110><a href="../anasayfa/index.html"><img src="../logo.gif" width="102" height="41" border="0" align="left" alt="Ana Sayfa"></a></td>  <td>&nbsp;</td></tr> <tr height="10"><td></td></tr></TABLE>'
	document.getElementById("dip").innerHTML=""
	document.getElementById("uruntemizle").deleteCell(0)
	document.getElementById("AnaTablo").width="700"
}





