/***************              Tag Board Starts                *****************/
/************tag board called - message board or chaupaal ****/
document.write("<img border=0 src=assets/quickmessage.gif align=center>");
document.write("<br>");



<!-- Dont edit this javascript bit... -->
<!-- Begin
function textCounter(field, countfield, maxlimit) {
   if(field.value.length > maxlimit){
      field.value = field.value.substring(0, maxlimit);
   }
   else{ 
      countfield.value = maxlimit - field.value.length;
   }
}
function cleartagboard() {
    document.tagboard.cjmsg.value="";
}  
function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=250,left = 262,top = 184');");
}
var isNav, isIE
if (parseInt(navigator.appVersion) >= 4) {
  if (navigator.appName == "Netscape")
    isNav = true
  else
    isIE = true
}
function showKeyValue(evt) {
  var keyValue
  if (isNav) 
    keyValue = evt.which
  else
    keyValue = window.event.keyCode
        
  if (keyValue == 13) {
    javascript:document.tagboard.submit();
  }
  return false
}
// End -->

<!-- Change the location of the stylesheet if needs be 	-->
document.write("<link rel=stylesheet href=http://bharatian.com/tagboard/stylesheet.php type=text/css>");

<!-- Change the table "width=100" to change the width of your tag board		-->
<!-- Change the table "height=200" to change the height of your tag board		-->
<!-- Change the border colour or size by editing "border:1 solid #HEXCOLOR"		-->
<!-- For No Border, Delete >>>   style="border: 1 solid #000000"			 	-->

document.write("<table width=130 border=0 bgcolor=#FF9900 style=border: 1 solid #000000>");
document.write("<tr><td>");
document.write("<iframe name=tag border=0 frameborder=0 width=100% height=260 align=center src=http://bharatian.com/tagboard/display.php target=_blank></iframe>");
document.write("</td></tr>");

document.write("<tr><td>");
document.write("<form method=POST action=http://bharatian.com/tagboard/tag.php target=tag name=tagboard>");
document.write("<table width=100% border=0 cellspacing=1>");

document.write("<tr><td>");
document.write("<table border=0 cellspacing=0 width=100% cellpadding=0>");
document.write("<tr>");
document.write("<td width=1%><font class=cjfont><small>Name:</small></FONT></td>");
document.write("</center>");

document.write("<td width=99%>");
document.write("<p align=right><font class=cjfont><small>[</small><A class=cjfont HREF=javascript:cleartagboard()><small>Reset Tag</small></A><small>]</small>");
document.write("</FONT></td></tr></table>");

<!-- Change the input size to change the length of the name field 			-->
<!-- Change the input length by changing maxlength="30" to your desired size 	-->
document.write("<input size=17 class=cjmsg maxlength=30 type=text name=name>");
document.write("</td></tr></table>");

document.write("<tr><td>");
<!-- Change the input size to change the length of the tag field 				-->
<!-- Change the input length by changing all the "200(s)" to your desired size 	-->
document.write("<font class=cjfont><small>Message:</small></FONT><br>");
document.write("<textarea class=cjmsg rows=3 onKeyDown=textCounter(this.form.cjmsg,this.form.rem,200); onKeyUp=textCounter(this.form.cjmsg,this.form.rem,200); onKeyPress=showKeyValue(event) cols=16 type=text name=cjmsg></textarea>");
document.write("</td></tr>");

document.write("<tr><td>");
document.write("<div align=center>");
document.write("<center>");

document.write("<table border=0 cellspacing=0 width=100%>");
document.write("<tr>");
document.write("<td width=1%>");

<!-- Delete this input thing if you dont want to show the remaining characters -->
<!-- Change the input initial length by changing the 200 to your desired size 	-->
document.write("<input readonly class=cjmsg type=text name=rem size=3 maxlength=3 value=200></td>");
document.write("<td width=1%><input type=submit class=cjmsg value=Tag>");
document.write("</td>");
document.write("</form>");

document.write("<td width=49%><input type=button class=xtra value=Xtras OnClick=popUp('http://bharatian.com/tagboard/insert.php')>");
document.write("</td></tr>");
document.write("</table>");			   
document.write("</form>");
document.write("<br>");

/***************              Subscribe Me- Starts               *****************/

document.write("<img border=0 src=assets/subscribe.gif align=center style=margin-top: 0; margin-bottom: 0 align=center>");

document.write("<form action=http://www.bharatian.com/cgi-bin/subscribe/maillist.php method=post>");
document.write("<input class=button type=text name=email value=Your_Email_Address size=22>");
document.write("<br>");
document.write("<input type=radio name=action value=sub checked>Subscribe");
document.write("<br>");
document.write("<input type=radio name=action value=unsub>Unsubscribe");
document.write("<br>");
document.write("<input type=submit class=button value=submit>");
document.write("</form>");

/***************              Send This Links-Starts               *****************/
<!-- Begin E-Mail-This-Page Script //-->
document.write("<img border=0 src=assets/send.gif align=center style=margin-top: 0; margin-bottom: 0 align=center>");
document.write("<br>");
<!--
document.write("<a href=\"javascript:popUp('http://bharatian.com/cgi-bin/sendpage/friend.php?id=" +document.URL);
document.write("&js=on');\">Send Bharatian To a Friend</a>");






/***************              Random Banner or other contents               *****************/
document.write("<br>");
document.write("<br>");
document.write("<img border=0 src=assets/promotions.gif align=center style=margin-top: 0; margin-bottom: 0 align=center>");
document.write("<br>");
document.write("<font face=verdana,arial,sans-serif color=black align=left size=1>");
<!--
function random_content(){
var mycontent=new Array()
//specify random content below.
mycontent[1]='<a href=http://www.bharatian.com/><img border=1 src=assets/bharatianlogo.gif width=100 height=50></a>'
mycontent[2]='<a href=http://www.dynamicdrive.com/><img border=1 src=assets/nets2.gif ></a> <br><a href=http://www.dynamicdrive.com/>Dynamic Drive</a></br>'
mycontent[3]='<a href=http://www.dynamicdrive.com/><img border=1 src=assets/externel/ddsmall.gif ></a> <br><a href=http://www.dynamicdrive.com/>For free, original DHTML scriptsand components, all of which utilize the latest in DHTML and JavaScript technology!</a></br>'
mycontent[4]='<a href=http://javascriptsource.com/><img border=1 src=assets/externel/tjsbutton.gif></a><br><a href=http://javascriptsource.com/>All you need to visit once.</a></br>'
mycontent[5]='<a href=http://google.com/><img border=0 src=assets/externel/logo_40wht.gif></a> <a href=http://google.com/>Your Search Ends Here.</a>'

var ry=Math.floor(Math.random()*mycontent.length)
if (ry==0)
ry=1
document.write(mycontent[ry])
}
random_content()
//-->
document.write("</font>")
document.write("</p>")

document.write("</center></div></td></tr></table></td></tr></table>");

