These terms and conditions apply between you, the User of this Website (including any sub-domains, unless expressly excluded by their own terms and conditions), and Parkfield Dental Practice,  the owner and operator of this Website. Please read these terms and conditions carefully, as they affect your legal rights. Your agreement to comply with and be bound by these terms and conditions is deemed to occur upon your first use of the Website. If you do not agree to be bound by these terms and conditions, you should stop using the Website immediately. In these terms and conditions, User or Users means any third party that accesses the Website and is not either (i) employed by Parkfield Dental Practice, and acting in the course of their employment or (ii) engaged as a consultant or otherwise providing services to Parkfield Dental Practice, and accessing the Website in connection with the provision of such services. You must be at least 18 years of age to use this Website. By using the Website and agreeing to these terms and conditions, you represent and warrant that you are at least 18 years of age.

                    // $(document).ready(function(){ if (!$.cookie('Accept_ParkField_Covid_Info')) { $('.covid-notice-section').show(); var date = new Date(); date.setTime(date.getTime() + 24 * 60 * 60 * 1000); $.cookie('Accept_ParkField_Covid_Info', true, { expires: date }); } }); // // $(document).ready(function(){ $('a.primary-dropdown-link-level-1').on('touchend',function(e){ e.stopPropagation(); $(this).parents().find('.primary-dropdown-link').find('img.dropdown-arrow').addClass("done"); return true; // prevents default action }); $('a.dropdown-nav-link').on('touchend',function(e){ if ($(this).hasClass("open")) { $(this).closest('.primary-dropdown-link').find('img.dropdown-arrow').addClass("done"); return true; // prevents default action } else { $('a.dropdown-nav-link').removeClass("open"); $('.primary-dropdown-link').removeClass("w--open"); $('.dropdown-list').removeClass("w--open"); $('.primary-dropdown-link').find('img.dropdown-arrow').removeClass("open"); $('.primary-dropdown-link').find('img.dropdown-arrow').css({'transform' : 'translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)'}); $(this).addClass("open"); $(this).closest('.primary-dropdown-link').addClass("w--open"); $(this).closest('.primary-dropdown-link').parent().find('.dropdown-list').addClass("w--open"); $(this).closest('.primary-dropdown-link').find('img.dropdown-arrow').css({'transform' : 'translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(180deg) skew(0deg, 0deg)'}); $(this).closest('.primary-dropdown-link').find('img.dropdown-arrow').addClass("open"); return false; // prevents default action } }); $('html').on('touchend',function(e){ $('a.dropdown-nav-link').removeClass("open"); $('.primary-dropdown-link').removeClass("w--open"); $('.dropdown-list').removeClass("w--open"); $('.primary-dropdown-link').find('img.dropdown-arrow').css({'transform' : 'translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)'}); }); }); // // $(document).ready(function () { $('a#other').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#straight-teeth').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#implants').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#smile').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#veneers').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#hygiene').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#toothpain').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); $('a#checkup').click(function () { var targeturl = $(this).attr("href"); var selectlink = $(this).attr("id"); var newurl = targeturl + "?option=" + selectlink ; $(this).attr('href', newurl); }); }); // (function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js","vgo"); vgo('setAccount', '224518463'); vgo('setTrackByDefault', true); vgo('process'); // $(document).ready(function () { $('.close-policy').click(function(e){ var container = $(".lightbox_overlay iframe"); if (!container.is(e.target) && container.has(e.target).length === 0){ $('.lightbox_overlay').fadeOut(200); } }); }); // !function(t){t.fn.twentytwenty=function(e){var e=t.extend({default_offset_pct:.5,orientation:"horizontal"},e);return this.each(function(){var n=e.default_offset_pct,i=t(this),a=e.orientation,s="vertical"===a?"down":"left",d="vertical"===a?"up":"right";i.wrap("
                    "),i.append("
                    ");var r=i.find("img:first"),w=i.find("img:last");i.append("
                    ");var c=i.find(".twentytwenty-handle");c.append(""),c.append(""),i.addClass("twentytwenty-container"),r.addClass("twentytwenty-before"),w.addClass("twentytwenty-after");var o=i.find(".twentytwenty-overlay");o.append("
                    "),o.append("
                    ");var f=function(t){var e=r.width(),n=r.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}},l=function(t){"vertical"===a?r.css("clip","rect(0,"+t.w+","+t.ch+",0)"):r.css("clip","rect(0,"+t.cw+","+t.h+",0)"),i.css("height",t.h)},v=function(t){var e=f(t);c.css("vertical"===a?"top":"left","vertical"===a?e.ch:e.cw),l(e)};t(window).on("resize.twentytwenty",function(){v(n)});var p=0,y=0;c.on("movestart",function(t){(t.distX>t.distY&&t.distX<-t.distY||t.distX-t.distY)&&"vertical"!==a?t.preventDefault():(t.distXt.distY&&t.distX>-t.distY)&&"vertical"===a&&t.preventDefault(),i.addClass("active"),p=i.offset().left,offsetY=i.offset().top,y=r.width(),imgHeight=r.height()}),c.on("moveend",function(){i.removeClass("active")}),c.on("move",function(t){i.hasClass("active")&&(n="vertical"===a?(t.pageY-offsetY)/imgHeight:(t.pageX-p)/y,0>n&&(n=0),n>1&&(n=1),v(n))}),i.find("img").on("mousedown",function(t){t.preventDefault()}),t(window).trigger("resize.twentytwenty")})}}(jQuery); !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t,e){function n(t){function e(){a?(n(),O(e),i=!0,a=!1):i=!1}var n=t,a=!1,i=!1;this.kick=function(){a=!0,i||e()},this.end=function(t){var e=n;t&&(i?(n=a?function(){e(),t()}:t,a=!0):t())}}function a(){return!0}function i(){return!1}function o(t){t.preventDefault()}function r(t){z[t.target.tagName.toLowerCase()]||t.preventDefault()}function u(t){return 1===t.which&&!t.ctrlKey&&!t.altKey}function c(t,e){var n,a;if(t.identifiedTouch)return t.identifiedTouch(e);for(n=-1,a=t.length;++ni*i+o*o||y(t,e,n,i,o,a)}function Y(){return this._handled=a,!1}function w(t){t._handled()}function y(t,e,n,a,i,o){{var r,u;e.target}r=t.targetTouches,u=t.timeStamp-e.timeStamp,e.type="movestart",e.distX=a,e.distY=i,e.deltaX=a,e.deltaY=i,e.pageX=n.pageX,e.pageY=n.pageY,e.velocityX=a/u,e.velocityY=i/u,e.targetTouches=r,e.finger=r?r.length:1,e._handled=Y,e._preventTouchmoveDefault=function(){t.preventDefault()},N(e.target,e),o(e.identifier)}function T(t){var e=t.data.timer;t.data.touch=t,t.data.timeStamp=t.timeStamp,e.kick()}function S(t){var e=t.data.event,n=t.data.timer;k(),F(e,n,function(){setTimeout(function(){L(e.target,"click",i)},0)})}function k(){L(document,Q.move,T),L(document,Q.end,S)}function _(t){var e=t.data.event,n=t.data.timer,a=d(t,e);a&&(t.preventDefault(),e.targetTouches=t.targetTouches,t.data.touch=a,t.data.timeStamp=t.timeStamp,n.kick())}function q(t){var e=t.data.event,n=t.data.timer,a=c(t.changedTouches,e.identifier);a&&(A(e),F(e,n))}function A(t){L(document,"."+t.identifier,_),L(document,"."+t.identifier,q)}function D(t,e,n){var a=n-t.timeStamp;t.type="move",t.distX=e.pageX-t.startX,t.distY=e.pageY-t.startY,t.deltaX=e.pageX-t.pageX,t.deltaY=e.pageY-t.pageY,t.velocityX=.3*t.velocityX+.7*t.deltaX/a,t.velocityY=.3*t.velocityY+.7*t.deltaY/a,t.pageX=e.pageX,t.pageY=e.pageY}function F(t,e,n){e.end(function(){return t.type="moveend",N(t.target,t),n&&n()})}function R(){return K(this,"movestart.move",w),!0}function x(){return L(this,"dragstart drag",o),L(this,"mousedown touchstart",r),L(this,"movestart",w),!0}function b(t){"move"!==t.namespace&&"moveend"!==t.namespace&&(K(this,"dragstart."+t.guid+" drag."+t.guid,o,e,t.selector),K(this,"mousedown."+t.guid,r,e,t.selector))}function j(t){"move"!==t.namespace&&"moveend"!==t.namespace&&(L(this,"dragstart."+t.guid+" drag."+t.guid),L(this,"mousedown."+t.guid))}var C=6,K=t.event.add,L=t.event.remove,N=function(e,n,a){t.event.trigger(n,a,e)},O=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(function(){t()},25)}}(),z={textarea:!0,input:!0,select:!0,button:!0},Q={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},B={move:"touchmove",cancel:"touchend",end:"touchend"};t.event.special.movestart={setup:R,teardown:x,add:b,remove:j,_default:function(t){function a(){D(o,r.touch,r.timeStamp),N(t.target,o)}var o,r;t._handled()&&(o={target:t.target,startX:t.startX,startY:t.startY,pageX:t.pageX,pageY:t.pageY,distX:t.distX,distY:t.distY,deltaX:t.deltaX,deltaY:t.deltaY,velocityX:t.velocityX,velocityY:t.velocityY,timeStamp:t.timeStamp,identifier:t.identifier,targetTouches:t.targetTouches,finger:t.finger},r={event:o,timer:new n(a),touch:e,timeStamp:e},t.identifier===e?(K(t.target,"click",i),K(document,Q.move,T,r),K(document,Q.end,S,r)):(t._preventTouchmoveDefault(),K(document,B.move+"."+t.identifier,_,r),K(document,B.end+"."+t.identifier,q,r)))}},t.event.special.move={setup:function(){K(this,"movestart.move",t.noop)},teardown:function(){L(this,"movestart.move",t.noop)}},t.event.special.moveend={setup:function(){K(this,"movestart.moveend",t.noop)},teardown:function(){L(this,"movestart.moveend",t.noop)}},K(document,"mousedown.move",m),K(document,"touchstart.move",p),"function"==typeof Array.prototype.indexOf&&!function(t){for(var e=["changedTouches","targetTouches"],n=e.length;n--;)-1===t.event.props.indexOf(e[n])&&t.event.props.push(e[n])}(t)}); $(function(){ setTimeout(function(){ $(".twentytwenty-container").twentytwenty(); }, 2000); }); $(window).load(function() { setTimeout(function(){ $("#beforeafter").twentytwenty(); }, 1800); }); // // Webflow.push(function() { $('.copyright-year').text(new Date().getFullYear()); }); // // jQuery(document).ready(function($){ // When the input changes, add +44 - if needed, change #phone to the proper input ID $('#phone').change(function(){ var phone = $(this).val(); if (phone.indexOf("+44") >= 0){ // do nothing, the number contains the country code } else { // current value does not contain +44, so we add it in if (phone.startsWith("0")){ phone = phone.substring(1, phone.length); $(this).val('+44 ' + phone); } else { $(this).val('+44 ' + phone); } } }); }); // // $(document).ready(function () { $('a#sticky-chat').click(function () { $crisp.push(['do', 'chat:open']); }); }); } } let interval; if (document.cookie.includes("isScriptsAllowed=true")) { console.log('found cookies - firing footer') loadCustomScript(); } else{ console.log('footer delaying 5 secs') setTimeout(loadCustomScript, 5000); } // function checkAndLoadScript() { // if (document.cookie.includes("isScriptsAllowed=true")) { // console.log('Footer Condition met - clearing interval and loading script'); // clearInterval(interval); // loadCustomScript(); // } else { // console.log('Footer Condition not met - interval continues'); // } // } // interval = setInterval(checkAndLoadScript, 5000);