function kps()
{
var output ="<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#660000\">"+
  "<tr>"+ 
    "<td width=\"25\" rowspan=\"2\" class=\"black-td\">#</td>"+
    "<td rowspan=\"2\" class=\"black-td\">Keyword</td>"+
    "<td colspan=\"2\" class=\"black-td\">Google</td>"+
    "<td colspan=\"2\" class=\"black-td\">Yahoo!</td>"+
    "<td colspan=\"2\" class=\"black-td\">MSN</td>"+
    "<td colspan=\"3\" class=\"black-td\">InURL</td>"+
    "<td colspan=\"3\" class=\"black-td\">InTitle</td>"+
    "<td colspan=\"5\" class=\"black-td\">NicheBot</td>"+
    "<td colspan=\"2\" class=\"black-td\">SEOChat</td>"+
  "</tr>"+
  "<tr>"+ 
    "<td width=\"25\" class=\"black-td\">&nbsp\;</td>"+
    "<td width=\"25\" class=\"black-td\">&quot\; &quot\;</td>"+
    "<td width=\"25\" class=\"black-td\">&nbsp\;</td>"+
    "<td width=\"25\" class=\"black-td\">&quot\; &quot\;</td>"+
    "<td width=\"25\" class=\"black-td\">&nbsp\;</td>"+
    "<td width=\"25\" class=\"black-td\">&quot\; &quot\;</td>"+
    "<td width=\"25\" class=\"black-td\">G</td>"+
    "<td width=\"25\" class=\"black-td\">Y</td>"+
    "<td width=\"25\" class=\"black-td\">M</td>"+
    "<td width=\"25\" class=\"black-td\">G</td>"+
    "<td width=\"25\" class=\"black-td\">Y</td>"+
    "<td width=\"25\" class=\"black-td\">M</td>"+
    "<td width=\"25\" class=\"black-td\">KD</td>"+
    "<td width=\"25\" class=\"black-td\">WT</td>"+
    "<td width=\"25\" class=\"black-td\">Ot</td>"+
    "<td width=\"25\" class=\"black-td\">Th</td>"+
    "<td width=\"25\" class=\"black-td\">KA</td>"+
    "<td width=\"25\" class=\"black-td\">Rel</td>"+
    "<td width=\"25\" class=\"black-td\">PR</td>"+
  "</tr>";
  
  //Head-Ends
  
var words=inputform.inputdata.value.split("\n");
//var plusword;
for (var i=0; i<words.length; i++)
{
output += "<tr><td>" + (i+1) + "</td> <td class=\"left-td\">";
output += words[i].replace(/ /g, "+");
output += "</td><td class=\"efefef-td\">";
//(1)G
output += "<a href=\"http://www.google.com/search?q="+words[i].replace(/ /g, "+")+"&gl=US\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">";
//(2)G""
output +="<a href=\"http://www.google.com/search?q=%22"+words[i].replace(/ /g, "+")+"%22&gl=US\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(3)Y
output +="<a href=\"http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(4)Y""
output +="<a href=\"http://search.yahoo.com/search?p=%22"+words[i].replace(/ /g, "+")+"%22&prssweb=Search&ei=UTF-8&fr=sfp&x=wrt\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">";
//(5)M
output +="<a href=\"http://search.msn.com/results.aspx?q="+words[i].replace(/ /g, "+")+"&FORM=QBHP\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">";
//(6)M""
output +="<a href=\"http://search.msn.com/results.aspx?q=%22"+words[i].replace(/ /g, "+")+"%22&FORM=QBRE\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(7)InURL G
output +="<a href=\"http://www.google.com/search?hl=en&lr=&q=inurl%3A"+words[i].replace(/ /g, "+")+"&btnG=Search\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(8)InURL Y
output +="<a href=\"http://search.yahoo.com/search?ei=UTF-8&fr=sfp&p=inurl%3A"+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(9)InURL M
output +="<a href=\"http://search.msn.com/results.aspx?q=inurl%3A%22"+words[i].replace(/ /g, "+")+"%22&FORM=QBRE\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">";
//(10)InTitle G
output +="<a href=\"http://www.google.com/search?hl=en&lr=&q=intitle%3A%22"+words[i].replace(/ /g, "+")+"%22&btnG=Search\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>"; 
output += "</td><td class=\"efefef-td\">";
//(11)InTitle Y
output +="<a href=\"http://search.yahoo.com/search?p=intitle%3A"+words[i].replace(/ /g, "+")+"&prssweb=Search&ei=UTF-8&fr=sfp&x=wrt\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">";
//(12)InTitle M
output +="<a href=\"http://search.msn.com/results.aspx?q=intitle%3A%22"+words[i].replace(/ /g, "+")+"%22&FORM=QBRE\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(13)KD
output +="<a href=\"http://www.nichebotclassic.com/?term="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(14)WT
output +="<a href=\"http://www.nichebotclassic.com/wt/?term="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(15)Ot
output +="<a href=\"http://www.nichebotclassic.com/o/?term="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(16)Th
output +="<a href=\"http://www.nichebotclassic.com/thesaurus/?term="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td>";
//(17)KA
output +="<a href=\"http://www.nichebotclassic.com/analysis/?term="+words[i].replace(/ /g, "+")+"\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">"; 
//(18)Rel
output +="<a href=\"http://www.seochat.com/?tool=7&option=com_seotools&hl=en&ie=UTF-8&oe=UTF-8&q="+words[i].replace(/ /g, "+")+"&result_mode=standard&num=10\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td><td class=\"efefef-td\">"; 
//(19)PR
output +="<a href=\"http://www.seochat.com/?tool=7&option=com_seotools&hl=en&lr=&ie=UTF-8&oe=UTF-8&q="+words[i].replace(/ /g, "+")+"&result_mode=pagerank&num=10&btnG=+++Search+++\""+" onClick=\"window.status=' '\; return true\;\" target=\"main\">Go</a>";
output += "</td></tr>";
}
output += "</table>";
document.getElementById('result').innerHTML = output;
}

