// JavaScript Document

function openpopup(url){

	newwindow=window.open(url,'name','height=320,width=578');
	if (window.focus) {newwindow.focus()}
	return false;

	}
function closepopup(){
	window.close()
	}
function openplayer(url){

	newwindow=window.open(url,'name','height=550,width=670');
	if (window.focus) {newwindow.focus()}
	return false;

	}
	
	
	function openplayer1(url){

	newwindow=window.open(url,'name','height=625,width=800');
	if (window.focus) {newwindow.focus()}
	return false;

	}
	
function openForgot(){
	document.getElementById("forgotpswd").style.display="block";
	}
function closeForgot(){
	document.getElementById("forgotpswd").style.display="none";
	}
	
var hasLoginError = false;

function openlogin(){
    hasLoginError = false;
    $('#loginError').hide();
	document.getElementById("loginbox").style.display="block";
	}
function closelogin(){
	document.getElementById("loginbox").style.display="none";
	}

function showLoginError() {
    hasLoginError = true;
    $('#loginError').show();
}
