//=========================================================== // This function is required for IE only, as it doesn't support // the :hover pseudo class on elements other then //============================================================ function InitializeMenu() { if (document.all && document.getElementById) { var navRoot = document.getElementById("Nav"); for (i=0; i of the document being sent var strPageTitle = escape( parent.document.title ); var strURLParams = '?ForceUserDeserialize=-1&pageToSend=' + strCurrentUrl + '&pageTitle=' + strPageTitle + '&mode=submitted'; var strURL = objLink.href + strURLParams; var strWindowProperties = 'width=409,height=460,scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no'; // open the window openWindow(strURL ,'send_to_a_friend', strWindowProperties); // prevent any further code from executing return false; } //================================================= // Open an new window with customized properties //================================================= function openWindow(URL, Name, Args){ popupWin = window.open(URL, Name, Args); popupWin.focus(); } function printPage(){ if (window.print) window.print(); else alert('Your browser does not support javascript printing.\nTo print this page, select File: Print from your menu.\nThis page is already printer friendly.'); } //================================================= // Open an new window with for popupimage //================================================= function popupwindowscroll(url, intWidth,intHeight,blnScroll,blnResize){ if (intWidth == null || intHeight == null) {intWidth=750;intHeight=535;} if (blnScroll == null) {blnScroll='yes';} if (blnResize == null) {blnResize='yes';} // this is the common window for popups. it resizes to the size needed //NewWindow = window.open(url,"POPUPWINDOWSCROLL","toolbar=no,width="+intWidth+",height="+intHeight+",directories=no,status=no,scrollbars=yes,resizable="+blnResize+",menubar=no,top=0,left=20"); window.name ="NewWindow"; NewWindow = window.open(url,"POPUPWINDOWSCROLL","toolbar=no,width="+intWidth+",height="+intHeight+",directories=no,status=no,scrollbars="+blnScroll+",resizable="+blnResize+",menubar=no,top=0,left=20"); NewWindow.resizeTo(intWidth, intHeight); NewWindow.focus(); } function AttachEvent(obj,evt,fnc,useCapture){ if (!useCapture) useCapture=false; if (obj.addEventListener){ obj.addEventListener(evt,fnc,useCapture); return true; } else if (obj.attachEvent) return obj.attachEvent("on"+evt,fnc); else{ MyAttachEvent(obj,evt,fnc); obj['on'+evt]=function(){ MyFireEvent(obj,evt) }; } } //The following are for browsers like NS4 or IE5Mac which don't support either //attachEvent or addEventListener function MyAttachEvent(obj,evt,fnc){ if (!obj.myEvents) obj.myEvents={}; if (!obj.myEvents[evt]) obj.myEvents[evt]=[]; var evts = obj.myEvents[evt]; evts[evts.length]=fnc; } function MyFireEvent(obj,evt){ if (!obj || !obj.myEvents || !obj.myEvents[evt]) return; var evts = obj.myEvents[evt]; for (var i=0,len=evts.length;i 0) { if (this[i-1].toUpperCase() === search_term) return true; } } while (--i); return false; } //================================================= // show leaving the site warning //================================================= var ExitPopUpsEnabled = false; if ('yes' == 'yes') { var ExitPopUpsEnabled = true; } String.prototype.stripSpaces = function( ){ return this.replace( /\s/g, "" ); }; var SiteExceptions = "www.organon.com,hcp.organon.com,www.organon-conferences.com,www.psychiatrymatters.md,www.remeronsoltab.md,www.nuvaring.md,www.orgyn.com,www.implanon.md,www.cerazette.md,www.contraception.net,www.nuvaring.com,www.mycontraceptive.com,www.cyclessa.com,www.marvelon.ca,www.puregonpen.com,www.puregon.md,www.puregon.com,www.follistim.com,www.fertilityjourney.com,www.livial.md,www.liviella.de,hcp.livial.info,www.livial.com,www.andriol.md,www.andriol.com,www.andropause.com,www.anesthesianow.com,www.esmeron.md,www.zemuron.com,www.oncotice.md, www.kinderwens.nl, www.fertilityjourney.com.sg, www.unserwunschkind.at, www.kinderwunsch.de, www.jeveux1bebe.be, www.viajandohacialafertilidad.com, www.kinderwens.be, www.fertilityjourney.com.my, www.fertilitetsguiden.nu, www.organon.de, www.adobe.com,www.hcp-nuvaring-de.com, sms.nuvaring.de, smpc.organon.com,www.psychiatrymatters.co.jp,www.psychiatrymatters.jp,www.organon.jp,www.current-medicine-group.com,www.schering-plough.com,www.schering-plough.es,www.hepcenter.com,www.hepcenter.de,www.merck.com".stripSpaces().split(',') var SiteInclusions = "".stripSpaces().split(','); function ReplaceLinks() { var currentdomain = document.domain; if (ExitPopUpsEnabled) { for (l=0; l document.body.offsetHeight ) { pageWidth = document.body.scrollWidth; pageHeight = document.body.scrollHeight; } else { pageWidth = document.body.offsetWidth + document.body.offsetLeft; pageHeight = document.body.offsetHeight + document.body.offsetTop; } //alert(pageHeight); return pageHeight; } function OpenPopup() { var pageHeight; pageHeight = windowproper(); htmlElement.style.overflowY = 'hidden'; htmlElement.style.overflowX = 'hidden'; //alert(pageHeight); //window.scrollTo(0,pageHeight); StockWidthPopup=440; StockHeightPopup=190; PositionneLelayPopup(); getObj('contenerPopupSite').style.display='block'; getObj('contenerPopupSite').style.height=StockHeightPopup + "px" getObj('contenerPopupSite').style.width=StockWidthPopup + "px" getObj('layerfullpage').style.display='block'; //getObj('layerfullpage').style.height=document.documentElement.scrollTop + 600 + "px" getObj('layerfullpage').style.height=pageHeight + "px"; getObj('layerfullpage').style.filter='alpha(opacity=85)'; //window.scrollTo(0,pageHeight); } function closePopup() { //location.reload(true); top.getObj('contenerPopupSite').style.display='none'; top.getObj('layerfullpage').style.height=""; top.getObj('layerfullpage').style.display='none'; //objFramePop=top.getObj("FramePopSite"); //objFramePop.src=""; htmlElement.style.overflowY = 'scroll'; //document.body.style.marginRight='0px'; //top.document.getElementById('contenerPopupSite').style.left ="0px"; //top.document.getElementById('contenerPopupSite').style.top = "0px"; }