Atlantic City Rail Terminal Address and Contact Number

Atlantic City Rail Terminal Address Contact Number
Email this information
Print this information
Write a Review
Rating of Atlantic City Rail Terminal
2.2 Click Here (To Add Rating)

Atlantic City Rail Terminal Direction

The Atlantic City Rail Terminal is the railway station situated in Atlantic City, New Jersey. It has three platforms. The Rail terminal is owned by New Jersey Transit.Atlantic is the largest city in the state of New Jersey. Mr Lorenzo T Langford is the current Mayor of the city. New Jersey Transit is the public transportation corporation of New Jersey state. The address and contact number of is also used for <strong>Atlantic City Rail Terminal to airport</strong>, <strong>Atlantic City train station shuttle</strong> and <strong>Atlantic City rail line operations study</strong>.<h2>Address of Atlantic City Rail Terminal</h2>The address of Atlantic City Rail Terminal is 1 Atlantic City Expressway, Atlantic City, New Jersey, United States..<br/><br/><h2>Contact Number of Atlantic City Rail Terminal</h2>The contact number of Atlantic City Rail Terminal is <strong><a href='tel:(973) 275-5555'>(973) 275-5555</a></strong>.<br/><br/><h2>Website of Atlantic City Rail Terminal</h2>The Website of Atlantic City Rail Terminal is <strong>www.njtransit.com</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>Atlantic City Rail Terminal Source of Knowledge</h2><a style="text-decoration:none;color:#444;" target="_blank" rel="nofollow" href="http://www.njtransit.com">www.njtransit.com</a><br/></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="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:200px;height:90px" data-ad-client="ca-pub-3655333155722703" data-ad-slot="5871973875"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div></div><div id="GoogleAdv300_250"></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-3655333155722703" data-ad-slot="5732373075" 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="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:200px;height:90px" data-ad-client="ca-pub-3655333155722703" data-ad-slot="5871973875"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div><br /> <div id="GoogleAdv160Sec" class="fl" style="margin-top:19px;margin-left:5px;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:200px;height:90px" data-ad-client="ca-pub-3655333155722703" data-ad-slot="5871973875"></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="http://address007.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 Oaks Christian High School" href="http://address007.com/Address-of-Oaks-Christian-High-School-09826"><strong>Oaks Christian High School Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Cinemax Kolkata" href="http://address007.com/Address-of-Cinemax-Kolkata-09827"><strong>Cinemax Kolkata Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Navy Pier" href="http://address007.com/Address-of-Navy-Pier-09828"><strong>Navy Pier Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of City Hall Brampton" href="http://address007.com/Address-of-City-Hall-Brampton-09829"><strong>City Hall Brampton Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Education City Qatar" href="http://address007.com/Address-of-Education-City-Qatar-09830"><strong>Education City Qatar Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Grace Christian High School" href="http://address007.com/Address-of-Grace-Christian-High-School-09831"><strong>Grace Christian High School Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Cinemax Malad" href="http://address007.com/Address-of-Cinemax-Malad-09832"><strong>Cinemax Malad Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Kansas City Royals" href="http://address007.com/Address-of-Kansas-City-Royals-09833"><strong>Kansas City Royals Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Chicago National Processing Center" href="http://address007.com/Address-of-Chicago-National-Processing-Center-09834"><strong>Chicago National Processing Center Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Cinemax Mira Road" href="http://address007.com/Address-of-Cinemax-Mira-Road-09836"><strong>Cinemax Mira Road Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of United Christian Hospital" href="http://address007.com/Address-of-United-Christian-Hospital-09837"><strong>United Christian Hospital Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of City Hall Long Beach Ca" href="http://address007.com/Address-of-City-Hall-Long-Beach-Ca-09838"><strong>City Hall Long Beach Ca Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Cinemax Pacific Mall Subhash Nagar" href="http://address007.com/Address-of-Cinemax-Pacific-Mall-Subhash-Nagar-09839"><strong>Cinemax Pacific Mall Subhash Nagar Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of the Westin Chicago River North Hotel" href="http://address007.com/Address-of-the-Westin-Chicago-River-North-Hotel-09840"><strong>the Westin Chicago River North Hotel Address and Contact Number</strong></a></li><li><a style="color:#444;" title="Address and Contact Number of Carlos City Hall Bake Shop" href="http://address007.com/Address-of-Carlos-City-Hall-Bake-Shop-09841"><strong>Carlos City Hall Bake Shop Address and Contact Number</strong></a></li><li><span style="color:#444;" onclick="GetFun();"><strong>1</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 method="post" action="/Address-of-Atlantic-City-Rail-Terminal-09835" id="MidData" enctype="multipart/form-data"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMTQ3NTMyNDUzZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAgUOcmJfQWRkcmVzc01hbGUFEHJiX0FkZHJlc3NGZW1hbGXLRZI7dmZOeXeerLAUjPN10uvDdkTX/jPM/qAjkYKviQ==" /> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="E2BAB8DB" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdABfxP0COXRGaM47Bp5MH/BMXQRM/siG2nWA/ySl7L+0dRQEwZsIGT9lC5tqmGbPS45r2nQBaK0mpLpvLWsxeBle8Z5OpKLOS8ZrasendxKUf/QQO3pGR3ZUchmIu2h1AVsLxNx68WzIqphhJHsWEF5Ll7AXhFcJjZNNCAv/PgiDSnvDGkmHzg1oWzDXBFNWx8rd+DzMQkIMqGN6qxrgawRyGYQafI9g9WqbdzUKL8XVmIXuSJxbJC0gNmTiKzeQQO0fHMGrf9SbSXIvzz75dlLux+NLrhPqN1oaFBu1U2GlcqRddHDQrF09QOMZIpJE6pQeQ3jVuQcDv01yV/DXt1xQPTswFkex1VIWmau2XFs6Ri2Hdb6NitEOEzmFIsD/TryfU7CIunQWAgOVZle1vPsaQBW+PJVLmRnY9pJrFcz8wmDBX+r/+mpdJYXRYviKMNjzCaxIEgTVf/aU7pfq/c43nhWngZ6eHdOkTWOHFOzWZM0dsjL8C1p5Ypf7L+KtsbgRWldD+gWm26WesrCamA8u5" /> <div id="AddReview" class="panel3nd"> <h3 id="cmntxt">Review on Atlantic City Rail Terminal?</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" disabled="disabled" class="aspNetDisabled 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('Atlantic City Rail Terminal');" onclick="document.getElementById('div_msg').innerHTML='';ReviewDis('Atlantic City Rail Terminal');" onkeyup="return SetCounter(false,this,'txtReviewPost');" onblur="return SetCounter(true,this,'txtReviewPost');" onkeydown="return SetCounter(false,this,'txtReviewPost');" maxlength="1000" class="rev-txtarea" disabled="disabled"></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=7" /> </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" disabled="disabled" class="aspNetDisabled cont-Rv-butn" /> <div id="Add_LinkUnitReview"></div> </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="1 Atlantic City Expressway, Atlantic City, New Jersey, United States." /> </form> <div class="panel2nd"> <div class="adv472" id="RedMediaAd"></div> </div> <div class="panel3nd"><h3 id="divRevTit">Atlantic City Rail Terminal 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('Atlantic City Rail Terminal');" 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 ©  2017 address007.com. All rights reserved.</div> <ul><li><a title='Privacy Policy' href="http://address007.com/StaticPages/PrivacyPolicy.aspx">Privacy Policy</a></li><li><a title='Contact Us' rel="nofollow" href="http://address007.com/StaticPages/Contact_Us.aspx?Nwid=9835" >Contact Us</a></li><li style="border-right:0"><a title='Sitemap' class="cp" href="http://address007.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-58992734-1', 'auto'); ga('send', 'pageview'); </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); var Strtitle = title[0].innerHTML //Strtitle = Strtitle.replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A").replace(" ", "%0A"); //alert('https://mail.google.com/mail/u/0/?view=cm&fs=1&to=To@Gmail.com&su=' + Strtitle + '&body=' + divId + '&tf=1') window.open('https://mail.google.com/mail/u/0/?view=cm&fs=1&to=To@Gmail.com&su=' + Strtitle + '&body=' + divId + '&tf=1', '_blank'); } 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=\"http://address007.com/images/logo.png\" alt=\"address007.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('http://address007.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 */ /*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 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+/, ""); }