// cookie functions http://www.quirksmode.org/js/cookies.html function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; 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,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { createCookie(name,"",-1); } // /cookie functions function setWebTrendsCookie() { var webtrends = readCookie("WEBTRENDS_BI"); var title = webtrends ? webtrends : createCookie("WEBTRENDS_BI", hexIt()+hexIt()+hexIt()+hexIt()+hexIt()+hexIt()+hexIt()+hexIt(), 365); } function hexIt() { return (((1+Math.random())*0x10000)|0).toString(16).substring(1); } function openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function goToOutside(site){ if(confirm("Please Note: You are now leaving a Boehringer Ingelheim Pharmaceuticals, Inc. site. Boehringer Ingelheim Pharmaceuticals, Inc. has not reviewed the contents of all the pages and sites that may be linked to this site. Boehringer Ingelheim Pharmaceuticals, Inc. is not responsible and disclaims any liability to the content of any other page or site or for any viruses or similar harmful programs that may be present on such pages or sites. Linking to any other page or site is at your own risk.")) openBrWindow(site,'FLOMAX',''); } setWebTrendsCookie();