function d(a){var b = document.getElementById(a); return b;}
function img(val){var a, b; a = d('thumb'); b = a.style; b.opacity = (val / 100); b.MozOpacity = (val / 100); b.KhtmlOpacity = (val / 100); b.filter = "alpha(opacity=" + val + ")"; img1();}
function img1(){val = 200; for(i=1; i<5; i++){a = d('t' + i); b = a.style; b.opacity = (val / 100); b.MozOpacity = (val / 100); b.KhtmlOpacity = (val / 100); b.filter = "alpha(opacity=" + val + ")";}}
function img2(val, id){a = d(id); b = a.style; b.opacity = (val / 100); b.MozOpacity = (val / 100); b.KhtmlOpacity = (val / 100); b.filter = "alpha(opacity=" + val + ")";}
function ic(id){var c, e; c = d(id); img1(); img2(40, id); for(i=1; i<5; i++){d('i' + i).style.display="none";} e = id.replace('t', 'i'); d(e).style.display="block";}
function a(){img(85); img2(40, 't1'); contHt();}
window.onload = a;

var speed=10;

i6=document.all||document.getElementById;
n4=document.layers;


function down(){
if (window.upvr){clearTimeout(upvr);}
if (i6&&parseInt(obj.style.top)>=(ctHT*(-1)+400))
{obj.style.top=parseInt(obj.style.top)-speed+"px";}
else if (n4&&obj.top>=(ctHT*(-1)+500))
{obj.top-=speed;}
dwvr=setTimeout("down()",20);
}

function up(){
if (window.dwvr){clearTimeout(dwvr);}
if (i6&&parseInt(obj.style.top)<=0)
{obj.style.top=parseInt(obj.style.top)+speed+"px";}
else if (n4&&obj.top<=0)
{obj.top+=speed;}
upvr=setTimeout("up()",20);
}

function stop(){
if (window.upvr){clearTimeout(upvr);}
if (window.dwvr){clearTimeout(dwvr);}
}

function contHt(){
if (i6){ctHT=obj.offsetHeight;}
else if (n4){document.nscontainer.document.nscontent.visibility="show";}
}
