One call is all it takes for us to take charge of your case.
CONTACT KING LAW
At King Law our mantra is, Take Charge. That means controlling everything you can, even during the most challenging times. We believe that good lawyers can use the legal system to help people and improve their situation in life. If you are experiencing a life changing moment and think you might need a lawyer to help you, it would be our privilege to speak to you free of charge.
Office Information
King Law: A Criminal Defense
& Personal Injury Law Firm
650 Clinton Square
Rochester, NY 14604
Tel: (585) 270-8882
Fax: (585) 252-4604
Map & Directions [+]
Need to Make a Payment?
function showCheckoutWindow(e) {
e.preventDefault();
const url = document.getElementById('embedded-checkout-modal-checkout-button').getAttribute('data-url');
const title = 'Square Online Checkout';
// Some platforms embed in an iframe, so we want to top window to calculate sizes correctly
const topWindow = window.top ? window.top : window;
// Fixes dual-screen position Most browsers Firefox
const dualScreenLeft = topWindow.screenLeft !== undefined ? topWindow.screenLeft : topWindow.screenX;
const dualScreenTop = topWindow.screenTop !== undefined ? topWindow.screenTop : topWindow.screenY;
const width = topWindow.innerWidth ? topWindow.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
const height = topWindow.innerHeight ? topWindow.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
const h = height * .75;
const w = 500;
const systemZoom = width / topWindow.screen.availWidth;
const left = (width - w) / 2 / systemZoom + dualScreenLeft;
const top = (height - h) / 2 / systemZoom + dualScreenTop;
const newWindow = window.open(url, title, `scrollbars=yes, width=${w / systemZoom}, height=${h / systemZoom}, top=${top}, left=${left}`);
if (window.focus) newWindow.focus();
}
// This overrides the default checkout button click handler to show the embed modal
// instead of opening a new tab with the given link url
document.getElementById('embedded-checkout-modal-checkout-button').addEventListener('click', function (e) {
showCheckoutWindow(e);
});