1 function openid_signin(provider)
3 if (provider == 'google') {
4 document.forms[0].user_openid_url.value="gmail.com";
5 document.forms[0].submit();
6 } else if (provider == 'yahoo') {
7 document.forms[0].user_openid_url.value="yahoo.com";
8 document.forms[0].submit();
9 } else if (provider == 'myopenid') {
10 document.forms[0].user_openid_url.value="myopenid.com";
11 document.forms[0].submit();
12 } else if (provider == 'wordpress') {
13 document.forms[0].user_openid_url.value="wordpress.com";
14 document.forms[0].submit();
15 } else if (provider == 'myspace') {
16 document.forms[0].user_openid_url.value="myspace.com";
17 document.forms[0].submit();
18 } else if (provider == 'openid') {
19 document.forms[0].user_openid_url.value="http://";
24 function unhideopenID() {
25 document.getElementById("openID_row-1").style.display = "";
26 document.getElementById("openID_row-2").style.display = "";