/* ------------------------------------------------------------ */
// Location: activate.php vs. activatemovie.tpl
// Function: request for Brightcove id to insert when activating movie by ccode

function activateCC(){
	var BCID = prompt('Brightcove Id: ','');
	if (BCID){
		document.getElementById('txtbcid').value = BCID;
		document.getElementById('frmactivatecc').submit();
	}
}
/* ------------------------------------------------------------ */
// Location: Userloginslide.tpl
// Function: Switching the "create account" and "login" containers

function doRegister()
{
	document.getElementById('userform').style.display = 'none';
	document.getElementById('registerform').style.display = 'block';
}
function dontRegister()
{
	document.getElementById('userform').style.display = 'block';
	document.getElementById('registerform').style.display = 'none';
}
function facebook_onlogin()
{
	
}
/* ------------------------------------------------------------ */
/*	show a thin border around the top search form when you hover
/* ------------------------------------------------------------ */
function searchOver(){
		document.getElementById('search_top_text').style.border = "1px solid #DDD";
	}
function searchOut(){
	document.getElementById('search_top_text').style.border = "1px solid #F8F8F8";
}
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
function turndownlights()
{
	document.getElementById('lightscreen').style.display = 'block';
	document.getElementById('onswitch').style.position = 'relative';
	document.getElementById('onswitch').style.display = 'block';
	document.getElementById('offswitch').style.display = 'none';
}
function turnuplights()
{
	document.getElementById('lightscreen').style.display = 'none';
	document.getElementById('onswitch').style.display = 'none';
	document.getElementById('offswitch').style.display = 'inline';
}

<!-- Acudeo companion banner loader script -->
function displayCompanionBanners(banners) {
   tmDisplayBanner(banners, "adCompanionBanner", 300, 250);
}

<!-- Display movie player, hide loader -->
function showPlayer(){
	// fade mov_loader out
	//document.getElementById('mov_loader').style.display = 'none';
	//document.getElementById('mov_movie').style.display = 'block';
}
