tt="start";
kk="start";
pp='start';
yesnoreplace="no";
hhimgimgimg="images/moren.gif";

function gotoll(funstrstrstr){
if(funstrstrstr=="start"){displayimghtml.innerHTML='<img src="'+hhimgimgimg+'" width="480" height="360" id="imgshowint" style="FILTER: revealTrans(duration=2,transition=20); ">';
yesnoreplace="no";}
else if(funstrstrstr=="contact"){displayimghtml.innerHTML='<iframe src="contact.html" frameborder="0" scrolling="no" height="360" width="480"></iframe>';
yesnoreplace="yes"}
else if(funstrstrstr=="td"){displayimghtml.innerHTML='<iframe src="td.html" frameborder="0" scrolling="no" height="360" width="480"></iframe>';
yesnoreplace="yes";}
else if(funstrstrstr=="qc"){displayimghtml.innerHTML='<iframe src="qc.html" frameborder="0" scrolling="no" height="360" width="480"></iframe>';
yesnoreplace="yes";}
else if(funstrstrstr=="about"){displayimghtml.innerHTML='<iframe src="about.html" frameborder="0" scrolling="no" height="360" width="480"></iframe>';
yesnoreplace="yes";}
}

function changtab1(mm,ss,yy)
{
if(yesnoreplace=="yes")gotoll("start");
if (mm.style.display=="none")
{
if(tt!='start')tt.style.display='none';
else sorttable1.style.display='none';
mm.filters.revealTrans.Transition=5;
mm.filters(0).apply();
mm.style.display="";
mm.filters(0).play();
tt=mm;
}
if (ss.style.display=="none")
{
if(kk!='start')
{
kk.filters.revealTrans.Transition=5;
kk.filters(0).apply();
kk.style.display='none';
kk.filters(0).play();
}
else
{
sortimgtable1.filters.revealTrans.Transition=5;
sortimgtable1.filters(0).apply();
sortimgtable1.style.display='none';
sortimgtable1.filters(0).play();
}
ss.filters.revealTrans.Transition=5;
ss.filters(0).apply();
ss.style.display="";
ss.filters(0).play();
kk=ss;
}
if (yy.className=="intfontclass")
{
if(pp!='start')pp.className='intfontclass';
else fonttabclass1.className='intfontclass';
yy.className="overfontclass";
pp=yy;
}
}

function changimg(str,nn,mm)
{
if(yesnoreplace=="yes")gotoll("start");
imgshowint.filters.revealTrans.Transition=23;  //不同数字表示不同换屏模式
imgshowint.filters(0).apply();
imgshowint.src=str;
imgshowint.filters(0).play();
hhimgimgimg=str;
}
  
