function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}

function resizeLogin(w, h)
{
  $('.qtip-login').animate({width: w+60+'px', height: h+10+'px'},400);
  $('.qtip-login .qtip-contentWrapper').animate({width: w+58+'px', height: h+10+'px'},400); 
  $('.qtip-login .qtip-content').width(w+58+'px');
  $('.qtip-login .qtip-content').height(h+10+'px');
  $('#log-in').height(h+'px');
  $('#log-in').width(w+'px');
}