﻿var sL=1;
var iS=0;
function DShowDiv(){
var sc1=document.getElementById("sc1");
var sc2=document.getElementById("sc2");
if(iS==0){
if(sL==1){
Show(sc1,1);
Show(sc2,0);
setTimeout("DShowDiv()",4000);
}
if(sL==2){
Show(sc2,1);
Show(sc1,0);
setTimeout("DShowDiv()",4000);
}
sL++;
if(sL>2){
sL=1;
}
}
else{
setTimeout("DShowDiv()",4000);
}
}
function Show(a,b){
if(a==null){
return;
}
//a.filters.revealTrans.Transition=Math.floor(Math.random()*23);
a.filters.revealTrans.Transition=24;
a.filters.revealTrans.apply();
if(b==1){
a.style.display="block";
}
else{
a.style.display="none";
}
a.filters.revealTrans.play();
}
function isScroll(v){
iS=v;
}