// JavaScript Document

/* makeUrlVar */

/**
	* This is a simple function being pulled out of the live agenda templates
	* that will be used to open the new flash player. It currently opens the clipstream
	* player  & is duplicated on all of the live_agenda pages
	*
	* While this is horrible coding, the current practice of the local variables 
	* z and zz is only temporary until we go from the clipstream player to
	* the new flash player.  These are defined on the live_agenda pages"
	*
	* Fuck. They pass in folder and doctor.
	*/
/*
	
function makeUrlVar(x,y){ 
	if( document.all ){ 
		urlVar = "http://mssmtv.org/conferences/template/frameset_demo.html?folder=" 
		+ x + "&doctor=" + y + "&user=" + z + "&course_id=" + zz; 
	} else { 
		urlVar = "http://mssmtv.org/conferences/template/frameset_demo_ns.html?folder=" 
		+ x + "&doctor=" + y + "&user=" + z + "&course_id=" + zz;
	} 
	openUrl(urlVar,730,580);
} 
*/

function makeUrlVar(x,y){ 

		//urlVar = "http://www.mssmtv.org/player/player.php?id=" + y; 
		//alert(urlVar);
		//changes urlVar = "http://www.mssmtv.org/player/tcf_player1.php?id=" + y;
		
		urlVar = "http://mssmtv.org/player/ccc_player2009.php?id=" + y; 
 				openUrl(urlVar,675,520);
} 


function makeUrlVar_2008(x,y){ 

		//urlVar = "http://www.mssmtv.org/player/player.php?id=" + y; 
		//alert(urlVar);
		//changes urlVar = "http://www.mssmtv.org/player/tcf_player1.php?id=" + y;
		
		urlVar = "http://mssmtv.org/player/ccc_player2008.php?id=" + y; 
 				openUrl(urlVar,675,520);
} 

// function makeUrlVar(x,y){ 
// 		//urlVar = "http://www.mssmtv.org/player/player.php?id=" + y; 
// 		//alert(urlVar);
// 		//changes urlVar = "http://www.mssmtv.org/player/ccc_player.php?id=" + y;
//    	
// 		urlVar = "http://mssmtv.org/player/player.php?id=" + y; 
// 				openUrl(urlVar,675,520);
// } 
