var bPremium23050158 = false;
var bStop23050158 = false;
var sDomain = location.hostname.toLowerCase().replace('www.', '');
var bAutoOnBC23050158 = true;
var CurIndexBC23050158 = 0;
var iMaxIndexBC23050158;
var arrTitleBC23050158 = [];
var arrLinkBC23050158 = [];
var arrSummaryBC23050158 = [];
iChangeDelayBC23050158 = 7;
arrTitleBC23050158[0] = 'Tutorial for Class II, III, IV';
arrLinkBC23050158[0] = 'http://www.blogger.com/feeds/6139139435430586269/posts/default/4625535216733484837?v=2';
arrSummaryBC23050158[0] = '
';
arrTitleBC23050158[1] = 'Shishuangan Closed on 5 JUL 2010';
arrLinkBC23050158[1] = 'http://www.blogger.com/feeds/6139139435430586269/posts/default/4542159584611443208?v=2';
arrSummaryBC23050158[1] = '
';
arrTitleBC23050158[2] = 'Summer Vacation till July 2 instead of June 30';
arrLinkBC23050158[2] = 'http://www.blogger.com/feeds/6139139435430586269/posts/default/4353071676161506179?v=2';
arrSummaryBC23050158[2] = '
';
function RotateTickerBC23050158()
{
if (bAutoOnBC23050158)
{
CurIndexBC23050158 = (CurIndexBC23050158 >= (arrTitleBC23050158.length - 1)) ? 0 : CurIndexBC23050158 + 1;
GoToTickerBC23050158(CurIndexBC23050158);
setTimeout('RotateTickerBC23050158()', iChangeDelayBC23050158 * 1000);
}
}
function PrevTickerBC23050158()
{
CurIndexBC23050158 = (CurIndexBC23050158 <= 0) ? arrTitleBC23050158.length - 1 : CurIndexBC23050158 - 1;
GoToTickerBC23050158(CurIndexBC23050158);
bAutoOnBC23050158 = false;
}
function NextTickerBC23050158()
{
CurIndexBC23050158 = (CurIndexBC23050158 >= arrTitleBC23050158.length - 1) ? 0 : CurIndexBC23050158 + 1;
GoToTickerBC23050158(CurIndexBC23050158);
bAutoOnBC23050158 = false;
}
function SetTickerOpacityBC23050158(oTickerStyle, iOpacity)
{
try
{
if (oTickerStyle.filter === undefined)
{
oTickerStyle.opacity = (iOpacity/100).toString();
}
else
{
if (iOpacity == 100)
{
oTickerStyle.filter = '';
}
else
{
oTickerStyle.filter = 'alpha(opacity=' + iOpacity + ')';
}
}
}
catch(e)
{
}
}
function GoToTickerBC23050158(iIndex)
{
var i, iOpacity, iDelay;
for (i = 0; i < 10; i++)
{
iOpacity = 90 - (i * 10);
iDelay = i * 50;
setTimeout('SetTickerOpacityBC23050158(document.getElementById(\'TickerContentBC23050158\').style,' + iOpacity + ')', iDelay);
}
setTimeout('SetTickerContentBC23050158(' + iIndex + ')', iDelay + 50);
for (i = 0; i < 10; i++)
{
iOpacity = (i + 1) * 10;
iDelay = (i + 10) * 50;
setTimeout('SetTickerOpacityBC23050158(document.getElementById(\'TickerContentBC23050158\').style,' + iOpacity + ')', iDelay);
}
}
function SetTickerContentBC23050158(iIndex)
{
if ((iIndex >= 0) && (iIndex <= (arrTitleBC23050158.length - 1))) {
document.getElementById('TickerTitleBC23050158').innerHTML = arrTitleBC23050158[iIndex];
document.getElementById('TickerLinkBC23050158').href = arrLinkBC23050158[iIndex];
if (arrSummaryBC23050158.length > 0)
{
document.getElementById('TickerSummaryBC23050158').innerHTML = '
' + arrSummaryBC23050158[iIndex];
}
}
}
if (! bStop23050158) {
CurIndexBC23050158 = -1;
document.getElementById('TickerTitleBC23050158').innerHTML = 'Loading BlastCasta Ticker...';
document.getElementById('TickerLinkBC23050158').href = 'http://www.blastcasta.com/';
setTimeout('RotateTickerBC23050158()', 1250);
}