
function open_register_pop( link )
{
	var pop = window.open( link, 'register', 'scrollbars=no, status=no, location=no, toolbar=no, width=800, height=604');
  	!pop ? alert('Please disable your popup blocker and try again.') : '';
}
        
function open_credits( page )
{
	var scroll = "yes";
	switch( page )
	{
		case "film_credits":
	  		var link = "credits/filmcredits.html";
			scroll = "no";
			break;
		case "privacy_policy":
	  		var link = "http://www.paramountmovies.com/legal/privacypolicy.php?bgcolor=ced6d7&linkcolor=33456F&fontcolor=16191f";
	  		break;
		case "terms_use":
		  	var link = "http://www.paramountmovies.com/legal/termsofuse.php?bgcolor=ced6d7&linkcolor=33456F&fontcolor=16191f";
		  	break;
	}
	
	var pop = window.open( link, 'register', 'width=930, height=459, scrollbars=' + scroll );
  	!pop ? alert('Please disable your popup blocker and try again.') : '';
}


function open_page(link)
{
	  var pop = window.open( link, 'open_page', '' );
	  !pop ? alert('Please disable your popup blocker and try again.') : '';
}

function open_icon_pop(img)
{
	var pop = window.open('icons_instructions.html?img=' + img, 'icon', 'scrollbars=no, status=no, location=no, toolbar=no, width=600, height=400');
  !pop ? alert('Please disable your popup blocker and try again.') : '';
}

function open_wallpaper_pop(img)
{
  var pop = window.open('wallpaper_instructions.html?img=' + img, 'wallpaper', 'scrollbars=no, status=no, location=no, toolbar=no, width=970, height=600');
  !pop ? alert('Please disable your popup blocker and try again.') : '';
}