txt_url = document.location.href;
str_url = txt_url.split("/");
//document.write(str_url[4]);
str_txt = "<div align=center><div align=left style='width:93%'>"
str_txt = str_txt + "<table border=1 cellpadding=2 cellspacing=1 width='100%' style='border:3px #AF4607 solid;background-color:#F7EEE8'>"
str_txt = str_txt + "<tr valign=top><td style='border:1px #FFF2D2 solid'>";
str_txt = str_txt + "<form action='http://www.studentsinindia.com/posting.php' target='_blank' method='post' name='InputForm'>";
str_txt = str_txt + "<table border=0 cellpadding=5 cellspacing=0 align=center width=97%>";
str_txt = str_txt + "<tr valign=top><td colspan=4 style='font-family:Arial, Helvetica, sans-serif;font-size:18px;color:#34312F;font-weight:bold;padding-top:7px;' align=left>Post a query related to this topic?</td></tr>";
str_txt = str_txt + "<tr valign=top><td style='font-family:Arial, Helvetica, sans-serif;font-size:13px;color:#000000;font-weight:lighter;'>Enter Valid Email ID :</td> "
str_txt = str_txt + "<td> <input type='text' name='emailid' id='emailid' style='color:#000000;background: #F8E9CC;border: 1px solid #781351'><input type='hidden' name='subcat' value='" + txt_url + "'></td>";
str_txt = str_txt + "<td style='font-family:Arial, Helvetica, sans-serif;font-size:13px;color:#000000;font-weight:lighter;'>Location: <span style='font-family:Arial, Helvetica, sans-serif;font-size:11px;color:#92908C;font-weight:lighter;'>Which city do you live in?</span></td> "
str_txt = str_txt + "<td> <input type='text' name='txt_location' id='txt_location' style='color:#000000;background: #F8E9CC;border: 1px solid #781351'></td></tr>";
str_txt = str_txt + "<tr valign=top><td style='font-family:Arial, Helvetica, sans-serif;font-size:13px;color:#000000;font-weight:lighter;'>Subject: </td>";
str_txt = str_txt + "<td align=left colspan=3><input type='text' name='subject' id='subject' maxlength='255' size='75' style='color: #000000;background: #F8E9CC;border: 1px solid #781351'></td></tr>"
str_txt = str_txt + "<tr valign=top><td colspan=4 style='font-family:Arial, Helvetica, sans-serif;font-size:13px;color:#000000;font-weight:lighter;'>Message: <span style='font-family:Arial, Helvetica, sans-serif;font-size:11px;color:#92908C;font-weight:lighter;'>(Max 600 Characters)</span> ";
str_txt = str_txt + "<br><textarea rows='5' cols='70' id='msg' name='description' onkeypress='javascript:typed_char();' style='color: #000000;background: #F8E9CC;border: 1px solid #781351'></textarea><div id='dv1'>&nbsp;</div></td></tr>";
str_txt = str_txt + "<tr valign=top><td align=right colspan=2><input type='submit' name='topics' value='Submit' style='color:#FFFFFF;background: #584108;border: 2px outset #d7b9c9'></td>";
str_txt = str_txt + "<td align=right colspan=2><span style='color:#5B461B;font-size:14px;font-weight:bold;'>&#187; </span> <a href='http://www.studentsinindia.com/posting.php?url=" + txt_url + "' target='_blank' style='font-weight:bold;text-decoration:underline;color:#59430C;' title='Discuss with Friends about this Article'>Discuss with Friends about this Article</a> </td></tr>";
str_txt = str_txt + "</table></form>";
str_txt = str_txt + "</td></tr></table>";
str_txt = str_txt + "</div></div><hr size=1>";
document.write (str_txt);
function typed_char()
	{
		str_text = document.getElementById("msg").value
		document.getElementById("dv1").innerHTML = "<span style='color:#ff0000;font-size:10px'> Typed Characters - " + str_text.length + "</span>"
	}
