<!--
var ns4up = (document.layers) ? 1 : 0;
 var ie4up = (document.all) ? 1 : 0;
 var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var anatabloX
var anatabloY
var Orta
function OrtaBul()
{var TableWidth = 740
     if (ie4up){
         doc_width = document.body.clientWidth;
         doc_height = document.body.clientHeight;
     }
     else if (ns6up){
         doc_width = window.innerWidth
         doc_height = window.innerHeight
     }
     else if (ns4up) {
         doc_width = self.innerWidth;
         doc_height = self.innerHeight;
     }
     if (doc_width>TableWidth)
       {Orta = Math.round((doc_width-TableWidth )/2)-1}
     else       {Orta = 0}
}
function changeImages() {
  if (document.images) {
     var obj
    for (var i=0; i<changeImages.arguments.length; i+=3) {
      if (ns4up)
         {
             obj = eval('document.' + changeImages.arguments[i] + '.document.images[\"'+changeImages.arguments[i+1] + '\"]')
             obj.src =eval(changeImages.arguments[i+2] + ".src");
         }
          else
         {
             document[changeImages.arguments[i+1]].src = eval(changeImages.arguments[i+2] + ".src");
         }
    }
  }
}
var DestinationX
var DestinationY
var CheckNewValue
var CheckNewValue3
var t = 0
var newValue = 1
var newValue3 = 1
var expanded = 3
var objTop
var objeLeft
var z1 = 0
var CarpanX
var CarpanY
function ReturnLeft(object) {
 if (ie4up){
     return parseInt(document.all[object].style.pixelLeft) - Orta;
     }
     else if (ns6up){
     return parseInt(document.getElementById(object).style.left) - Orta;
     }
     else if (ns4up) {
     return parseInt(document.layers[object].left) - Orta
     }
}


function ReturnTop(object){
 if (ie4up){
     return document.all[object].style.pixelTop
     }
     else if (ns6up){
     return document.getElementById(object).style.top
     }
     else if (ns4up) {
     return document.layers[object].top;
     }
}
function expandbaslat(object, x, y){

if (expanded==3)
       {
    if (z1==0) z1=1; else z1=0;
    objTop = parseInt(ReturnTop(object));
    objeLeft = parseInt(ReturnLeft(object));
    DestinationX = objeLeft + x
    DestinationY = objTop + y
    CheckNewValue = 21323
    CheckNewValue3 = 23232
    CarpanX = Math.abs(x) / x
    CarpanY = Math.abs(y) / y
    if (y==0) newValue = objTop; else newValue = parseInt(ReturnTop(object)) + 4 * CarpanY
    if (x==0) newValue3= objeLeft; else newValue3= parseInt(ReturnLeft(object)) + 4 * CarpanX
    expanded = 1
    t = 0
    Expand(object, x, y);
       }
}


function Expand(object, x, y) {
    if (CarpanY * newValue < CarpanY*DestinationY)
    {
      if (y==0) newValue = objTop; else newValue = parseInt(ReturnTop(object)) + 4 * CarpanY
    }
    if ((CarpanX * newValue3) < (CarpanX * DestinationX))
    {
       if (x==0) newValue3= objeLeft; else newValue3= parseInt(ReturnLeft(object)) + 4 * CarpanX
    }
    if ((expanded == 1) && ((CheckNewValue!=newValue) || (CheckNewValue3!=newValue3)))
    {
    reposition(object, newValue3, newValue)
        CheckNewValue3 = newValue3
        CheckNewValue = newValue
        myTimer = setTimeout("Expand('" + object + "', " + x + ", " + y + ");", 1)
    }
     else
    {reposition(object, DestinationX, DestinationY)
    expanded=	3;
    clearTimeout("myTimer");
    }
    
}
var DestinationX
var DestinationY
var CheckNewValue
var CheckNewValue3
var t = 0
var newValue = 1
var newValue3 = 1
var expanded = 3
var objTop
var objeLeft
var z1 = 0
var CarpanX
var CarpanY
function ReturnLeft(object) {
 if (ie4up){
     return parseInt(document.all[object].style.pixelLeft) - Orta;
     }
     else if (ns6up){
     return parseInt(document.getElementById(object).style.left) - Orta;
     }
     else if (ns4up) {
     return parseInt(document.layers[object].left) - Orta
     }
}


function ReturnTop(object){
 if (ie4up){
     return document.all[object].style.pixelTop
     }
     else if (ns6up){
     return document.getElementById(object).style.top
     }
     else if (ns4up) {
     return document.layers[object].top;
     }
}
function expandbaslat(object, x, y){

if (expanded==3)
       {
    if (z1==0) z1=1; else z1=0;
    objTop = parseInt(ReturnTop(object));
    objeLeft = parseInt(ReturnLeft(object));
    DestinationX = objeLeft + x
    DestinationY = objTop + y
    CheckNewValue = 21323
    CheckNewValue3 = 23232
    CarpanX = Math.abs(x) / x
    CarpanY = Math.abs(y) / y
    if (y==0) newValue = objTop; else newValue = parseInt(ReturnTop(object)) + 4 * CarpanY
    if (x==0) newValue3= objeLeft; else newValue3= parseInt(ReturnLeft(object)) + 4 * CarpanX
    expanded = 1
    t = 0
    Expand(object, x, y);
       }
}


function Expand(object, x, y) {
    if (CarpanY * newValue < CarpanY*DestinationY)
    {
      if (y==0) newValue = objTop; else newValue = parseInt(ReturnTop(object)) + 4 * CarpanY
    }
    if ((CarpanX * newValue3) < (CarpanX * DestinationX))
    {
       if (x==0) newValue3= objeLeft; else newValue3= parseInt(ReturnLeft(object)) + 4 * CarpanX
    }
    if ((expanded == 1) && ((CheckNewValue!=newValue) || (CheckNewValue3!=newValue3)))
    {
    reposition(object, newValue3, newValue)
        CheckNewValue3 = newValue3
        CheckNewValue = newValue
        myTimer = setTimeout("Expand('" + object + "', " + x + ", " + y + ");", 1)
    }
     else
    {reposition(object, DestinationX, DestinationY)
    expanded=	3;
    clearTimeout("myTimer");
    }
    
}
function reposition(object,x,y) {
 if (ie4up){
     document.all[object].style.pixelTop = y;
     document.all[object].style.pixelLeft =Orta+ x;
     }
     else if (ns6up){
     document.getElementById(object).style.top=y;
     document.getElementById(object).style.left=orta + x;
     }
     else if (ns4up) {
     document.layers[object].top = y;
     document.layers[object].left = Orta + x;
     }
}

function resizeHandle(e){
 //OrtaBul();
 yerlestir();
}
OrtaBul();
window.onresize=resizeHandle;
//-->