$(document).ready (function()
{
	loadAjaxContent('/user/?mode=login&'+Math.round(Math.random()*10000000), 'loginPlace');
});

function _chactionpg()
{
	formoptiopn = document.getElementById('oppg');
	if (formoptiopn.options[formoptiopn.selectedIndex].value)
	{
		if (formoptiopn.options[formoptiopn.selectedIndex].value != '')
			document.location = formoptiopn.options[formoptiopn.selectedIndex].value
	}
}

function _chactionpg2()
{
	formoptiopn2 = document.getElementById('oppg2');
	if (formoptiopn2.options[formoptiopn2.selectedIndex].value)
	{
		if (formoptiopn2.options[formoptiopn2.selectedIndex].value != '')
			document.location = formoptiopn2.options[formoptiopn2.selectedIndex].value
	}
}

function _chaction()
{
	formoptiopn = document.getElementById('optd');
	if (formoptiopn.options[formoptiopn.selectedIndex].value)
	{
		if (formoptiopn.options[formoptiopn.selectedIndex].value != '')
			document.location = formoptiopn.options[formoptiopn.selectedIndex].value
	}
}
function chactionpg(elem)
{
	document.location.href = elem.options[elem.selectedIndex].value;
}
