
// 	Author: Joju John	
// 	$Date: 2007-08-22 	
<!-- 	Modified: 	 -->
<!-- 	$Date: 	 -->

// 10 sec DELAY ....to show manglish_keyboard
var timer_manglish_delay_show_id =0; // timer to show manglish key pattern for ref
function show_manglish_keyboard()
{
    manglish_key__page();
    timer_manglish_delay_show_id  = 0;
}

function manglish_delay_timer_stop() {
   if(timer_manglish_delay_show_id) {
      clearTimeout(timer_manglish_delay_show_id);
      timer_manglish_delay_show_id  = 0;
   }
}
function manglish_delay_timer_start() {
  
   timer_manglish_delay_show_id = setTimeout("show_manglish_keyboard()", 30000);
}

function manglish_delay_timer_restart() {
   if(timer_manglish_delay_show_id) {
      manglish_delay_timer_stop();
      timer_manglish_delay_show_id = setTimeout("show_manglish_keyboard()", 10000);
   }
}




function manglish_key__page(){

   document.getElementById("txtHint").innerHTML="<p><img border=\"0\" src=\"manglish-key.jpg\"></p>"
 
}



function change_name_span()
{
document.getElementById("txtCount").innerHTML="<table class=\"bot\" border=\"1\" width=\"100%\" style=\"font-size:80%;padding:0 0 4px\" id=\"AutoNumber1\">      <tr>        <td width=\"8%\">&nbsp;</td>        <td width=\"65%\">May I know your name</td>        <td width=\"17%\">&nbsp;</td>        <td width=\"10%\">&nbsp;</td>      </tr>      <tr>        <td width=\"8%\">&nbsp;</td>        <td width=\"65%\"><input type=\"text\" name=\"user_name_box\"  id=\"user_name_id\"  size=\"42\"></td>        <td width=\"17%\" align=\"center\">        <input type=\"button\" value=\"  OK  \" name=\"name_ok\" onclick=\"find_counter(); return false;\"></td>        <td width=\"10%\">&nbsp;</td>      </tr>      <tr>        <td width=\"8%\">&nbsp;</td>        <td width=\"65%\">&nbsp;</td>        <td width=\"17%\">&nbsp;</td>        <td width=\"10%\">&nbsp;</td>      </tr>          </table>"
}


function pr_show_submit()
{
   document.getElementById("pr_report_span").innerHTML= "&nbsp;&nbsp;      May I know what is your expectation?       <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber5\">         <tr>          <td width=\"3%\">&nbsp;</td>          <td width=\"95%\" rowspan=\"3\" colspan=\"2\">            <textarea rows=\"3\" name=\"pr_expect\" id=\"pr_expect_id\" cols=\"50\"></textarea>          </td>          <td width=\"2%\">&nbsp;</td>         </tr>        <tr>         <td width=\"3%\">&nbsp;</td>         <td width=\"2%\">&nbsp;</td>        </tr>      <tr>         <td width=\"3%\">&nbsp;</td>         <td width=\"2%\">&nbsp;</td>        </tr>        <tr>         <td width=\"3%\">&nbsp;</td>         <td width=\"64%\">Email <input type=\"text\" name=\"pr_email\" id=\"pr_email_id\" size=\"30\"></td>         <td width=\"31%\"><input type=\"button\" value=\"Submit\" name=\"pr_submit_but\" onclick=\"pr_submit_button();return false;\"><input type=\"button\" value=\"Cancel\" name=\"pr_cancel_but\" onclick=\"pr_cancel_button();return false;\"></td> <td width=\"2%\">&nbsp;</td>  </tr></table><br>";
}

function pr_hide_submit()
{
   document.getElementById("pr_report_span").innerHTML= "";
}

