274
| <![CDATA[<script type="text/javascript">
function showUrl() {
var urlSite = document.URL;
var titleSite = document.title;
document.getElementById("novo-btn-wpp").href = 'whatsapp://send?text='+urlSite;
document.getElementById("novo-btn-face").href = 'https://www.facebook.com/sharer/sharer.php?u='+urlSite;
document.getElementById("novo-btn-gplus").href = 'https://plus.google.com/share?url='+urlSite;
document.getElementById("novo-btn-twitter").href = 'https://twitter.com/intent/tweet?text='+titleSite+'&url='+urlSite+'&via=mec_comunicacao';
}
showUrl();
function popupwindow(url, title, w, h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>]]>
|