Christchurch Public Hospital Address and Contact Number

Christchurch Public Hospital Contact Phone Number is : +64 3-364 0640

and Address is Riccarton Avenue, Private Bag 4710, Christchurch 8011, New Zealand
Christchurch Public Hospital is a multispeciality Hospital in Christchurch, New Zealand. The Hospital offers excellent healthcare Services to its patients using world class healthcare equipments. The doctors are well qualified in their respective fields. The Hospital is termed as the best Hospitals in the city of Christchurch. The address and contact number of is also used for <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> gift shop</b>, <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> emergency department</b>, <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> ward </b>, <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> dentist</b>, <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> <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>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> urology department</b>, <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> visiting hours</b> and <b>Christchurch Public <a href='https://cse.google.com/cse?cx=partner-pub-8561448623485741:5094590114&ie=UTF-8&q=Hospital&rsa=Search&ref='>Hospital</a> orthopaedic outpatients</b>. The contact information like email address, telephone number, website and postal cum official address of Christchurch Public Hospital is mentioned in below section.<br/><br/><h2>Address of Christchurch Public Hospital</h2>The address of Christchurch Public Hospital is Riccarton Avenue, Private Bag 4710, Christchurch 8011, New Zealand.<br/><br/><h2>Contact Number of Christchurch Public Hospital</h2>The contact number of Christchurch Public Hospital is <strong><a href='tel:+64 3-364 0640'>+64 3-364 0640</a></strong>.<br/><br/><h2>Email Address of Christchurch Public Hospital </h2>The email address of Christchurch Public Hospital is <strong></strong>.<br/><br/><h2>Website of Christchurch Public Hospital</h2>The Website of Christchurch Public Hospital is <strong>www.cdhb.govt.nz</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>Christchurch Public Hospital Source of Knowledge</h2><a style="text-decoration:none;color:#444;" target="_blank" rel="nofollow" href="http://www.cdhb.govt.nz">www.cdhb.govt.nz</a><br/></div> <div id="ImgScreenShot"><img class="scren-shot" src="https://address001.com/Address_Images/Christchurch-Public-Hospital-Address-Contact-Number-10002.jpeg" alt="Christchurch Public Hospital Address Contact Number"/></div> <div id="emailPrint" class="butn-row"><div class="butn"><span onclick="SendMail('+64 3-364 0640','','www.cdhb.govt.nz');" class="butn-txt">Email this information</span></div><div class="butn"><span onclick="CallPrint1('+64 3-364 0640','','www.cdhb.govt.nz')" 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 Christchurch Public Hospital</div><span class="ratg-hdg-box"><span class="ratg-hdg-box-txt">2.6</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 Christchurch Hospital New Zealand" href="https://address001.com/Address-of-Christchurch-Hospital-New-Zealand-010000"><strong>Christchurch Hospital New Zealand Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of St George Public Hospital" href="https://address001.com/Address-of-St-George-Public-Hospital-020418"><strong>St George Public Hospital Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Georgetown Public Hospital" href="https://address001.com/Address-of-Georgetown-Public-Hospital-020792"><strong>Georgetown Public Hospital Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Kingston Public Hospital Jamaica" href="https://address001.com/Address-of-Kingston-Public-Hospital-Jamaica-026946"><strong>Kingston Public Hospital Jamaica Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Pyne Gould Building Christchurch" href="https://address001.com/Address-of-Pyne-Gould-Building-Christchurch-020831"><strong>Pyne Gould Building Christchurch Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Christchurch Railway Station" href="https://address001.com/Address-of-Christchurch-Railway-Station-010011"><strong>Christchurch Railway Station Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Christchurch International Airport" href="https://address001.com/Address-of-Christchurch-International-Airport-09980"><strong>Christchurch International Airport Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Christchurch City Council" href="https://address001.com/Address-of-Christchurch-City-Council-09987"><strong>Christchurch City Council Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Christchurch Casino" href="https://address001.com/Address-of-Christchurch-Casino-09993"><strong>Christchurch Casino Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Christchurch Cathedral" href="https://address001.com/Address-of-Christchurch-Cathedral-09997"><strong>Christchurch Cathedral 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><li><span style="color:#444;" onclick="GetFun();"><strong>christchurch public hospital postal address</strong></span></li></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-Christchurch-Public-Hospital-010002" 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>Christchurch Public Hospital 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 Christchurch Public Hospital?</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('Christchurch Public Hospital');" onclick="document.getElementById('div_msg').innerHTML='';ReviewDis('Christchurch Public Hospital');" 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=28" 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="Riccarton Avenue, Private Bag 4710, Christchurch 8011, New Zealand" /> </form> <div style="padding:0 1%" class="panel2nd"> address001.com Advertisement <div class="adv472"> </div> </div> <div class="panel3nd"><h3 id="divRevTit">Christchurch Public Hospital 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('Christchurch Public Hospital');" 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=10002" >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+/, ""); }