");
var pollsloading = 'no';
var newsflashloading = 'no';
var gamingloading = 'no';
var inittries = 0;
var loadingtries = 0;
function checkCSSReady () {
loadingcontent = true;
loadingtries = loadingtries + 1;
if (contentloaded || loadingtries > 10) {
inittries = inittries + 1;
if (typeof(window['event_status']) == "undefined") {
if (os == 'mobile') {
location.href = '/index2.php/option=com_altcaster/task=viewaltcast/altcast_code=90e4f7b759/height=550/width=470/mobile=y';
return;
}
setTimeout('checkCSSReady ()', 150);
} else if (typeof window.Asset != 'object') {
setTimeout('checkCSSReady ()', 150);
} else {
if (typeof window['event_gaming'] == "undefined") {
event_gaming = "n";
}
if (event_status != 'c') {
if (event_status == 'c') {
alertlevel = 'greenyellow';
} else if ('c' == 'c') {
event_status = 'c';
} else if ('c' == 'p' && (event_status == 'a' || event_status == 'c' )) {
alertlevel = 'greenyellow';
} else if ('c' == 'a' && event_status == 'p') {
event_status = 'a';
}
}
if (event_status == 'a' && event_polls == 'y' && pollsloading == 'no' ) {
pollsloading = 'yes';
var scr = new Asset.javascript('http://cdns3.coveritlive.com/media/blogjs/pollentries_457542.js?rand=' + Math.floor(Math.random()*10000000));
}
if (event_status == 'a' && (event_newsflash == 'y' || event_live_video_id != 0 ) && newsflashloading == 'no') {
newsflashloading = 'yes';
var scr2 = new Asset.javascript('http://cdns3.coveritlive.com/media/blogjs/nfentries_457542.js?rand=' + Math.floor(Math.random()*10000000));
}
if (event_status == 'a' && event_gaming == 'y' && gamingloading == 'no') {
gamingloading = 'yes';
var scr3 = new Asset.javascript('http://cdns3.coveritlive.com/media/blogjs/gamingdetails_457542.js?rand=' + Math.floor(Math.random()*10000000));
}
if (pollsloading == 'yes' && typeof window.LoadPolls != 'function' && inittries < 10) {
setTimeout('checkCSSReady ()', 150);
} else if (newsflashloading == 'yes' && typeof window.LoadNewsflashes != 'function' && inittries < 10) {
setTimeout('checkCSSReady ()', 150);
} else if (gamingloading == 'yes' && typeof window.gamesLoaded != "function" && inittries < 10) {
setTimeout('checkCSSReady ()', 150);
} else if ( typeof window.window_initialization != 'function') {
setTimeout('checkCSSReady ()', 150);
} else {
if (typeof(window['event_ads']) == "undefined") {
var event_ads = 'n';
var event_api_key = '';
var event_restricted_domains = '';
var event_api_domain = '';
var event_api_results_url = '';
}
if (browser != 'firefox') {
// output the dateline entry javascript
// output the game initialization data
window_initialization();
} else {
var oElement = document.getElementById('pageborder');
if (oElement) {
if (document.defaultView.getComputedStyle(oElement, null) == null) {
setTimeout('checkCSSReady ()', 250);
} else {
// output the dateline entry javascript
// output the game initialization data
window_initialization();
}
} else {
// output the dateline entry javascript
// output the game initialization data
window_initialization();
}
}
}
}
} else {
setTimeout('checkCSSReady ()', 150);
}
}
checkCSSReady ();