<!--

var ismenushown;

var browserver;
browserver=5;
ismenushown=0;
var whichmenu;
whichmenu="none";


var timer_1_2;
var linkname1;

startopacity=0;
spin=20;
spout=10;

function fadeIt(obj,direct)
{ 
if(window.timer) 
{ clearInterval(timer); } 
tobj=obj; 
drct=direct;
timer=setInterval("flowfilter(tobj,drct);",30); 
}

function flowfilter(thing,dct){
if(dct==1) 
{ if (thing.filters.alpha.opacity<100) 
{ thing.filters.alpha.opacity+=spin; } 
else { clearInterval(timer); } 
}
if(dct==2) { 
if (thing.filters.alpha.opacity>startopacity) 
{ thing.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer); } 
}
}


function fadeIt1(obj1,direct1)
{ 
if(window.timer1) 
{ clearInterval(timer1); } 
tobj1=obj1; 
drct1=direct1;
timer1=setInterval("flowfilter1(tobj1,drct1);",30); 
}

function flowfilter1(thing1,dct1){
if(dct1==1) 
{ if (thing1.filters.alpha.opacity<100) 
{ thing1.filters.alpha.opacity+=spin; } 
else { clearInterval(timer1); } 
}
if(dct1==2) { 
if (thing1.filters.alpha.opacity>startopacity) 
{ thing1.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer1); } 
}
}

function fadeIt2(obj2,direct2)
{ 
if(window.timer2) 
{ clearInterval(timer2); } 
tobj2=obj2; 
drct2=direct2;
timer2=setInterval("flowfilter2(tobj2,drct2);",30); 
}

function flowfilter2(thing2,dct2){
if(dct2==1) 
{ if (thing2.filters.alpha.opacity<100) 
{ thing2.filters.alpha.opacity+=spin; } 
else { clearInterval(timer2); } 
}
if(dct2==2) { 
if (thing2.filters.alpha.opacity>startopacity) 
{ thing2.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer2); } 
}
}

function fadeIt3(obj3,direct3)
{ 
if(window.timer3) 
{ clearInterval(timer3); } 
tobj3=obj3; 
drct3=direct3;
timer3=setInterval("flowfilter3(tobj3,drct3);",30); 
}

function flowfilter3(thing3,dct3){
if(dct3==1) 
{ if (thing3.filters.alpha.opacity<100) 
{ thing3.filters.alpha.opacity+=spin; } 
else { clearInterval(timer3); } 
}
if(dct3==2) { 
if (thing3.filters.alpha.opacity>startopacity) 
{ thing3.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer3); } 
}
}


function fadeIt4(obj4,direct4)
{ 
if(window.timer4) 
{ clearInterval(timer4); } 
tobj4=obj4; 
drct4=direct4;
timer4=setInterval("flowfilter4(tobj4,drct4);",30); 
}

function flowfilter4(thing4,dct4){
if(dct4==1) 
{ if (thing4.filters.alpha.opacity<100) 
{ thing4.filters.alpha.opacity+=spin; } 
else { clearInterval(timer4); } 
}
if(dct4==2) { 
if (thing4.filters.alpha.opacity>startopacity) 
{ thing4.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer4); } 
}
}

function fadeIt5(obj5,direct5)
{ 
if(window.timer5) 
{ clearInterval(timer5); } 
tobj5=obj5; 
drct5=direct5;
timer5=setInterval("flowfilter5(tobj5,drct5);",30); 
}

function flowfilter5(thing5,dct5){
if(dct5==1) 
{ if (thing5.filters.alpha.opacity<100) 
{ thing5.filters.alpha.opacity+=spin; } 
else { clearInterval(timer5); } 
}
if(dct5==2) { 
if (thing5.filters.alpha.opacity>startopacity) 
{ thing5.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer5); } 
}
}

function fadeIt6(obj6,direct6)
{ 
if(window.timer6) 
{ clearInterval(timer6); } 
tobj6=obj6; 
drct6=direct6;
timer6=setInterval("flowfilter6(tobj6,drct6);",30); 
}

function flowfilter6(thing6,dct6){
if(dct6==1) 
{ if (thing6.filters.alpha.opacity<100) 
{ thing6.filters.alpha.opacity+=spin; } 
else { clearInterval(timer6); } 
}
if(dct6==2) { 
if (thing6.filters.alpha.opacity>startopacity) 
{ thing6.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer6); } 
}
}


function fadeIt7(obj7,direct7)
{ 
if(window.timer7) 
{ clearInterval(timer7); } 
tobj7=obj7; 
drct7=direct7;
timer7=setInterval("flowfilter7(tobj7,drct7);",30); 
}

function flowfilter7(thing7,dct7){
if(dct7==1) 
{ if (thing7.filters.alpha.opacity<100) 
{ thing7.filters.alpha.opacity+=spin; } 
else { clearInterval(timer7); } 
}
if(dct7==2) { 
if (thing7.filters.alpha.opacity>startopacity) 
{ thing7.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer7); } 
}
}

function fadeIt8(obj8,direct8)
{ 
if(window.timer8) 
{ clearInterval(timer8); } 
tobj8=obj8; 
drct8=direct8;
timer8=setInterval("flowfilter8(tobj8,drct8);",30); 
}

function flowfilter8(thing8,dct8){
if(dct8==1) 
{ if (thing8.filters.alpha.opacity<100) 
{ thing8.filters.alpha.opacity+=spin; } 
else { clearInterval(timer8); } 
}
if(dct8==2) { 
if (thing8.filters.alpha.opacity>startopacity) 
{ thing8.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer8); } 
}
}

function fadeIt9(obj9,direct9)
{ 
if(window.timer9) 
{ clearInterval(timer9); } 
tobj9=obj9; 
drct9=direct9;
timer9=setInterval("flowfilter9(tobj9,drct9);",30); 
}

function flowfilter9(thing9,dct9){
if(dct9==1) 
{ if (thing9.filters.alpha.opacity<100) 
{ thing9.filters.alpha.opacity+=spin; } 
else { clearInterval(timer9); } 
}
if(dct9==2) { 
if (thing9.filters.alpha.opacity>startopacity) 
{ thing9.filters.alpha.opacity-=spout; }
 else {
 clearInterval(timer9); } 
}
}

function photomover(idf)
{
if (whichmenu !="none")
{	
eval(whichmenu+ ".style.visibility='hidden';")
//photos.style.zIndex=1;
ismenushown=0;
};
document.all[idf].style.filter="alpha (opacity=100, enabled=1)";

}

function photomout(idf)
{
document.all[idf].style.filter="alpha(opacity=50, enabled=1)";
}

function linkover(idf)
{
if (whichmenu !="none")
{	
eval(whichmenu+ ".style.visibility='hidden';")
photos.style.zIndex=1;
ismenushown=0;
};
document.all[idf].style.color='yellow';
}

function linkout(idf)
{
document.all[idf].style.color='darkblue';
}

function hidelink(lnkname)
{
clearInterval(timer_1_2);
linkname1=lnkname;
timer_1_2=setInterval( "hidelink1()", 2000);
}

function hidelink1()
{
eval(linkname1+ ".style.visibility='hidden';")
}

//-->