<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Bangalore City Traffic Police - Complaints / Suggestions</title> <link href="Images/BTPStyle.css" rel="stylesheet" type="text/css" /> <link rel="Shortcut Icon" type="image/x-icon" href="Images/BTPIcon.gif" /> <script type="text/javascript"> function changeLocation(menuObj) { var i = menuObj.selectedIndex; if(i > 0) { window.location = menuObj.options[i].value; } } function validate() { if (trim(document.getElementById("txtname").value)=="") { alert('Please Enter your name'); document.getElementById("txtname").value =""; document.getElementById("txtname").focus(); return false; } else if (trim(document.getElementById("txtphone").value)=="") { alert('Please enter your phone number'); document.getElementById("txtphone").value=""; document.getElementById("txtphone").focus(); return false; } else if (!Validatephonenumber(document.getElementById("txtphone"))) { alert('Plese enter valid Phone number'); document.getElementById("txtphone").value = ""; document.getElementById("txtphone").focus(); return false; } else if (trim(document.getElementById("txtemail").value)=="") { alert('Plese enter your email id'); document.getElementById("txtemail").value=""; document.getElementById("txtemail").focus(); return false; } else if (!ValidateMail(document.getElementById("txtemail"))) { alert('Plese enter a valid email id'); document.getElementById("txtemail").value = "" ; document.getElementById("txtemail").focus(); return false; } else if (trim(document.getElementById("txtcomplaint").value)=="") { alert('Please enter Complaint/Suggestion'); document.getElementById("txtcomplaint").value=""; document.getElementById("txtcomplaint").focus(); return false; } else return true; } function Validatephonenumber(inputtxt) { var phoneno = /^\d{10}$/; if (inputtxt.value.match(phoneno)) { return true; } else { return false; } } function ValidateMail(objMail){ //Checking valid Email id - begin var posAtTheRate,varMailLen,bEmailIsOk,k,nCount,nDot,varMail; nDot=0; varMail=""; nCount=0; varMail=objMail.value; varMailLen = varMail.length; if(varMailLen==0){ return true; } posAtTheRate = varMail.indexOf("@"); bEmailIsOk=true; //alert(posAtTheRate); if(posAtTheRate==0) bEmailIsOk=false; else { if (posAtTheRate > 0) { if((varMail.charAt(varMailLen-4)=="." || varMail.charAt(varMailLen-3)=="." || varMail.charAt(varMailLen-4)==".") && (varMail.charAt(posAtTheRate+1)!=".") ) bEmailIsOk = true; else bEmailIsOk = false; } else bEmailIsOk=false; } for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="@") { nCount=nCount+1 } } for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==" ") { bEmailIsOk=false; } } //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="(") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==")") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==";") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="!") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="$") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="%") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="^") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="&") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="*") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="|") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="\\") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="/") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="?") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==">") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="<") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="~") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==";") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="#") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="`") { bEmailIsOk=false; } } //*******add //*********** for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)==",") { bEmailIsOk=false; } } //*******add for(k=0;k<varMail.length;k++) { if(varMail.charAt(k)=="..") { nDot=nDot+1; } } if(varMail.indexOf(" ")>0) { bEmailIsOk=false; } if(varMail.indexOf(".")==0) { bEmailIsOk=false; } if(nDot>1) bEmailIsOk=false; if(nCount>1) bEmailIsOk=false; if (bEmailIsOk == false) { retValue=false; objMail.focus(); //alert("E-mail is not in Correct Format !"); return retValue; } //return false; else return true; } function trim(str, chars) { return ltrim(rtrim(str, chars), chars); } function ltrim(str, chars) { chars = chars || "\\s"; return str.replace(new RegExp("^[" + chars + "]+", "g"), ""); } function rtrim(str, chars) { chars = chars || "\\s"; return str.replace(new RegExp("[" + chars + "]+$", "g"), ""); } </script> </head> <body id="MainBody"> <table align="center" style="width: 981px; background-image: url('../Images/bodybg1.jpg')" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <!-- Header Start --> <div> <!--header start --> <div id="header"> <div> <ul> <li><a href="../index.php?option=com_content&view=article&id=94&btp=94"> </a></li> <li><a href="../index.php?option=com_content&view=article&id=104&btp=104"> </a></li> <li><a href="../index.php?option=com_content&view=article&id=117&btp=117"> ( )</a></li> <li><a href="../index.php?option=com_content&view=article&id=120&btp=120"> </a></li> <li><a href="../index.php?option=com_content&view=article&id=125&btp=125"> </a></li> <li><a href="../index.php?option=com_content&view=article&id=195&btp=195"> </a></li> <li><a href="../index.php?option=com_content&view=article&id=176&btp=176"> </a></li> <li><a href="#"> / </a></li> </ul> </div> <table style="width: 100%; padding-left: 6px; padding-right: 5px" cellpadding="0" cellspacing="0" border="0"> <tr style="vertical-align: top"> <td style="height: 40px"> </td> </tr> <tr> <td style="width: 255px"> </td> <td align="center"> <object style="z-index: 0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="Traffic_Movie1" width="680" height="170"> <param name="movie" value="../Images/traffic.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="allowscriptaccess" value="samedomain" /> <embed type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" name="Traffic_Movie1" width="680" height="170" src="../Images/traffic.swf" quality="high" swliveconnect="true" allowscriptaccess="samedomain"> </embed> </object> </td> </tr> </table> </div> <!--header end --> <!--Menu Start --> <div id="MenuBody" style="background-color: #EEF5FF"> <table align="center" style="width: 981px; height: 33px; background-image: url(../Images/TopToolbar1.gif); background-repeat: no-repeat" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 57%"> <table cellpadding="0" cellspacing="0" style="width: 100%" border="0"> <tr> <td style="height: 1px"> </td> </tr> <tr> <td class="RedTextBold" style="width: 12%"> : </td> <td> <div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="473" height="19"> <param name="movie" value="Images/Bottleneck_Ticker.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <embed src="Images/Bottleneck_Ticker.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="473" height="19"></embed> </object> </div> </td> </tr> </table> </td> <td style="width: 1%"> </td> <td style="width: 24%; height: 33px"> <div> <a class="TopMenuLink" href="http://www.bangaloretrafficpolice.gov.in/BTPKannadaHome.aspx"> </a> |<a class="TopMenuLink" href="../index.php?option=com_content&view=article&id=97&btp=97"> </a> |<a class="TopMenuLink" href="../index.php?option=com_content&view=article&id=98&btp=98"> </a> |<a class="TopMenuLink" href="../index.php?option=com_content&view=article&id=99&btp=99"> </a> &nbsp; </div> </td> <td> <div id="search_box"> <form id="search_form" action="http://www.google.com/search"> <input type="text" name="q" id="s" value=" ..." class="SearchBoxWatermark" onfocus="_onfocus()" onblur="_onBlur()" /> <input type="image" onclick="return doSearch();" src="../Images/searchbtn.gif" style="width: 15px; height: 22px" id="go" alt="Search" title="Search" /> </form> </div> <!--Search Watermark Scripts Start --> <script type="text/javascript" language="JavaScript"> function _onfocus() { var txtSearch=document.getElementById("s"); txtSearch.value=""; } function _onBlur() { var txtSearch=document.getElementById("s"); if (txtSearch.value=="") txtSearch.value="Search..."; } </script> <script type="text/javascript"> function doSearch() { var searchQuery = encodeURI(document.getElementById('s').value); if( searchQuery.length > 0 ) document.location.href = "http://www.google.com/search?q=" + searchQuery; return false; } </script> <!--Search Watermark Scripts End --> </td> </tr> </table> </div> <!--Menu End --> </div> <!-- Header End --> <!--body start --> <div id="ContentBody" style="background-color: #EEF5FF"> <!--Body Content Start --> <div> <table align="center" style="width: 100%; padding-left: 2px; padding-right: 3px" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 25%; vertical-align: top"> <!--Quick Links Start --> <table style="width: 99%" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TabHeadBlue2" align="center" colspan="2"> </td> </tr> <tr> <td> <table class="LeftBottomRightBorderBlue" style="width: 100%" cellpadding="0" cellspacing="0" border="0"> <tr style="height: 20px"> <td style="width: 10px"> <img alt="" src="../Images/arrowred.gif" width="8" height="10" /> </td> <td style="width: 100%; text-indent: 2px" align="left"> <a class="LeftMenuLink" href="../../index.php?option=com_content&view=article&id=102&btp=102"> </a> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/horizantalDiv.gif'); width: 90%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> <tr style="height: 20px"> <td style="width: 10px"> <img alt="" src="../Images/arrowred.gif" width="8" height="10" /> </td> <td style="width: 100%; text-indent: 2px" align="left"> <a class="LeftMenuLink" href=""> </a> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/horizantalDiv.gif'); width: 90%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> </table> </td> </tr> </table> <!--Quick Links End --> <!--LeftPanel Content Start --> <table> <tr> <td> </td> </tr> </table> <table style="width: 99%" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TabHeadYellow2" align="center" colspan="2"> </td> </tr> <tr> <td> <table class="LeftBottomRightBorderYellow" style="width: 100%" cellpadding="0" cellspacing="0" border="0"> <tr style="height: 20px"> <td style="width: 10px"> <img alt="" src="../Images/arrowred.gif" width="8" height="10" /> </td> <td style="width: 100%; text-indent: 2px" align="left"> <a class="LeftMenuLink" href="../../index.php?option=com_content&view=article&id=99&btp=99"> </a> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/horizantalDiv.gif'); width: 90%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> <tr style="height: 20px"> <td style="width: 10px"> <img alt="" src="../Images/arrowred.gif" width="8" height="10" /> </td> <td style="width: 100%; text-indent: 2px" align="left"> <a class="LeftMenuLink" href="../../index.php?option=com_content&view=article&id=100&btp=100"> </a> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/horizantalDiv.gif'); width: 90%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> <tr style="height: 20px"> <td style="width: 10px"> <img alt="" src="../Images/arrowred.gif" width="8" height="10" /> </td> <td style="width: 100%; text-indent: 2px" align="left"> <a class="LeftMenuLink" href="../../index.php?option=com_content&view=article&id=101&btp=101"> </a> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/horizantalDiv.gif'); width: 90%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> </table> </td> </tr> </table> <table> <tr> <td> </td> </tr> </table> <table style="width: 99%" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TabHeadOrange2" align="center" colspan="2"> </td> </tr> <tr> <td> <table class="LeftBottomRightBorderOrange" align="center" style="width: 100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="TextBold" valign="top" width="50%"> <div style="margin-left: 1px"> <img alt="" height="18" style="vertical-align: middle" src="../Images/Arrow.gif" width="18" vspace="3" /> - </div> </td> </tr> <tr> <td class="TextBold" valign="top" width="50%"> <div style="margin-left: 1px"> <img alt="" height="18" style="vertical-align: middle" src="../Images/Arrow.gif" width="18" vspace="3" /> - / </div> </td> </tr> </table> </td> </tr> </table> <table> <tr> <td> </td> </tr> </table> <table style="width: 99%" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TabHeadBlue2" align="center" colspan="2"> </td> </tr> <tr> <td> <table class="LeftBottomRightBorderBlue" align="center" style="width: 100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="TextBold" valign="top" width="50%"> <div style="margin-left: 1px"> <img alt="" height="18" style="vertical-align: middle" src="../Images/Arrow.gif" width="18" vspace="3" /> - </div> </td> </tr> <tr> <td class="TextBold" valign="top" width="50%"> <div style="margin-left: 1px"> <img alt="" height="18" style="vertical-align: middle" src="../Images/Arrow.gif" width="18" vspace="3" /> - / </div> </td> </tr> </table> </td> </tr> </table> <table> <tr> <td> </td> </tr> </table> <!--<table style="width: 99%" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="TabHeadGreen2" align="center" colspan="2"> </td> </tr> <tr> <td> <table class="LeftBottomRightBorderGreen" align="center" style="width: 100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" class="TextBold" valign="top" width="50%"> <img alt="" src="../Images/helplinelogo.gif" /> </td> </tr> </table> </td> </tr> </table>--> <!--LeftPanel Content End --> </td> <td style="width: 6px; background-image: url('../Images/vline.gif')"> <img alt="" height="8" src="../Images/pixel.gif" width="3" /> </td> <td style="width: 75%; vertical-align: top"> <table align="center" style="width: 99%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="Tb_Head3"> / </td> </tr> <tr> <td class="BodyTextAll"> <div style="width: 97%; padding-left: 10px; font-weight: bold"> ! </div> <div align="center"> <form name="form1" method="get" onsubmit="return validate()" action="doSubmit_17032016/postcomplaint.aspx"> <table cellpadding="0" cellspacing="0" width="100%" align="center" border="0"> <tr style="vertical-align: middle; height: 20px"> <td colspan="2" align="right" style="width: 100%"> <span style="font-weight: bold"> :-&nbsp;</span> <span class="RedTextBold">* </span> </td> </tr> <tr> <td colspan="2" style="height: 15px"> </td> </tr> <tr style="vertical-align: middle; height: 20px"> <td class="CaptionText" align="right" style="width: 50%"> <span class="RedTextBold">*</span> :&nbsp; </td> <td align="left" style="width: 50%"> <input class="txtboxN" type="text" id="txtname" name="txtname" size="28" /> </td> </tr> <tr> <td colspan="2" style="height: 5px"> </td> </tr> <tr style="vertical-align: middle; height: 20px"> <td class="CaptionText" align="right" style="width: 50%"> <span class="RedTextBold">*</span> / :&nbsp; </td> <td align="left" style="width: 50%"> <input class="txtboxN" type="text" maxlength="11" id="txtphone" name="txtphone" size="28" /> </td> </tr> <tr> <td colspan="2" style="height: 5px"> </td> </tr> <tr style="vertical-align: middle; height: 20px"> <td class="CaptionText" align="right" style="width: 50%"> <span class="RedTextBold">*</span> ( - ) :&nbsp; </td> <td align="left" style="width: 50%"> <input class="txtboxN" type="text" name="txtemail" id="txtemail" size="28" /> </td> </tr> <tr> <td colspan="2" style="height: 5px"> </td> </tr> <tr style="vertical-align: middle; height: 20px"> <td class="CaptionText" align="right" style="width: 50%"> <span class="RedTextBold">*</span> :&nbsp; </td> <td align="left" style="width: 50%"> <select class="txtboxD" name="txtCategory" width="28"> <option value="1"> </option> <option value="2"> </option> <option value="3"> </option> <option value="4"> </option> <!-- <option value="1">About Traffic Signals</option> <option value="2">About Traffic Fines</option> <option value="3">Complaint against vehicles</option> <option value="4">Others</option> --> </select> </td> </tr> <tr> <td colspan="2" style="height: 5px"> </td> </tr> <tr style="vertical-align: middle; height: 20px"> <td class="CaptionText" align="right" style="width: 50%"> <span class="RedTextBold">*</span> / :&nbsp; </td> <td align="left" style="width: 50%"> <textarea class="txtboxN" name="txtcomplaint" id="txtcomplaint" rows="7" cols="40"></textarea> <input type="hidden" name="stname" value="" /> </td> </tr> <tr> <td colspan="2" style="height: 5px"> </td> </tr> <tr style="vertical-align: middle"> <td colspan="2" align="center" style="width: 100%"> <input class="BtnStyle" type="submit" name="Submit" value=" " style="width: 95px" /> <input class="BtnStyle" type="reset" name="Reset" value=" " style="width: 95px" /> </td> </tr> <tr> <td colspan="2" style="height: 15px"> </td> </tr> <tr> <td colspan="2" style="background-image: url('../Images/line.jpg'); width: 100%"> <img alt="" src="../Images/spacer.gif" width="20" height="1" /></td> </tr> </table> </form> </div> </td> </tr> </table> </td> </tr> </table> </div> <!--Body Content End --> </div> <!--body end --> <!-- Footer Start --> <div> <!--Footer Start --> <div id="FooterBg"> <table align="center" style="width: 981px; padding-left: 15px; padding-right: 10px" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="height: 15px"> </td> </tr> <tr> <td align="left" class="FooterText"> . &copy; ( ). </td> <td align="right" class="FooterText"> : <a class="FooterLink" target="_blank" href="http://www.thematics.in/"> . . </a> </td> </tr> </table> </div> <!--Footer End --> </div> <!-- Footer End --> </td> </tr> </table> <!--Side Tab STart --> <div> <a id="SideTabEnglish" href="http://www.bangaloretrafficpolice.gov.in/BTPHome.aspx">English</a> </div> <!--Side Tab End --> </body> </html>