/*
$(document).ready(function(){ 
	$("#CJ_JE").load("content/advertising/jazzessentials.php", {sec: 1}, function(){
		$("#CJ_JE").fadeIn("slow");
	});
	
	$("#CJ_AT").load("content/advertising/aroundtown.php", {sec: 1}, function(){
		$("#CJ_AT").fadeIn("slow");
	});
});

var articleInterval = setInterval("changeArticle()", 7000);
//
var tickerCounter = 1;

function changeArticle(){
	checkTickerCounter();
	displayJazzEsentials();
	displayAroundTown();
}

function checkTickerCounter(){
	if(tickerCounter ==3){
		tickerCounter = 1;
	}else{
		tickerCounter++;
	}
}

function displayJazzEsentials(){
	$("#CJ_JE").fadeOut("slow",function(){
		$("#CJ_JE").empty();
		$("#CJ_JE").load("content/advertising/jazzessentials.php", {sec: tickerCounter}, function(){
			$("#CJ_JE").fadeIn("slow");
		});
	});
}


function displayAroundTown(){ 
	$("#CJ_AT").fadeOut("slow",function(){
		$("#CJ_AT").empty();
		$("#CJ_AT").load("content/advertising/aroundtown.php", {sec: tickerCounter}, function(){
			$("#CJ_AT").fadeIn("slow");
		});
	});
}
*/

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function switchMovie(theLinkObject){
	var theNewVideo = theLinkObject.title;
	var flashMovie = document.getElementById("videoPlayer");
	flashMovie.updateVideo(theNewVideo);
}