WebFontConfig = { google: { families: [ 'Della+Respira', 'Muli' ] } }; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); //Add stylesheet var protocol = ('https:' == document.location.protocol ? 'https' : 'http'); var _includeURL = protocol + '://www.testimonialtree.com/Widgets/'; //Add widget load to stats var iphttp_request = TT_createCrossDomainRequest(); function TT_httpGet(theUrl) { var xmlHttp = null; xmlHttp = new XMLHttpRequest(); xmlHttp.open( "GET", theUrl, true ); xmlHttp.send( null ); return xmlHttp.responseText; } function TT_getIP(JSONObject) { if (iphttp_request) { try{ if (window.XDomainRequest) { iphttp_request.onload = function () { JSONObject = JSON.parse(iphttp_request.responseText); TT_httpGet(statsUrl+'&ip='+JSONObject.ip+'&lat='+JSONObject.lat+'&lng='+JSONObject.lng); }; iphttp_request.open("GET", "http://api.hostip.info/get_json.php?position=true", true); iphttp_request.send(); } else { iphttp_request.onreadystatechange = TT_IPCallhandler; iphttp_request.open('GET', "http://api.hostip.info/get_json.php?position=true", true); iphttp_request.send(); }; } catch(error) { }; }; } function TT_IPCallhandler(evtXHR) { if (iphttp_request.readyState == 4) { if (iphttp_request.status == 200) { JSONObject = JSON.parse(iphttp_request.responseText); TT_httpGet(statsUrl+'&ip='+JSONObject.ip+'&lat='+JSONObject.lat+'&lng='+JSONObject.lng); } else { //alert("request Errors Occured"); } iphttp_request = null; } } function TT_createCrossDomainRequest(url, handler) { //var var httpRequest = null; //var if (window.XDomainRequest) { httpRequest = new window.XDomainRequest(); httpRequest.onload = function () { callBack(httpRequest.responseText) }; } else httpRequest = new XMLHttpRequest(); return httpRequest; } var params = encodeURIComponent('email=&username='); var statsUrl = _includeURL + 'logWidgetLoad.aspx?wid=39647¶ms=' + params; var ipJson; TT_getIP(ipJson); //End adding widget load to stats var v_css = document.createElement('link'); v_css.rel = 'stylesheet'; v_css.type = 'text/css'; //v_css.href = 'https://www.testimonialtree.com/Styles/TestimonialTree_Widget2.css'; v_css.href = protocol + '://www.testimonialtree.com/Styles/TestimonialTree_Widget2.css'; document.getElementsByTagName('head')[0].appendChild(v_css); var newEl = document.createElement('TABLE'); newEl.setAttribute('cellPadding',5); var tmp = document.createElement('TBODY'); newEl.appendChild(tmp); //Powered by TestimonialTree var AddTestimonialLink = document.createElement('A'); AddTestimonialLink.href= 'https://www.testimonialtree.com/?uid=178986'; AddTestimonialLink.target = '_blank'; AddTestimonialLink.innerHTML = '
[+] Add New Testimonial
'; //Powered by TestimonialTree var TestimonialLink = document.createElement('A'); TestimonialLink.href= 'https://testimonialtree.com'; TestimonialLink.target = '_blank'; TestimonialLink.innerHTML = '
Powered by TestimonialTree.com\&trade\;
'; window.onload=function() { document.getElementById('TestimonialTree_Widget_39647').appendChild(AddTestimonialLink); document.getElementById('TestimonialTree_Widget_39647').appendChild(TestimonialLink); };