var PeelGVScript=function(){function n(){}var t=function(){var u=document.getElementsByName("cm-name")[0].value,f=document.getElementsByName("email")[0].value,e=document.getElementsByName("futher-information-partners")[0].value,i="name="+u+"&email="+f,r,t;e.checked==!0&&(i+="&signed=1");r="data="+encodeURIComponent(i);t=new XMLHttpRequest;t.addEventListener("load",n);t.open("GET","https://peelazuregoldvisionwebservice.azurewebsites.net/api/PeelGV/SendToGV?website=mediacity&"+r);t.send()},i=function(){var t=document.getElementById("footer-news-signup");t.addEventListener("submit",function(){var i=document.getElementsByName("cm-name")[0].value,r=document.getElementsByName("email")[0].value,u="name="+i+"&email="+r,f="data="+encodeURIComponent(u),t=new XMLHttpRequest;t.addEventListener("load",n);t.open("GET","https://peelazuregoldvisionwebservice.azurewebsites.net/api/PeelGV/SendToGV?website=mediacity&"+f);t.send();setTimeout(function(){form.submit()},1e3)})};return{SendFormData:t,BindFormEvent:i}}(window)