// **************************************************************************************
// www.grid-iron.org
// --------------------------------------------------------------------------------------
// registerform.js
//
// [ Javascript used on registration form ]
// last update : 22.02.2008
//
// + 20.02.2008 - File brought to life
// --------------------------------------------------------------------------------------
// (c)2008 www.grid-iron.org
// **************************************************************************************

function doRegister()
{
	document.register_form.do_register.value = 1;
	document.register_form.submit();
}

function displayUserhelp()
{
	document.getElementById('username').style.color = '#000000';
	document.getElementById('username').style.fontWeight = 100;
	document.getElementById('baloon_username').style.display = 'block';
	//document.getElementById('baloon_username').style.top = ""  + (document.getElementById('username').offsetTop - 25) + "px";
}
function hideUserhelp()
{
	document.getElementById('baloon_username').style.display = 'none';
}

function displayEmailhelp()
{
	document.getElementById('email').style.color = '#000000';
	document.getElementById('email').style.fontWeight = 100;
	document.getElementById('baloon_email').style.display = 'block';
	//document.getElementById('baloon_email').style.top = ""  + (document.getElementById('email').offsetTop - 25) + "px";
}
function hideEmailhelp()
{
	document.getElementById('baloon_email').style.display = 'none';
}

function displayConfirmemailhelp()
{
	document.getElementById('confirmemail').style.color = '#000000';
	document.getElementById('confirmemail').style.fontWeight = 100;
}

function displayConfirmpasswordhelp()
{
	document.getElementById('confirmpassword').style.color = '#000000';
	document.getElementById('confirmpassword').style.fontWeight = 100;
}

function displayTeamnamehelp()
{
	document.getElementById('teamname').style.color = '#000000';
	document.getElementById('teamname').style.fontWeight = 100;
	document.getElementById('baloon_teamname').style.display = 'block';
	//document.getElementById('baloon_teamname').style.top = ""  + (document.getElementById('teamname').offsetTop - 25) + "px";
}
function hideTeamnamehelp()
{
	
	document.getElementById('baloon_teamname').style.display = 'none';
}

function displayTeamshortnamehelp()
{
	document.getElementById('short_teamname').style.color = '#000000';
	document.getElementById('short_teamname').style.fontWeight = 100;
	
	document.getElementById('baloon_teamshortname').style.display = 'block';
	//document.getElementById('baloon_teamshortname').style.top = ""  + (document.getElementById('short_teamname').offsetTop - 25) + "px";
}
function hideTeamshortnamehelp()
{
	document.getElementById('baloon_teamshortname').style.display = 'none';
}

function displayStadiumhelp()
{
	document.getElementById('stadium_name').style.color = '#000000';
	document.getElementById('stadium_name').style.fontWeight = 100;
	
	document.getElementById('baloon_stadiumname').style.display = 'block';
	//document.getElementById('baloon_stadiumname').style.top = ""  + (document.getElementById('stadium_name').offsetTop - 25) + "px";
}
function hideStadiumhelp()
{
	document.getElementById('baloon_stadiumname').style.display = 'none';
}

function displayCountryhelp()
{
	document.getElementById('baloon_country').style.display = 'block';
	//document.getElementById('baloon_country').style.top = ""  + (document.getElementById('cnt_select').offsetTop - 100) + "px";
}
function hideCountryhelp()
{
	
	document.getElementById('baloon_country').style.display = 'none';
}

function submitForm()
{
	document.getElementById('register_form').do_register.value = 1;
	document.getElementById('register_form').submit();
}
