-
var schoolCode="ucla";
Tournament Central 2013
var jsCalendar = new csuiCalendar();
jsCalendar.launch({
year: 2012,
sport: "m-baskbl",
timezone: 'PT', //only for general, options: AK, HI, PT, MT, CT, ET
reload: 300000, //5 minutes
animationSpeed: 400,
calWidth: 479,
calHeight: 233,
eventWidth: 129
});
tc13";
var destination = "REDIRECT URL";
var popupWin;
var cookVal = "true";
var home = "http://";
var expyear = new Date();
expyear.setTime(expyear.getTime() + (95 * 24 * 60 * 60 * 1000));
//alert(expyear.toGMTString()); // CHANGE 365 to 95 for approx 3mos, uncomment first part to view expiration
function SetCookie(name,value,expires){
if(name){
cookieLife = (expires)? "; expires=" + expires.toGMTString() : "";
document.cookie = name + "=" + value + cookieLife + ";path=/";
}
window.location = destination;
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf(";",offset);
if(endstr == -1)
endstr = document.cookie.length;
return document.cookie.substring(offset,endstr);
}
function getCookie(name){
var arg = name + "=";
var alen = arg.length
var clen = document.cookie.length;
var i = 0;
while(i < clen){
var j = i + alen;
if(document.cookie.substring(i,j) == arg)
return getCookieVal(j);
i = document.cookie.indexOf("",i) + 1;
if(i == 0) break;
}
return null;
}
if (getCookie(cookName) != null){
window.location = destination;
}
// End hiding -->
function switchPage(direction){
var current = $('#header-nav').attr('class');
var currentTab;
$('#header-nav li a').each(function(){
if ($(this).attr('onclick').indexOf(current)!=-1){
currentTab = $(this);
}
});
var tabIndex = currentTab.parent().index();
switch (direction){
case "prev":
if (tabIndex==0){
currentTab.parent().parent().children().eq(2).find('a').click();
}else{
currentTab.parent().parent().children().eq(tabIndex-1).find('a').click();
}
break;
case "next":
if (tabIndex==2){
currentTab.parent().parent().children().eq(0).find('a').click();
}else{
currentTab.parent().parent().children().eq(tabIndex+1).find('a').click();
}
break;
}
}
2013 UCLA Bruins NCAA Tournament Central
function pageTabs(i) { document.getElementById("page-info").style.display = (i == "on-info") ? "block" : "none"; document.getElementById("page-bracket").style.display = (i == "on-bracket") ? "block" : "none"; if(i == "on-season"){ document.getElementById("page-season").style.display ="block" ; }else{ document.getElementById("page-season").style.display ="none" ; } document.getElementById("header-nav").className = i; if(i == "on-info"){ document.getElementById("eyeDiv").style.display ="block" ; }else{ document.getElementById("eyeDiv").style.display ="none" ; } }Official Store
SHOP NOW
at the official online store
at the official online store
function contentTabs(i) {
document.getElementById("starters").style.display = (i == "on-starters") ? "block" : "none";
document.getElementById("social").style.display = (i == "on-social") ? "block" : "none";
document.getElementById("extra").style.display = (i == "on-extra") ? "block" : "none";
document.getElementById("content-tabs").className = i;
}