function setFlashHeight(divid, newH){
	document.getElementById(divid).style.height = newH+"px";
}

function trackIt(param){
	cto.siteSection='disneyonline:itunes';
	cto.pageName=String(param).replace(/'|"/g,"").replace(/_/g," ");
	cto.trackFlashPV();
}

function flashDeepLink(param){
    var flash = document.getElementById('flashcontent');
 	if (flash == null)
      flash = document.flash;
	  flash.deepLink(param);
}

function getVars() {
	var aVars = {};
	if (!location.search || !location.search.length) {
		flashDeepLink(aVars);
		return;
	}
	var aV = location.search.substr(1).split(/&/g);
	var thisVar;
	for (var i = 0, ii = aV.length; i < ii; i++) {
		thisVar = aV[i].split(/=/);
		aVars[thisVar[0]] = unescape(thisVar[1]);
	}
	flashDeepLink(aVars);
}

