function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



var bSize = 350;

var sSize1 = 170;

var timeOut = 1;

var step = 17;



var activeOverTD1;

var activeOverTD2;

var activeOverTD3;

var activeOverTD4;

var activeOutTD1;

var activeOutTD2;

var activeOutTD3;

var activeOutTD4;

var widthTD1;

var widthTD2;

var widthTD3;

var widthTD4;

var td1;

var td2;

var td3;

var td4;





function MouseOverTD1()

{

    widthTD1 = sSize1;

    td1 = document.getElementById("td1");

    window.clearInterval(activeOutTD1);

    window.clearInterval(activeOverTD1);

    activeOverTD1 = window.setInterval("IncreaseTD1()", timeOut);

}



function MouseOutTD1(td)

{

    widthTD1 = bSize;

    td1 = document.getElementById("td1");

    window.clearInterval(activeOutTD1);

    window.clearInterval(activeOverTD1);

    activeOutTD1 = window.setInterval("ResetTD1()", timeOut);

}



function MouseOverTD2()

{

    widthTD2 = sSize1;

    td2 = document.getElementById("td2");

    window.clearInterval(activeOutTD2);

    window.clearInterval(activeOverTD2);

    activeOverTD2 = window.setInterval("IncreaseTD2()", timeOut);

}



function MouseOutTD2(td)

{

    widthTD2 = bSize;

    td2 = document.getElementById("td2");

    window.clearInterval(activeOutTD2);

    window.clearInterval(activeOverTD2);

    activeOutTD2 = window.setInterval("ResetTD2()", timeOut);

}



function MouseOverTD3()

{

    widthTD3 = sSize1;

    td3 = document.getElementById("td3");

    window.clearInterval(activeOutTD3);

    window.clearInterval(activeOverTD3);

    activeOverTD3 = window.setInterval("IncreaseTD3()", timeOut);

}



function MouseOutTD3(td)

{

    widthTD3 = bSize;

    td3 = document.getElementById("td3");

    window.clearInterval(activeOutTD3);

    window.clearInterval(activeOverTD3);

    activeOutTD3 = window.setInterval("ResetTD3()", timeOut);

}



function MouseOverTD4()

{

    widthTD4 = sSize1;

    td4 = document.getElementById("td4");

    window.clearInterval(activeOutTD4);

    window.clearInterval(activeOverTD4);

    activeOverTD4 = window.setInterval("IncreaseTD4()", timeOut);

}



function MouseOutTD4(td)

{

    widthTD4 = bSize;

    td4 = document.getElementById("td4");

    window.clearInterval(activeOutTD4);

    window.clearInterval(activeOverTD4);

    activeOutTD4 = window.setInterval("ResetTD4()", timeOut);

}



function IncreaseTD1()

{

    widthTD1 = widthTD1 + step;

    td1.style.width = widthTD1 + "px";

    if(widthTD1 > bSize)

        window.clearInterval(activeOverTD1);

}



function ResetTD1()

{

    widthTD1 = widthTD1 - step;

    td1.style.width = widthTD1 + "px";

    if(widthTD1 < sSize1)

        window.clearInterval(activeOutTD1);

}



function IncreaseTD2()

{

    widthTD2 = widthTD2 + step;

    td2.style.width = widthTD2 + "px";

    if(widthTD2 > bSize)

        window.clearInterval(activeOverTD2);

}



function ResetTD2()

{

    widthTD2 = widthTD2 - step;

    td2.style.width = widthTD2 + "px";

    if(widthTD2 < sSize1)

        window.clearInterval(activeOutTD2);

}



function IncreaseTD3()

{

    widthTD3 = widthTD3 + step;

    td3.style.width = widthTD3 + "px";

    if(widthTD3 > bSize)

        window.clearInterval(activeOverTD3);

}



function ResetTD3()

{

    widthTD3 = widthTD3 - step;

    td3.style.width = widthTD3 + "px";

    if(widthTD3 < sSize1)

        window.clearInterval(activeOutTD3);

}



function IncreaseTD4()

{

    widthTD4 = widthTD4 + step;

    td4.style.width = widthTD4 + "px";

    if(widthTD4 > bSize)

        window.clearInterval(activeOverTD4);

}



function ResetTD4()

{

    widthTD4 = widthTD4 - step;

    td4.style.width = widthTD4 + "px";

    if(widthTD4 < sSize1)

        window.clearInterval(activeOutTD4);

}
