function registerClick() { var axel = Math.random() + ""; var num = axel * 1000000000000000000; var dummy = new Image(); dummy.src = "http://ad.cl.doubleclick.net/adj/N884.123.cl/B2285850;sz=1x1;ord=" + num; } function mailpage() { // first register the click for tracking registerClick(); // now show the default mail client mail_str = "mailto:?subject=" + document.title; mail_str += "&body=" + location.href; location.href = mail_str; } function register_mail_click() { var axel = Math.random()+""; var a = axel * 10000000000000; var dyn_img = new Image(); dyn_img.src = "http://fls.doubleclick.net/activityi;src=2375769;type=mirap077;cat=email050;ord="+ a + "?"; } function register_print_click() { var axel = Math.random()+""; var a = axel * 10000000000000; var dyn_img = new Image(); dyn_img.src = "http://fls.doubleclick.net/activityi;src=2375769;type=mirap077;cat=print908;ord="+ a + "?"; } function type_sizer(s) { window.document.body.className = s; } function disclaimer_popup() { return confirm(" You have selected a link to a Web site that exists outside of the mirapex.com/pd Web site.\n Boehringer Ingelheim Pharmaceuticals, Inc. provides access to these sites as a service to\n mirapex.com/pd visitors, and is not responsible or liable for the content and information\n presented within any external site."); } function disclaimer_links() { var e = window.event; var elements = (document.links) ? document.links : document.getElementsByTagName("a"); var searchStr = "elements[i].href.search(/^" + document.location.protocol + "\\/\\/" + document.location.hostname + "(:\\d{2,4})?\\//)"; for (var i = 0; i < elements.length; ++i) { if (elements[i].href && elements[i].href.search(/bidocs/) == -1 && elements[i].href.search(/^javascript:/) == -1 && elements[i].href.search(/^mailto:/) == -1 && elements[i].href.search(/^https?:\/\/(www\.)?frx\.com/) == -1 && eval(searchStr) == -1) { elements[i].onclick = function() { return disclaimer_popup(); }; } } } window.onload = disclaimer_links;