var $ = function() { return document.getElementById(arguments[0]); }; function swishData(i){ window.clearTimeout(timeoutClickTab); var d,ee; if($('dspTabCont')) { d=$('dspTabCont'); d.innerHTML=''; if($('bigTea'+i+'')) ee=$('bigTea'+i+'').innerHTML; d.innerHTML=ee; swishTab(i); } }; var carchTab=""; var timeoutClickTab; function swishTab(i){ if(carchTab=="") { if($('tabButton')) carchTab=$('tabButton').innerHTML; } if($('liId1')) { $('liId1').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId1').style.fontSize="11pt"; } else if($('liId2')) { $('liId2').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId2').style.fontSize="11pt"; } else if($('liId3')) { $('liId3').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId3').style.fontSize="11pt"; } else if($('liId4')) { $('liId4').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId4').style.fontSize="11pt"; } else if($('liId5')) { $('liId5').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId5').style.fontSize="11pt"; } else if($('liId6')) { $('liId6').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId6').style.fontSize="11pt"; } else if($('liId7')) { $('liId7').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId7').style.fontSize="11pt"; } else if($('liId8')) { $('liId8').style.background="-webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff))"; $('liId8').style.fontSize="11pt"; } $('tabButton').innerHTML=carchTab; var lid=$('liId'+i+''); lid.style.background="-webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff))"; lid.style.fontSize="1.2em"; lid.style.lineHeight="35px"; lid.innerHTML=""+lid.innerText+""; BoxShowFadeIN('liId'+i,0,100); }; function autoClickTab(t){ if(t==null||t=="") t=8; t=t*1000; timeoutClickTab=setTimeout("swishData(1)",t); };