By submitting your enquiry with LRHG, you indicate that you have read LRHG’s privacy collection notice and acknowledge that your personal information will be handled in accordance with that notice.
var formUrl = jQuery('#blockrandom').attr('src');
// check if the cookie exists then get it, and append to the IFrame source
var cookie = getCookie("hubspotutk");
if (cookie != "") {
jQuery('#blockrandom').attr('data-cookie', cookie);
// hash the cookie value on to the URL
document.getElementById('blockrandom').src = formUrl + "#hubspotutk="+cookie;
}
// method to get the cookie value
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}