Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.94 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html lang="en" class="dj_webkit dj_chrome dj_contentbox"><head><meta charset="utf-8">
  3. <link href="www.css" rel="stylesheet" title="www" type="text/css">
  4. <link href="dw-mf.css" media="screen,projection" rel="stylesheet" title="www" type="text/css"/>
  5. <link href="dw-mf-minimal-N.css" media="screen,projection" rel="stylesheet" title="www" type="text/css"/>
  6. <link href="dwwi-v17.css" media="screen,projection" rel="stylesheet" title="www" type="text/css"/>
  7. <script type="text/javascript" src="www.js">//</script>
  8. <script type="text/javascript" src="dw-www.js">//</script>
  9. <script type="text/javascript" src="prototype.js"></script>
  10. <script type="text/javascript">
  11. function removetempfunction () {
  12. var whichindex = document.getElementById('SecurityQues').selectedIndex;
  13. if (whichindex == 6) {
  14. document.getElementById('customquestioncontainer').style.display = 'block';
  15. document.getElementById('custom_question').value='';
  16. }
  17. else {
  18. document.getElementById('customquestioncontainer').style.display = 'none';
  19. }
  20. }
  21. </script>
  22. <title>developerWorks registration</title>
  23. <script type="text/javascript">
  24. function checkEmail(emailAddress){
  25. var Teamvalue = document.getElementById(emailAddress).value;
  26. var vpreLang = 'en_US';
  27. var vlang= "&lang=" + vpreLang;
  28. var sb = "email="+ Teamvalue + vlang;
  29. //sb = sb + "teamname=" + encodeURIComponent(Teamvalue.replace(/^\s+/g, '').replace(/\s+$/g, ''))+"&";
  30. var result=false;
  31. if(Teamvalue != null && Teamvalue != ''){
  32. new Ajax.Request('testPage.htm?',
  33. {parameters:sb,
  34. evalScripts:false,
  35. asynchronous:false,
  36. encoding:'UTF-8',
  37. onSuccess: function(t) {
  38. var json = eval( "(" + t.responseText + ")" );
  39. result = true;
  40. if(json.result=='true') {
  41. document.getElementById('userid_valid').style.display = 'none';
  42. document.getElementById('userid_invalid').style.display = 'inline';
  43. document.getElementById('userid_invalid').innerHTML=json.message;
  44. result = true;
  45. }
  46. }, onFailure:function(t) {
  47. alert('onFail: ' + t.statusText);
  48. }
  49. });
  50. }
  51. return result;
  52. }
  53. function checkDisplayname(displayName){
  54. var Teamvalue = document.getElementById(displayName).value;
  55. var vpreLang = 'en_US';
  56. var vlang= "&lang=" + vpreLang;
  57. var sb = "displayname="+ Teamvalue + vlang;
  58. //sb = sb + "teamname=" + encodeURIComponent(Teamvalue.replace(/^\s+/g, '').replace(/\s+$/g, ''))+"&";
  59. var displayNamePat = "^([A-Za-z0-9@._-]+)$";
  60. var matchArray = Teamvalue.match(displayNamePat);
  61. var result=false;
  62. if( (Teamvalue == null) || (Teamvalue != null && Teamvalue.length < 3) || (matchArray == null)){
  63. document.getElementById('alias_valid').style.display = 'none';
  64. document.getElementById('alias_invalid').style.display = 'inline';
  65. document.getElementById('alias_invalid').innerHTML='This display name is not valid. Please choose another.';
  66. result = true;
  67. return result;
  68. }
  69. if(Teamvalue != null && Teamvalue != ''){
  70. new Ajax.Request('testPage.htm?',
  71. {parameters:sb,
  72. evalScripts:false,
  73. asynchronous:false,
  74. encoding:'UTF-8',
  75. onSuccess: function(t) {
  76. var json = eval( "(" + t.responseText + ")" );
  77. result = true;
  78. if(json.result=='true') {
  79. document.getElementById('alias_valid').style.display = 'none';
  80. document.getElementById('alias_invalid').style.display = 'inline';
  81. document.getElementById('alias_invalid').innerHTML='This display name is taken. Please choose another.';
  82. result = true;
  83. }
  84. }, onFailure:function(t) {
  85. alert('onFail: ' + t.statusText);
  86. }
  87. });
  88. }
  89. return result;
  90. }
  91. function validatePassword() {
  92. var passwd = document.forms['register'].Password.value;
  93. var min_passwd_len = 8;
  94. var max_passwd_len = 31;
  95. if((passwd != null) && (passwd.length < min_passwd_len)){
  96. document.getElementById('password_valid').style.display = 'none';
  97. document.getElementById('password_invalid').style.display = 'inline';
  98. return "";
  99. }else if(passwd.length > max_passwd_len){
  100. document.getElementById('password_valid').style.display = 'none';
  101. document.getElementById('password_invalid').style.display = 'inline';
  102. return "";
  103. }
  104. var passwdPat= "^([A-Za-z0-9@._-]+)$";
  105. var matchArray=passwd.match(passwdPat);
  106. if (matchArray == null) {
  107. document.getElementById('password_valid').style.display = 'none';
  108. document.getElementById('password_invalid').style.display = 'inline';
  109.  
  110. }else{
  111. document.getElementById('password_invalid').style.display = 'none';
  112. document.getElementById('password_valid').style.display = 'inline';
  113. }
  114. }
  115. function validateRePassword() {
  116. var passwd = document.forms['register'].Password.value;
  117. var re_passwd = document.forms['register'].RePassword.value;
  118. var min_passwd_len = 8;
  119. var max_passwd_len = 31;
  120. if((re_passwd != null) && (re_passwd.length < min_passwd_len)){
  121. document.getElementById('repassword_valid').style.display = 'none';
  122. document.getElementById('repassword_invalid').style.display = 'inline';
  123. document.getElementById('repassword_mismatch').style.display = 'none';
  124. return "";
  125. }else if(re_passwd.length > max_passwd_len){
  126. document.getElementById('repassword_valid').style.display = 'none';
  127. document.getElementById('repassword_invalid').style.display = 'inline';
  128. document.getElementById('repassword_mismatch').style.display = 'none';
  129. return "";
  130. }
  131. var passwdPat= "^([A-Za-z0-9@._-]+)$";
  132. var matchArray=re_passwd.match(passwdPat);
  133. if (matchArray == null) {
  134. document.getElementById('repassword_valid').style.display = 'none';
  135. document.getElementById('repassword_invalid').style.display = 'inline';
  136. document.getElementById('repassword_mismatch').style.display = 'none';
  137. return "";
  138. }else if(re_passwd != passwd){
  139. document.getElementById('repassword_invalid').style.display = 'none';
  140. document.getElementById('repassword_valid').style.display = 'none';
  141. document.getElementById('repassword_mismatch').style.display = 'inline';
  142. }else{
  143. document.getElementById('repassword_invalid').style.display = 'none';
  144. document.getElementById('repassword_mismatch').style.display = 'none';
  145. document.getElementById('repassword_valid').style.display = 'inline';
  146. }
  147. }
  148. function assignSubmit(){
  149. document.getElementById('action').value = 'registerandtake';
  150. var isValid = "true";
  151. return isValid;
  152. }
  153. function isValidDisplay(){
  154. var alias = document.forms['register'].alias.value;
  155. var isValid = "true";
  156. if( (alias.indexOf("<") != -1) || (alias.indexOf(">") != -1) || (alias.indexOf(";") != -1) ||
  157. (alias.indexOf(",") != -1) || (alias.indexOf("\"") != -1) || (alias.indexOf("'") != -1)){
  158. isValid = "false";
  159. }
  160. return isValid;
  161. }
  162. function validateDisplayName() {
  163. var alias = document.forms['register'].alias.value;
  164. var min_passwd_len = 3;
  165. var max_passwd_len = 31;
  166. var isValid = isValidDisplay();
  167. if((alias != null) && (alias.length < min_passwd_len)){
  168. document.getElementById('alias_valid').style.display = 'none';
  169. document.getElementById('alias_invalid').style.display = 'inline';
  170. }else if(alias.length > max_passwd_len){
  171. document.getElementById('alias_valid').style.display = 'none';
  172. document.getElementById('alias_invalid').style.display = 'inline';
  173. }else if(isValid == "false"){
  174. document.getElementById('alias_valid').style.display = 'none';
  175. document.getElementById('alias_invalid').style.display = 'inline';
  176. }else{
  177. document.getElementById('alias_invalid').style.display = 'none';
  178. document.getElementById('alias_valid').style.display = 'inline';
  179. }
  180. }
  181. function validateUserID() {
  182. var emailStr = document.forms['register'].emailAddress.value;
  183. document.getElementById('userid_invalid').innerHTML='This is not a valid email address.';
  184. var min_passwd_len = 3;
  185. var max_passwd_len = 80;
  186. if((emailStr != null) && (emailStr.length < min_passwd_len)){
  187. document.getElementById('userid_valid').style.display = 'none';
  188. document.getElementById('userid_invalid').style.display = 'inline';
  189. return "";
  190. }else if(emailStr.length > max_passwd_len){
  191. document.getElementById('userid_valid').style.display = 'none';
  192. document.getElementById('userid_invalid').style.display = 'inline';
  193. return "";
  194. }
  195. emailStr = emailStr.replace("[" , "");
  196. emailStr = emailStr.replace("]" , "");
  197. //var emailPat=/^(.+)@(.+)$/;
  198. var emailPat="^([A-Za-z0-9!#$%&'+-./=?^_`{|}~]+)@([A-Za-z0-9!#$%&'+-./=?^_`{|}~]+)[.]([A-Za-z0-9!#$%&'+-/=?^_`{|}~]{2,4})$";
  199. var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";
  200. var validChars="\[^\\s" + specialChars + "\]";
  201. var quotedUser="(\"[^\"]*\")";
  202. var atom=validChars + '+';
  203. var word="(" + atom + "|" + quotedUser + ")";
  204. var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
  205. var domainPat=new RegExp("^" + atom + "(\\." + atom + ")*$");
  206. var matchArray=emailStr.match(emailPat);
  207. if (matchArray == null) {
  208. document.getElementById('userid_valid').style.display = 'none';
  209. document.getElementById('userid_invalid').style.display = 'inline';
  210. return "";
  211. }else{
  212. var user=matchArray[1];
  213. var domain=matchArray[2];
  214. if (user.match(userPat) == null) {
  215. document.getElementById('userid_valid').style.display = 'none';
  216. document.getElementById('userid_invalid').style.display = 'inline';
  217. return "";
  218. }else{
  219. var domainArray=domain.match(domainPat);
  220. if (domainArray == null) {
  221. document.getElementById('userid_valid').style.display = 'none';
  222. document.getElementById('userid_invalid').style.display = 'inline';
  223. return "";
  224. }else{
  225. document.getElementById('userid_valid').style.display = 'inline';
  226. document.getElementById('userid_invalid').style.display = 'none';
  227. return "";
  228. }
  229. }
  230. }
  231. }
  232. function validateFName()
  233. {
  234. var fname = document.forms['register'].FName.value;
  235. if((fname != "") && hasNumbers(fname)) {
  236. document.getElementById('FName_invalid').style.display = 'inline';
  237. document.getElementById('FName_empty').style.display = 'none';
  238. document.getElementById('FName_nonempty').style.display = 'none';
  239. return "";
  240. }
  241. else if (fname == "")
  242. {
  243. document.getElementById('FName_invalid').style.display = 'none';
  244. document.getElementById('FName_empty').style.display = 'inline';
  245. document.getElementById('FName_nonempty').style.display = 'none';
  246. return "";
  247. }
  248. else if(fname != "" && !hasNumbers(fname))
  249. {
  250. document.getElementById('FName_invalid').style.display = 'none';
  251. document.getElementById('FName_empty').style.display = 'none';
  252. document.getElementById('FName_nonempty').style.display = 'inline';
  253. return "";
  254. }
  255. }
  256.  
  257. function validateLName()
  258. {
  259. var lname = document.forms['register'].LName.value;
  260. if((lname != "") && hasNumbers(lname)) {
  261. document.getElementById('LName_invalid').style.display = 'inline';
  262. document.getElementById('LName_empty').style.display = 'none';
  263. document.getElementById('LName_nonempty').style.display = 'none';
  264. return "";
  265. }
  266. else if(lname != "" && !hasNumbers(lname))
  267. {
  268. document.getElementById('LName_invalid').style.display = 'none';
  269. document.getElementById('LName_empty').style.display = 'none';
  270. document.getElementById('LName_nonempty').style.display = 'none';
  271. return "";
  272. }
  273. else if(lname == "")
  274. {
  275. document.getElementById('LName_invalid').style.display = 'none';
  276. document.getElementById('LName_empty').style.display = 'inline';
  277. document.getElementById('LName_nonempty').style.display = 'none';
  278. return "";
  279. }
  280. }
  281.  
  282. function hasNumbers(t)
  283. {
  284. return /\d/.test(t);
  285. }
  286.  
  287. function validateLanguage(){
  288. var langSelected = document.forms['register'].Language.value;
  289. if(langSelected == ""){
  290. document.getElementById('language_notselected').style.display = 'inline';
  291. }
  292. else{
  293. document.getElementById('language_notselected').style.display = 'none';
  294. document.getElementById('language_selected').style.display = 'none';
  295. }
  296. }
  297.  
  298. function validateCountry(){
  299. var countrySelected = document.forms['register'].CountryOfRes.value;
  300. if(countrySelected == ""){
  301. document.getElementById('country_notselected').style.display = 'inline';
  302. }
  303. else{
  304. document.getElementById('country_notselected').style.display = 'none';
  305. document.getElementById('country_selected').style.display = 'none';
  306. }
  307. }
  308. function validateCity()
  309. {
  310. var cityAnswer = document.forms['register'].City.value;
  311. if(cityAnswer == "" || hasNumbers(cityAnswer))
  312. {
  313. document.getElementById('city_invalid').style.display = 'inline';
  314. }
  315. else{
  316. document.getElementById('city_invalid').style.display = 'none';
  317. document.getElementById('city_valid').style.display = 'none';
  318. }
  319. }
  320.  
  321. function validateSecurityQues()
  322. {
  323. var sqSelected = document.forms['register'].SecurityQues.value;
  324. if(sqSelected == ""){
  325. document.getElementById('sq_notselected').style.display = 'inline';
  326. }
  327. else{
  328. document.getElementById('sq_notselected').style.display = 'none';
  329. document.getElementById('sq_selected').style.display = 'none';
  330. }
  331. }
  332.  
  333. function validateSecurityAns()
  334. {
  335. var sqAnswer = document.forms['register'].SecurityAns.value;
  336. if(sqAnswer == ""){
  337. document.getElementById('sqa_notanswered').style.display = 'inline';
  338. }
  339. else{
  340. document.getElementById('sqa_notanswered').style.display = 'none';
  341. document.getElementById('sqa_answered').style.display = 'none';
  342. }
  343. }
  344.  
  345. </script>
  346. <div id="ibm-top" class="ibm-landing-page ibm-no-scroll">
  347. <img src="ibm_logo_print.png" width="43" height="15" id="ibm-print-masthead" alt="IBM Print" >
  348. </div>
  349. <div id="ibm-masthead" role="banner">
  350. <div id="dw-masthead-top-row">
  351. <ul id="ibm-mast-options-dw" role="toolbar">
  352. <li role="presentation" id="dw-mast-top-4">
  353. </li>
  354. <li role="presentation" id="dw-mast-top-3">
  355. <a href="http://www.ibm.com/">IBM</a>
  356. </li>
  357. </ul>
  358. </div>
  359. <div id="ibm-universal-nav-dw" aria-label="Site map">
  360. <ul id="ibm-unav-links-dw">
  361. <li id="ibm-unav-home-dwlogo">
  362. <a href="http://www.ibm.com/developerworks/"><img src="dwn-dw-wordmark.png" width="225" height="28" alt="developerWorks®"></a>
  363. </li>
  364. </ul>
  365. </div>
  366. </div>
  367. <div id="fdiv" class="ibm-access"></div>
  368. <div id="ibm-access-cntr" role="main"><div id="ibm-leadspace-head" class="ibm-alternate ibm-alternate-5col">
  369. <div id="ibm-leadspace-body">
  370. <h1 class="ibm-small">developerWorks registration</h1>
  371. </div>
  372. </div><div id="ibm-pcon">
  373. <div id="ibm-content">
  374. <div id="ibm-content-body">
  375. <div id="ibm-content-main">
  376. <div class="ibm-columns">
  377. <div class="ibm-col-6-4">
  378. <p>Thank you for registering with IBM developerWorks. To simplify things, you can use the IBM ID and password that you designate below across IBM.</p>
  379. <p>Asterisks (<span class="ibm-required">*</span>) indicate fields required to complete this transaction.</p>
  380. <form method="post" action="developerWorks registration.html" class="ibm-row-form" name="register" id="registerform">
  381. <h2 class="ibm-inner-subhead">Basic registration information</h2>
  382. <div class="ibm-columns">
  383. <div class="ibm-col-2-1">
  384. <p>
  385. <label for="FName">First name:<span class="ibm-required">*</span></label>
  386. <span><input name="FName" id="FName" size="36" type="text" value="" onblur="validateFName();"></span>
  387. <span class="dw-lc-formerror" id="FName_invalid" style="display:none;" >The first name you entered is not valid.</span>
  388. <span class="dw-lc-formerror" id="FName_empty" style="display:none;">Please type in your first name.</span>
  389. <span class="dw-lc-formconfirm" id="FName_nonempty" style="display:none;">&nbsp;</span>
  390. </p>
  391. </div>
  392. <div class="ibm-col-2-1">
  393. <p>
  394. <label for="LName">Last name:<span class="ibm-required">*</span></label>
  395. <span><input name="LName" id="LName" size="36" type="text" value="" onblur="validateLName();"></span>
  396. <span class="dw-lc-formerror" id="LName_invalid" style="display:none;" >The last name you entered is not valid.</span>
  397. <span class="dw-lc-formerror" id="LName_empty" style="display:none;">Please type in your last name.</span>
  398. <span class="dw-lc-formconfirm" id="LName_nonempty" style="display:none;">&nbsp;</span>
  399. </p>
  400. </div>
  401. </div>
  402. <p>
  403. <label for="emailAddress">Email address:<span class="ibm-required">*</span><br>
  404. <span class="ibm-additional-info dw-lc-labeloverride dw-lc-important-adjust ibm-item-note">(This will also be your IBM ID for signing in)</span></label>
  405. <span><input name="UserID" id="emailAddress" size="42" type="text" value="" onblur="validateUserID();" onBlur="checkEmail(&#39;emailAddress&#39;);"></span>
  406. <span class="dw-lc-formerror" id="userid_invalid" style="display:none;">This is not a valid email address.</span>
  407. <span class="dw-lc-formconfirm" id="userid_valid" style="display:none;">&nbsp;</span>
  408. </p>
  409. <p>
  410. <label for="Password">Password:<span class="ibm-required">*</span><br> <span class="ibm-additional-info dw-lc-labeloverride dw-lc-important-adjust ibm-item-note">(Must be at least 8 characters)</span></label>
  411. <span> <input name="Password" id="emailAddress" size="42" type="text" value="" onblur="validatePassword();" ></span>
  412. <span class="dw-lc-formerror" id="password_invalid" style="display:none;">The password you entered is not valid.</span>
  413. <span class="dw-lc-formconfirm" id="password_valid" style="display:none;">&nbsp;</span>
  414. </p>
  415. <p>
  416. <label for="RePassword">Verify password:<span class="ibm-required">*</span></label>
  417. <span><input name="RePassword" id="RePassword" size="42" type="password" value="" onblur="validateRePassword();"/></span>
  418. <span class="dw-lc-formerror" id="repassword_mismatch" style="display:none;">The passwords did not match.</span>
  419. <span class="dw-lc-formerror" id="repassword_invalid" style="display:none;">The password you entered is not valid.</span>
  420. <span class="dw-lc-formconfirm" id="repassword_valid" style="display:none;">&nbsp;</span>
  421. </p>
  422. <p>
  423. <label for="alias">Display name:<span class="ibm-required">*</span><br>
  424. <span class="ibm-additional-info dw-lc-labeloverride dw-lc-important-adjust ibm-item-note">(Must be between 3 - 31 characters.
  425. <a class="ibm-feature-link" href="testPage.htm?lang=en_US" onClick="ibmweb.overlay.show(&#39;overlay2&#39;, this);return false;">Tips for choosing display name.</a>)
  426. </span>
  427. </label>
  428. <span><input name="alias" id="alias" size="42" type="text" value="" onKeyUp="validateDisplayName();" onBlur="checkDisplayname(&#39;alias&#39;);"></span>
  429. <span class="dw-lc-formerror" id="alias_invalid" style="display:none;">This display name is not valid. Please choose another.</span>
  430. <span class="dw-lc-formconfirm" id="alias_valid" style="display:none;">&nbsp;</span>
  431. </p>
  432. <div class="ibm-common-overlay" id="overlay2">
  433. <div class="ibm-head">
  434. <p>
  435. <a class="ibm-common-overlay-close" href="testPage.htm?lang=en_US">Close [x]</a>
  436. </p>
  437. </div>
  438. <div class="ibm-body">
  439. <div class="ibm-main">
  440. <a class="ibm-access" id="overlaylink2"></a>
  441. <div class="ibm-title">
  442. <h1>Choose your display name carefully...</h1>
  443. </div>
  444. <div class="ibm-container ibm-alternate">
  445. <div class="ibm-container-body">
  446. <p>Your display name accompanies the content that you post on developerWorks. Other users will recognize and associate your display name with you. Your display name:</p>
  447. <p>
  448. </p><ul>
  449. <li>Easily and publicly identifies you. Samples: brenny, JeffJ, lindameyer, and Michael_OConnell</li>
  450. <li>Should not be your email address (for privacy reasons)</li>
  451. <li>You can change your display name in your profile</li>
  452. </ul>
  453. <p></p>
  454. </div>
  455. </div>
  456. </div>
  457. </div>
  458. <div class="ibm-footer"></div>
  459. </div>
  460. <p>
  461. <label for="countryResidence">Country/region of residence:<span class="ibm-required">*</span><br>
  462. <span class="ibm-additional-info dw-lc-labeloverride dw-lc-important-adjust ibm-item-note">(Required for warranty)</span></label>
  463. <span>
  464. <select name="CountryOfRes" id="countryResidence" onblur="validateCountry();">
  465. <option value ="">Select One</option>
  466. <option value="AF">Afghanistan</option>
  467. <option value="AL">Albania</option>
  468. <option value="DZ">Algeria</option>
  469. <option value="AS">American Samoa</option>
  470. <option value="AD">Andorra</option>
  471. </select>
  472. </span>
  473. <span>
  474. <span class="dw-lc-formerror" id="country_notselected" style="display:none;">Please select a country.</span>
  475. <span class="dw-lc-formconfirm" id="country_selected" style="display:none;">&nbsp;</span>
  476. </span>
  477. </p>
  478. <div class="ibm-columns">
  479. <div class="ibm-col-2-1">
  480. <p>
  481. <label for="City">City:</label>
  482. <span><input name="City" id="City" size="36" type="text" value="" onblur="validateCity();";></span>
  483. <span class="dw-lc-formerror" id="city_invalid" style="display:none;">Please enter a valid city.</span>
  484. <span class="dw-lc-formconfirm" id="city_valid" style="display:none;">&nbsp;</span>
  485. </p>
  486. </div>
  487. <div class="ibm-col-2-1">
  488. <p>
  489. <label for="Language">Language:<span class="ibm-required">*</span></label>
  490. <span>
  491. <select name="Language" id="Language" onblur="validateLanguage();">
  492. <option value="">Select one</option>
  493. <option value="ab-GE">Abkhazian</option>
  494. <option value="aa-ET">Afar</option>
  495. <option value="af-ZA">Afrikaans</option>
  496. <option value="ak-GH">Akan</option>
  497. </select>
  498. </span>
  499. <span>
  500. <span class="dw-lc-formerror" id="language_notselected" style="display:none;">Please select a language.</span>
  501. <span class="dw-lc-formconfirm" id="language_selected" style="display:none;">&nbsp;</span>
  502. </span>
  503. </p>
  504. </div>
  505. </div>
  506. <p>Please select a security question that only you can answer or create your own. Then enter the answer to the question. Occasionally, you may be asked to answer this question to confirm your identity.</p>
  507. <div class="ibm-columns">
  508. <div class="ibm-col-2-1">
  509. <p>
  510. <label for="SecurityQues">Security question:<span class="ibm-required">*</span></label>
  511. <span>
  512. <select name="SecurityQues" id="SecurityQues" onChange="removetempfunction()" onblur="validateSecurityQues();">
  513. <option selected="selected" value="">Select one</option>
  514. <option value="name">What is your mother's maiden name?</option>
  515. <option value="pet">What is the name of your first pet?</option>
  516. <option value="school">What was the name of your first school?</option>
  517. <option value="job">In what city or town was your first job?</option>
  518. <option value="country">In what country were you born?</option>
  519. </select>
  520. </span>
  521. <span>
  522. <span class="dw-lc-formerror" id="sq_notselected" style="display:none;">Please select a question.</span>
  523. <span class="dw-lc-formconfirm" id="sq_selected" style="display:none;">&nbsp;</span>
  524. </span>
  525. </p>
  526. </div>
  527. <div class="ibm-col-2-1">
  528. <p id="customquestioncontainer" style="display:none;">
  529. <label for="custom_question">Place a question in this text field.</label>
  530. <span><input name="custom_question" id="custom_question" size="42" type="text" value=""></span>
  531. </p>
  532. </div>
  533. </div>
  534. <p>
  535. <label for="SecurityAns">Answer to security question:<span class="ibm-required">*</span></label>
  536. <span><input name="SecurityAns" id="SecurityAns" size="42" type="text" value="" onblur="validateSecurityAns();"></span>
  537. <span class="dw-lc-formerror" id="sqa_notanswered" style="display:none;">Please type an answer to your security question.</span>
  538. <span class="dw-lc-formconfirm" id="sqa_answered" style="display:none;">&nbsp;</span>
  539. </p>
  540. <div class="dw-lc-spacevertical">&nbsp;</div>
  541. <h2 class="ibm-alternate-rule">Privacy preferences</h2>
  542. <div id="privacyid">
  543. <p>Please keep me informed of products, services and offerings from IBM companies worldwide.</p>
  544. <p>
  545. <span class="ibm-input-group">
  546. <input id="NC_CHECK_EMAIL" value="0" name="NC_CHECK_EMAIL" type="checkbox">
  547. <label for="NC_CHECK_EMAIL">by email.</label></span><br>
  548. <input id="NC_HIDDEN_EMAIL" value="OPT_IN" name="NC_HIDDEN_EMAIL" type="hidden">
  549. <span class="ibm-input-group">
  550. <input id="NC_CHECK_OTHER" value="4" name="NC_CHECK_OTHER" type="checkbox">
  551. <label for="NC_CHECK_OTHER">by telephone or postal mail.</label></span><br>
  552. <input id="NC_HIDDEN_OTHER" value="OPT_IN" name="NC_HIDDEN_OTHER" type="hidden">
  553. </p>
  554. <p>I accept&nbsp; <a href="testPage.htm" target="_blank">IBM's Privacy statement</a>.</p>
  555. <p>All fields are required to complete this transaction.</p>
  556. </div>
  557. <div class="ibm-alternate-rule"><hr></div>
  558. <p>By selecting the <strong>Register</strong> link, I agree to the developerWorks&nbsp;<a class="ibm-feature-link" href="testPage.htm?lang=en">terms of use</a>.</p>
  559. <div class="ibm-buttons-row">
  560. <p>
  561. <input value="reg" type="hidden" name="m" id="m">
  562. <input value="register" type="hidden" name="action" id="action">
  563. <input value="en_US" type="hidden" name="lang" id="lang">
  564. <input value="http://www.ibm.com/developerworks/topics/" type="hidden" name="d" id="d">
  565. <input value="null" type="hidden" name="tact" id="tact">
  566. <input value="null" type="hidden" name="cmp" id="cmp">
  567. <input id="ibm-submit" name="ibm-submit" class="ibm-btn-arrow-pri" value="Register" type="submit">
  568. <span class="ibm-sep"></span>
  569. <input value="Cancel" type="button" name="ibm-cancel" class="ibm-btn-cancel-sec" onClick="">
  570.  
  571. </p>
  572. </div>
  573. <div class="dw-lc-spacevertical">&nbsp;</div><div class="dw-lc-spacevertical">&nbsp;</div>
  574. </form>
  575. </div>
  576. </div>
  577. </div>
  578. </div>
  579. <div id="ibm-content-sidebar">
  580. <div id="ibm-contact-module">
  581. </div>
  582. <div id="ibm-merchandising-module">
  583. </div>
  584. </div>
  585. <div class="ibm-common-overlay" id="overlay">
  586. <div class="ibm-body">
  587. <div class="ibm-main">
  588. <a class="ibm-access" id="overlaylink1"></a>
  589. <div class="ibm-title">
  590. </div>
  591. </div>
  592. </div>
  593. <div class="ibm-footer"></div>
  594. </div>
  595. </div>
  596. </div></div>
  597. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement