function openFLBillingWindow() {
	$('login_billing_window_iframe').set('src',
		'service.php?a=form_flBilling&phone=8913');

	$('login_billing_window').style.display = 'block';
	login_billing_sticky_win = new StickyWin.Fx({
		content: $('login_billing_window'),
		draggable: true,
		dragHandleSelector: 'div.login_billing_window_drag_handle',
		zIndex: 100000,
		fadeDuration: 500
	});

	login_billing_sticky_win.pin();
}

function validateSMSCode(successHref){
	var prefix = $('prefix').get('value');
	var check_number_request = new Request({
		url: 'service.php',
		data: {
			a: 'checkSMSPass',
			prefix: prefix,
			code: $('code').get('value'),
			phone: $('phone').get('value'),
			access: $('access').get('value')
		},
		method: 'post',
		noCache: true,
		onSuccess: function(responseText, responseXML) {
			eval("var a = "+responseText+";");
			if(a.success == true){
				if(successHref){
					if(prefix=='P91905')
						parent.location.href = successHref;
					else
						location.href = successHref;
				}
			} else
				$("billing_message_div").set("html", a.errormsg);
		}
	});
	check_number_request.send();	
}

