City Hall Hamilton Address and Contact Number

City Hall Hamilton Contact Phone Number is : 905-546-2489

and Address is 71 Main St. West, Hamilton, Ontario, Canada
City hall Hamilton is a Government building in Canada. This hall was opened in 1960. City hall Hamilton is a 8 storey building. Architect of this building is designed by Stanley Roscoe. City hall Hamilton has offICEs of Mayor and other Government officials. This City hall is the main official building of Hamilton Council. The address and contact number of is also used for <b>City Hall Hamilton jobs</b>, <b>City Hall Hamilton <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Marriage&sa=Search&ref='>Marriage</a> lICEnce</b>, <b>City Hall Hamilton <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=park&rsa=Search&ref='>park</a>ing</b>, <b>Hamilton City Hall hours</b>,<b>Hamilton City Hall renovation</b> and <b>Hamilton City <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Council&sa=Search&ref='>Council</a>lors</b>. The contact information like email address, telephone number, website and postal cum official address of City Hall Hamilton is mentioned in below section.<br/><br/><h2>Address of City Hall Hamilton</h2>The address of City Hall Hamilton is 71 Main St. West, Hamilton, Ontario, Canada.<br/><br/><h2>Contact Number of City Hall Hamilton</h2>The contact number of City Hall Hamilton is <strong><a href='tel:905-546-2489'>905-546-2489</a></strong>.<br/><br/><h2>Email Address of City Hall Hamilton </h2>The email address of City Hall Hamilton is <strong>askcity@hamilton.ca</strong>.<br/><br/><h2>Website of City Hall Hamilton</h2>The Website of City Hall Hamilton is <strong>www.hamilton.ca</strong>.<br/><br/></div> <noscript> <style> #AddressBind{display:none;} #Desc{display:none;} </style> <h1 style='color:red !important;' class="w100">Javascript is Disabled, Please Enable it.</h1> </noscript> <div id="SrcKnow"><h2>City Hall Hamilton Source of Knowledge</h2><a style="text-decoration:none;color:#444;" target="_blank" rel="nofollow" href="http://www.hamilton.ca">www.hamilton.ca</a><br/></div> <div id="ImgScreenShot"><img class="scren-shot" src="https://address001.com/Address_Images/City-Hall-Hamilton-Address-Contact-Number-9905.jpeg" alt="City Hall Hamilton Address Contact Number"/></div> <div id="emailPrint" class="butn-row"><div class="butn"><span onclick="SendMail('905-546-2489','askcity@hamilton.ca','www.hamilton.ca');" class="butn-txt">Email this information</span></div><div class="butn"><span onclick="CallPrint1('905-546-2489','askcity@hamilton.ca','www.hamilton.ca')" class="butn-txt">Print this information</span></div> <div class="butn"><span onclick="document.getElementById('txtReviewPost').focus();" class="butn-txt">Write a Review</span></div></div> <div id="RatingTxt" class="w100 fl"><div class="ratg-hdg mt5">Rating of City Hall Hamilton</div><span class="ratg-hdg-box"><span class="ratg-hdg-box-txt">4.8</span></span><span><span style="color:#014b5d;cursor:pointer;font-size:15px;" onclick="SetFoucs();"> Click Here </span>to add rating</span></div> <div id="AbsoluteRvDv" align="center" class="RvAbsolute" style="display: none;"> </div> </article> <aside> <div id="GoogleAdv200"><div style="margin:9px 0px 10px 5px;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle"style="display:block"data-ad-client="ca-pub-4209662781041025"data-ad-slot="7829909793"data-ad-format="link"data-full-width-responsive="true"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div></div> <div id="GoogleAdvFirst" class="adv366"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4209662781041025" data-ad-slot="3426998521" data-ad-format="rectangle"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <div id="GoogleAdv160" class="fl" style="margin-top:12px;margin-left:5px;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle"style="display:block"data-ad-client="ca-pub-4209662781041025"data-ad-slot="7829909793"data-ad-format="link"data-full-width-responsive="true"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div><br /> <div id="GoogleAdv160Sec" class="fl" style="margin-top:19px;margin-left:5px;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle"style="display:block"data-ad-client="ca-pub-4209662781041025"data-ad-slot="7829909793"data-ad-format="link"data-full-width-responsive="true"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div> <!-- <div class="gif-img" style="margin-top:40px;float:left;"><img onclick="document.getElementById('txtReviewPost').focus();" src="https://address001.com/Images/POST-gif.gif" /></div>--> <div id="SimilarResult" class="aside-link-tab"><div class="aside-link-tab-hdr"><span class="aside-link-tab-hdr-hdg">Similar Results</span></div><ul><li><a style="color:#444;" title="Address and Contact Number of City Hall New York City" href="https://address001.com/Address-of-City-Hall-New-York-City-09873"><strong>City Hall New York City Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of City of Houston City Hall" href="https://address001.com/Address-of-City-of-Houston-City-Hall-09476"><strong>City of Houston City Hall Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Jersey City City Hall" href="https://address001.com/Address-of-Jersey-City-City-Hall-09491"><strong>Jersey City City Hall Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of City Hall Kansas City Mo" href="https://address001.com/Address-of-City-Hall-Kansas-City-Mo-024631"><strong>City Hall Kansas City Mo Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Hamilton Hall Isu" href="https://address001.com/Address-of-Hamilton-Hall-Isu-021966"><strong>Hamilton Hall Isu Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Hamilton Hall Columbia" href="https://address001.com/Address-of-Hamilton-Hall-Columbia-026674"><strong>Hamilton Hall Columbia Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Hamilton Hall Illinois State University" href="https://address001.com/Address-of-Hamilton-Hall-Illinois-State-University-020850"><strong>Hamilton Hall Illinois State University Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Hamilton City Council" href="https://address001.com/Address-of-Hamilton-City-Council-026691"><strong>Hamilton City Council Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Hamilton Park Jersey City" href="https://address001.com/Address-of-Hamilton-Park-Jersey-City-026643"><strong>Hamilton Park Jersey City Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Winnipeg City Hall" href="https://address001.com/Address-of-Winnipeg-City-Hall-026524"><strong>Winnipeg City Hall Address and Contact Number</strong></a></li></br><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:336px;height:800px" style="display:block;" data-ad-format="autorelaxed" data-ad-client="ca-pub-4209662781041025" data-ad-slot="4854735394"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><br></ul></div> <div class="sclicon-otr fl"> <span class="sclicon" id="FB"></span> <span class="sclicon" id="GPlus"><g:plusone size="large"></g:plusone></span> <span onclick="return fbShareClick()" class="home-scl-icon"><img src="images/fb-icon.jpg" alt="Facebook Share" /></span> </div> </aside> <form name="MidData" method="post" action="/Address-of-City-Hall-Hamilton-09905" id="MidData" enctype="multipart/form-data"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTU3MDY3ODUyM2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFDnJiX0FkZHJlc3NNYWxlBRByYl9BZGRyZXNzRmVtYWxlwtSl7cpnc3B+GWCf7MNoVP/uqmE=" /> </div> <div> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="E2BAB8DB" /> </div> <div id="GetDirection" class="panel2nd"><h2 id="GetDirectionH2"><h2>City Hall Hamilton Direction</h2></h2> <div style="margin-top:0px;height:268px;width:98%;" id="map-canvas" class="panel2nd"> </div></div> <div id="AddReview" class="panel3nd"> <h3 id="cmntxt">Review on City Hall Hamilton?</h3> <div class="row-input"> <div id="div_msg" class="none"></div><br /> <div class="rev-inpt-label">Rating </div> <select name="DllRating" id="DllRating" class="rev-dropdwn"> <option value="-1">Select Rating</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select>(Out of 5) </div> <div class="row-input"> <div class="rev-inpt-label"> Your Review</div> <textarea name="txtReviewPost" id="txtReviewPost" onfocus="ReviewDis('City Hall Hamilton');" onclick="document.getElementById('div_msg').innerHTML='';ReviewDis('City Hall Hamilton');" onkeyup="return SetCounter(false,this,'txtReviewPost');" onblur="return SetCounter(true,this,'txtReviewPost');" onkeydown="return SetCounter(false,this,'txtReviewPost');" maxlength="1000" class="rev-txtarea"></textarea>   <input type="text" class="w30" value="1000" readonly maxlength="3" tabindex="-1" id="txt_Counter"> </div> <div class="row-input"> <div class="rev-inpt-label">Your Full Name</div> <input name="txtReviewName" type="text" id="txtReviewName" class="rev-input" placeholder="Enter Name" onclick="document.getElementById('div_msg').innerHTML=''" onkeypress="return disableEnterKey(event)" maxlength="35" /> </div> <div class="row-input"> <div class="rev-inpt-label">Your Email Id </div> <input name="txtIdEmail" type="text" id="txtIdEmail" onkeypress="return disableEnterKey(event)" placeholder="Enter Email" maxlength="100" class="rev-input" /> </div> <div class="row-input"> <div class="rev-inpt-label">Your Photo </div> <input type="file" name="UploadDP" id="UploadDP" class="compt-brose-butn" /> </div> <div class="row-input"> <div class="rev-inpt-label">Gender</div> <input value="rb_AddressMale" name="rd007" type="radio" id="rb_AddressMale" /><label for="rb_AddressMale">Male</label> <input value="rb_AddressFemale" name="rd007" type="radio" id="rb_AddressFemale" /><label id="LblFemale" for="rb_AddressFemale">Female</label> </div> <div class="row-input"> <div class="rev-inpt-label">Image Text </div> <div class="rev-input-img"> <img id="img_captcha" src="Handler/CaptchaSignUp.ashx?extraQS=18" style="border-width:0px;" /> </div> <input name="txt_captcha" type="text" id="txt_captcha" onclick="document.getElementById('div_msg').innerHTML=''" onkeypress="return disableEnterKey(event)" maxlength="6" class="rev-input-img-input" /> </div> <div class="rev-input-butn"> <input type="submit" name="btnSummitReview" value="" id="btnSummitReview" class="cont-Rv-butn" /> </div> </div> <input name="HdnReview_Id" type="hidden" id="HdnReview_Id" /> <input name="Hdn007_Id" type="hidden" id="Hdn007_Id" /> <input name="hdnName" type="hidden" id="hdnName" /> <input type="hidden" name="hdntxtUpdatePhNo" id="hdntxtUpdatePhNo" /> <input type="hidden" name="GetUrl" id="GetUrl" /> <input type="hidden" name="GetTitle" id="GetTitle" /> <input type="hidden" name="txtIncorrectvalue" id="txtIncorrectvalue" /> <input name="hidnlocat" type="hidden" id="hidnlocat" value="71 Main St. West, Hamilton, Ontario, Canada" /> </form> <div style="padding:0 1%" class="panel2nd"> address001.com Advertisement <div class="adv472"> </div> </div> <div class="panel3nd"><h3 id="divRevTit">City Hall Hamilton User Reports</h3></div> <div id="bndReview" style="margin-top:2px;margin-bottom:7px;" class="panel3nd"><span>No User Report so far. To add review, comment <span onclick="document.getElementById('txtReviewPost').focus();ReviewDis('City Hall Hamilton');" style="color:#014b5d; cursor: pointer;">Click Here.</span></span></div><!--panel2nd close--> </section> <div class="clr"></div> <footer> <div id="footerLink" class="footer-iner"><div id="spncopyryt" class="footer-coprght">Copyright ©  2024 address001.com. All rights reserved.</div> <ul><li><a title='Go to home page' href="https://address001.com/StaticPages/AboutUs.aspx">About Us</a></li><li><a title='Privacy Policy' href="https://address001.com/StaticPages/PrivacyPolicy.aspx">Privacy Policy</a></li><li><a title='Contact Us' rel="nofollow" href="https://address001.com/StaticPages/Contact_Us.aspx?Nwid=9905" >Contact Us</a></li><li style="border-right:0"><a title='Sitemap' class="cp" href="https://address001.com/Html-Sitemap-A-P1" >Sitemap</a></li></ul><div class="clr"></div></div> </footer> <script type="text/javascript"> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-61721236-1', 'auto'); ga('send', 'pageview'); </script> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script> <script type="text/javascript"> var geocoder; var map; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(-34.397, 150.644); var mapOptions = { zoom: 8, center: latlng } map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); var address = document.getElementById("hidnlocat").value; codeAddress(address); } function codeAddress(address) { geocoder.geocode({ 'address': address }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); var marker = new google.maps.Marker({ map: map, position: results[0].geometry.location }); } // else { // alert('Geocode was not successful for the following reason: ' + status); // } }); } google.maps.event.addDomListener(window, 'load', initialize); </script> <script type="text/javascript"> function GetFun() { window.location = document.URL; } function SetFoucs() { var element = document.getElementById('AddReview'); var xPosition = 0; var yPosition = 0; while (element) { xPosition += (element.offsetLeft - element.scrollLeft + element.clientLeft); yPosition += (element.offsetTop - element.scrollTop + element.clientTop); element = element.offsetParent; } window.scroll(xPosition - 20, yPosition); document.getElementById('DllRating').focus(); } //Email Information function SendMail(PhoneNo, EmailId, Website) { var divId; var title = document.getElementsByTagName("h1"); divId = 'Dear User,%0A%0ATitle : ' + title[0].innerHTML var address = document.getElementById("hidnlocat").value; if (address != '') { divId += "%0A%0ALocation : " + address; } if (PhoneNo != '') { divId += "%0A%0APhone Number : " + PhoneNo; } if (EmailId != '') { divId += "%0A%0AEmail Id : " + EmailId; } if (Website != '') { divId += "%0A%0AWebsite : " + Website; } divId += '%0A%0AFor more details please visit:%0A' + document.URL + '%0A%0A%0A%0ARegards,%0AAddress007.com'; divId = ltrim(divId); window.open('mailto:?body=' + divId + '', '_parent'); } function SkypeCall(PhNum) { var mySplitResult = PhNum.split(","); var NewPhNum = mySplitResult[0]; window.open('skype:' + NewPhNum + '?call'); } //Print Information function CallPrint1(PhoneNo, EmailId, Website) { var title = document.getElementsByTagName("h1"); var divId = "<img src=\"https://address001.com/images/logo.png\" alt=\"address001.com\" title=\"logo\" /><br/><br/>" + title[0].innerHTML + "<br/><br/>"; var address = document.getElementById("hidnlocat").value; if (address != '') { divId += "Location : " + address + "<br/><br/>"; } if (PhoneNo != '') { divId += "Phone Number : " + PhoneNo + "<br/><br/>"; } if (EmailId != '') { divId += "Email Id : " + EmailId + "<br/><br/>"; } if (Website != '') { divId += "Website : " + Website + "<br/><br/>"; } var headstr = "<html><head><title>Print Page

"; var footstr = ""; var WinPrint = window.open('', '', 'left=150,top=100,width=1200,height=1200,menubar=1,toolbar=0,scrollbars=yes,status=0'); var x = headstr + divId + footstr; WinPrint.document.write(x); WinPrint.document.close(); WinPrint.focus(); setTimeout(function () { WinPrint.print(); }, 1000); } //End //Review FeedBack function var Rv_Id = 0; var CheckRequest = 0; var Address_Id = 0; function ReviewFeedback(Feedback, Review_Id, GetAddress_Id) { XmlHttp = GetXmlHttpObject(); Address_Id = GetAddress_Id; Rv_Id = Review_Id; if (document.getElementById('hdnFeedbackReview_Id')) { document.getElementById('hdnFeedbackReview_Id').value = Review_Id; } ReadCookie(); if (CheckRequest == 0) { CheckRequest = 1; XmlHttp.onreadystatechange = ReviewFeedbackCallback; var param = 'Action=SaveReviewFeedBack&review_id=' + Review_Id + '&FeedbackString=' + Feedback; var url = "Handler/AddressAjax.ashx?" + param; XmlHttp.open('GET', url, true); XmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); XmlHttp.send(''); } } function ReviewFeedbackCallback() { if (XmlHttp.readyState == 4 || XmlHttp.readyState == "complete") { var txt = XmlHttp.responseText; if (txt == '-1') { document.getElementById('activeMessage_' + Rv_Id).innerHTML = 'You have already voted.'; document.getElementById('activeMessage_' + Rv_Id).style.display = "block"; setTimeout(function () { document.getElementById('activeMessage_' + Rv_Id).style.display = "none"; CheckRequest = 0; }, 1000); } else if (txt == '-2') { document.getElementById('activeMessage_' + Rv_Id).innerHTML = 'You just recommended this comment!'; document.getElementById('activeMessage_' + Rv_Id).style.display = "block"; setTimeout(function () { document.getElementById('activeMessage_' + Rv_Id).style.display = "none"; CheckRequest = 0; }, 500 ); } else { var mySplitResult = txt.split(","); var FeedbackString = mySplitResult[0]; var TotalCount = mySplitResult[1]; setTimeout(function () { if (document.getElementById('Span' + FeedbackString + Rv_Id)) { CheckRequest = 0; document.getElementById('Span' + FeedbackString + Rv_Id).innerHTML = FeedbackString + "(" + TotalCount + ")"; document.getElementById('Span' + FeedbackString + Rv_Id).style.color = "green"; if (FeedbackString == "Spam") { OpenInNewTab('https://address001.com/StaticPages/Contact_Us.aspx?Nwid=' + Address_Id + '&RID=' + Rv_Id + ''); } } }, 500); } } } //End //GetIFM(); function SetCounter(withbar, idfrom) { var gCurrentSize; var le; var txt = document.getElementById('txtReviewPost').value.length; var x = 1000 - txt; if (x < 0) { if (idfrom) { len = idfrom.value.length; idfrom.value = idfrom.value.substring(0, len + x); } x = 0; le = 1000; alert('Only 1000 characters are allowed '); } if (withbar && gCurrentSize != le) { gCurrentSize = le; } document.getElementById('txt_Counter').value = txt; return true; } var GetRvVal; function ReviewDis(title) { if (GetRvVal == undefined) { GetRvVal = '0'; document.getElementById('AbsoluteRvDv').style.display = "block"; var StrBnd = " Note :
    "; StrBnd += '
  • Please write what you know about ' + title + '
  • '; StrBnd += '
  • Please use English language in commenting, No language, Other than English is accepted.
  • '; StrBnd += '
  • Short form like hi, hay, plz, pls etc. cannot be accepted.
  • '; StrBnd += '
  • Spelling mistakes cannot be accepted, Please do not share your personal problems here.
  • '; StrBnd += '
  • Please do not paste here any copied content.
  • '; StrBnd += '
'; StrBnd += "Ok, I Understand" document.getElementById('AbsoluteRvDv').innerHTML = StrBnd; } } function CloseRvVal() { GetTitlVal = '0'; document.getElementById('AbsoluteRvDv').style.display = "none"; } var XmlHttp; function GetXmlHttpObject() { return (window.XMLHttpRequest) ? (new XMLHttpRequest()) : (new ActiveXObject("Microsoft.XMLHTTP")); } function checkMaxLength(textBox, e, length) { var mLen = textBox["MaxLength"]; if (null == mLen) mLen = length; var maxLength = parseInt(mLen); if (!checkSpecialKeys(e)) { if (textBox.value.length > maxLength - 1) { if (window.event)//IE { e.returnValue = false; return false; } else//Firefox e.preventDefault(); } } } function checkSpecialKeys(e) { if (e.keyCode != 8 && e.keyCode != 46 && e.keyCode != 35 && e.keyCode != 36 && e.keyCode != 37 && e.keyCode != 38 && e.keyCode != 39 && e.keyCode != 40) return false; else return true; } /* Used for FaceBook Iframe */ FBData(); function FBData() { if (document.getElementById("FB") != '') { var shareUrl = encodeURIComponent("https://www.facebook.com/address001.com"); document.getElementById("FB").innerHTML = "" } // document.getElementById("twitterSpn").innerHTML = ''; !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = "//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } } (document, "script", "twitter-wjs"); } /*End*/ function handleKeyPress(e) { var key = e.keyCode || e.which; if (key == 13) { document.getElementById('IncorrectNo').click(); } } function setCookie(cookieName, cookieValue, nDays) { var today = new Date(); var expire = new Date(); if (nDays == null || nDays == 0) nDays = 1; expire.setTime(today.getTime() + 3600000 * 24 * nDays); document.cookie = cookieName + "=" + escape(cookieValue) + ";expires=" + expire.toGMTString(); } function getCookie(c_name) { var c_value = document.cookie; var c_start = c_value.indexOf(" " + c_name + "="); if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; var c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start, c_end)); } return c_value; } function del_cookie(name) { document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } function Confirm(sender) { return confirm("Are you sure you want to deleter this entry ?"); } function addBookmark(name) { var url = document.URL; try { if (window.sidebar && window.sidebar.addPanel) { window.sidebar.addPanel(name, url, ''); //obsolete from FF 23. } else if (window.sidebar) { window.sidebar.addPanel(name, url, ''); //obsolete from FF 23. } else if (window.opera && window.print) { var e = document.createElement('a'); e.setAttribute('href', url); e.setAttribute('title', name); e.setAttribute('rel', 'sidebar'); e.click(); } else if (window.external) { window.external.AddFavorite(url, name); } else alert("To Remember this page, please Press Ctrl+D."); } catch (e) { alert("To Remember this page, please Press Ctrl+D."); } } function fbShareClick() { u = location.href; t = document.title; window.open('https://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436'); return false; } function UserRvNameAuto(obj) { var Valu = obj.value; var a = Valu.split(/\s+/); for (i = 0; i < a.length; i++) { a[i] = a[i].charAt(0).toUpperCase() + a[i].slice(1).toLowerCase(); } obj.value = a.join(' '); } function ReplyBoxDp(GetBxId, Address_id, Name) { var elements = document.getElementsByName('NeBxReply') for (var i = 0; i < elements.length; i++) { elements[i].innerHTML = ""; } document.getElementById("Rating_" + GetBxId).style.display = "none"; document.getElementById("div_msg").style.display = "none"; document.getElementById("hdnName").value = Name; if (document.getElementById("HdnReview_Id").value != '') { document.getElementById("NeBxReply_" + document.getElementById("HdnReview_Id").value).style.display = "none"; document.getElementById("Span_" + document.getElementById("HdnReview_Id").value).style.display = "block"; } document.getElementById("HdnReview_Id").value = GetBxId; var BindDta = "
"; BindDta += "
"; BindDta += "
Leave a Reply to : " + Name + "
"; BindDta += "
"; BindDta += "
"; BindDta += "
Reply :
" BindDta += "
"; BindDta += "
"; BindDta += "
Your Name :
"; BindDta += "
"; BindDta += "
"; BindDta += "
Email Address :
"; BindDta += "
"; BindDta += "
"; BindDta += "
Gender :
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; BindDta += "
"; document.getElementById('NeBxReply_' + GetBxId).innerHTML = BindDta; window.setTimeout(function () { document.getElementById('CommentTxt').focus(); }, 0); document.getElementById("NeBxReply_" + GetBxId).style.display = "block"; document.getElementById('Span_' + GetBxId).style.display = "none"; } function HideReplyDv(ReviewId) { document.getElementById("NeBxReply_" + ReviewId).style.display = "none"; document.getElementById('Span_' + ReviewId).style.display = "block"; document.getElementById("Rating_" + ReviewId).style.display = "block"; } function AddReply(Address_id, Review_Id) { XmlHttp = GetXmlHttpObject(); XmlHttp.onreadystatechange = SubmitReplyCallback; if (document.getElementById("CommentTxt")) { document.getElementById("Hdn007_Id").value = Address_id; var Comment = document.getElementById("CommentTxt").value.replace('>', '>').replace('<', '>').replace(' ', ' '); // var Comment = document.getElementById("CommentTxt").value.replace(/\s{2,}/g, ' ').replace('>', '>').replace('<', '>').replace(' ', ' '); var Name = document.getElementById("ReplyPersonName").value.replace(/\s{2,}/g, ' ').replace('>', '>').replace('<', '>').replace(' ', ' '); var EmailId = document.getElementById("ReplyEmailId").value.replace(/\s{2,}/g, ' ').replace('>', '>').replace('<', '>').replace(' ', ' '); var iChars = "<"; var iChars2 = ">"; if (Comment.trim() == '') { document.getElementById("msgJs").innerHTML = "Please enter your reply."; document.getElementById("msgJs").style.display = 'block'; } else if (Name.trim() == '') { document.getElementById("msgJs").innerHTML = "Please enter name."; document.getElementById("msgJs").style.display = 'block'; } else if (Comment.trim().length <= 20) { document.getElementById("msgJs").innerHTML = "Short length reply can not be posted."; document.getElementById("msgJs").style.display = 'block'; } else if (unescape(Comment).indexOf(iChars) != -1 || unescape(Comment).indexOf(iChars2) != -1) { document.getElementById("msgJs").innerHTML = 'Please remove the HTML scripting tags from reply.'; document.getElementById("msgJs").style.display = 'block'; return false; } else if (unescape(Name).indexOf(iChars) != -1 || unescape(Name).indexOf(iChars2) != -1) { document.getElementById("msgJs").innerHTML = 'Please remove the HTML scripting tags from name.'; document.getElementById("msgJs").style.display = 'block'; return false; } else if (document.getElementById("rbReply_Male").checked == false && document.getElementById("rbReply_Female").checked == false) { document.getElementById("msgJs").innerHTML = "Please select gender."; document.getElementById("msgJs").style.display = 'block'; } else if (Comment.length > 999) { document.getElementById("msgJs").innerHTML = "Only 1000 characters are allowed."; document.getElementById("msgJs").style.display = 'block'; } else if (/[^A-Za-z0-9 .]/.test(Name)) { document.getElementById("msgJs").innerHTML = 'please remove special characters from name.'; document.getElementById("msgJs").style.display = 'block'; } else if (validateEmail(EmailId.trim()) == false && EmailId.trim() != '') { document.getElementById("msgJs").innerHTML = "Please enter valid email id."; document.getElementById("msgJs").style.display = 'block'; } else { var NewName; if (document.getElementById("rbReply_Male").checked == true) { NewName = "Mr. " + Name; } else { NewName = "Ms. " + Name; } document.getElementById("msgJs").innerHTML = ""; document.getElementById("msgJs").style.display = 'none'; var param = 'Action=SaveReply&comment=' + escape(Comment) + '&Name=' + escape(NewName) + '&EmailId=' + escape(EmailId) + '&007_id=' + Address_id + '&review_id=' + Review_Id; var url = "Handler/AddressAjax.ashx?" + param; XmlHttp.open('GET', url, true); XmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); XmlHttp.send(''); } } } function SubmitReplyCallback() { if (XmlHttp.readyState == 4 || XmlHttp.readyState == "complete") { var txt = XmlHttp.responseText; if (txt == '0') { document.getElementById('msgJs').innerHTML = "Your problem already posted."; document.getElementById('msgJs').style.display = "block"; } else { document.getElementById('spnMsgSucess').innerHTML = "Your reply to this review has been sent for moderation. "; document.getElementById('MsgSucess').style.display = "block"; document.getElementById('othrmsg').style.display = "none"; } } } function validateEmail(email) { var re = /\S+@\S+\.\S+/; return re.test(email); } //to clear cookie function ReadCookie() { var allcookies = document.cookie; cookiearray = allcookies.split(';'); var count = 0; for (var i = 0; i < cookiearray.length; i++) { name = cookiearray[i].split('=')[0]; if (name.indexOf("RvId") > -1) { count += 1; } } if (count > 10) { for (var i = 0; i < cookiearray.length; i++) { name = cookiearray[i].split('=')[0]; if (name.indexOf("RvId") > -1) { deleteCookie(name) } } } } function deleteCookie(c_name) { document.cookie = c_name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } function OpenInNewTab(url) { var win = window.open(url, '_blank'); if (win) { win.focus(); } } //End function GetContentForDiv() { var divId = ''; if (document.getElementById('DivContactPerson')) { divId = document.getElementById('DivContactPerson').innerHTML; } if (document.getElementById('DivLocation')) { divId = divId + "
" + document.getElementById('DivLocation').innerHTML; } if (document.getElementById('Phoneno')) { var str = document.getElementById('Phoneno').innerHTML; str = str.replace('Call Via Skype', ''); str = str.replace('
', '
'); divId = divId + "
" + str; } if (document.getElementById('Email')) { divId = divId + "
" + document.getElementById('Email').innerHTML; } if (document.getElementById('Website')) { divId = divId + "
" + document.getElementById('Website').innerHTML; } return divId; } //End function ltrim(stringToTrim) { return stringToTrim.replace(/^\s+/, ""); }