//=========================================================== // 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){ if (intWidth == null || intHeight == null) {intWidth=750;intHeight=535;} if (blnScroll == null) {blnScroll='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=no,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=no,menubar=no,top=0,left=20"); NewWindow.resizeTo(intWidth, intHeight); NewWindow.focus(); } //================================================= // show leaving the site warning //================================================= var ExitPopUpsEnabled = true; var SiteExceptions = new Array ("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.organon.com.au","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.organon.nl", "www.kinderwens.be", "www.fertilityjourney.com.my", "www.organon.de", "www.adobe.com","www.hcp-nuvaring-de.com","www.fertilitetsguiden.nu","www.schildklierzorg.nl","www.nuvaring.nl","smpc.organon.nl","www.schering-plough.com","www.schering-plough.nl","t212.organon-demo01.com","sms.nuvaring.de","smpc.organon.com","www.organon.es","www.spfiles.com","www.schering-plough.no","www.msd.no","www.remicade.no"); function ReplaceLinks() { var currentdomain = document.domain; if (ExitPopUpsEnabled) { for (l=0; l 0) { if (this[i-1].toUpperCase() === search_term) return true; } } while (--i); return false; } function linkform() { window.location.href="/Servicesupport/Supporting_Simponi/support.asp"; } //var subURL; function faq(faqno) { /* subURL=window.location.href.replace(document.domain,"").replace("http://",""); //alert(subURL); if ((subURL== "/Servicesupport/Supporting_Simponi/index.asp") && (faqno==2) ) { //alert(subURL); //document.getElementById("faqans" + 2).style.display="block"; //document.getElementById("faq" + 2).style.backgroundImage="url(/images/plus.jpg)"; window.location.href="/Servicesupport/Supporting_Simponi/support.asp"; } */ if(document.getElementById("faqans" + faqno).style.display.match("none")) { // alert("test"); //element_name = document.getElementById("faqans" + faqno); document.getElementById("faqans" + faqno).style.display="block"; //alert(document.getElementById("faqans" + faqno).style.display); document.getElementById("faq" + faqno).style.backgroundImage="url(/images/sub.jpg)"; // document.getElementById("faqans" + faqno).style.height= String(element_name.offsetHeight+250)+"px"; } else { // alert("test"); document.getElementById("faqans" + faqno).style.display="none"; document.getElementById("faq" + faqno).style.backgroundImage= "url(/images/plus.jpg)"; //document.getElementById("container").style.maxHeight="250"+"px"; window.location.href = window.location.href; // window.location.reload( true ); } } //$(document).ready(function() { // $('#faqshowhide a').toggle(function() { // $('.faq1').removeClass('imgshow'); // $('.faq1').addClass('imghide'); // $('#showcontent1').removeClass('hide'); // $('#showcontent1').addClass('show'); // }, function() { // $('.faq1').removeClass('imghide'); // $('.faq1').addClass('imgshow'); // $('#showcontent1').removeClass('show'); // $('#showcontent1').addClass('hide'); // }); ////alert('test') //}); // Navigation PopUp function Navpopup() { } var min=8; var max=16; var p_min=8; var p_max=16; var h1_min=20; var h1_max=27; var h2_min=10; var h2_max=18; var h3_min=9; var h3_max=17; var li_max=16; var li_min=8; var a_max=16; var a_min=8; var div_max=16; var div_min=8; var td_min=8; var td_max=16; var span_min=8; var span_max=16; function increaseFontSize() { var body = document.getElementById('contentarea'); if (document.getElementsByTagName('p')) { var p = document.getElementsByTagName('p'); for(i=0;i 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=300; 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=60)'; //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"; } function Validate() { if(document.getElementById("title1").value=="0") { alert("Please select the title"); document.support_form.title1.focus(); return false; } if(document.getElementById("firstname").value=="") { alert("Please enter the first name"); document.support_form.firstname.focus(); return false; } if(document.getElementById("familyname").value=="") { alert("Please enter the family name"); document.support_form.familyname.focus(); return false; } if((document.getElementById("address1").value=="") && (document.getElementById("address2").value=="") && (document.getElementById("address3").value=="") && (document.getElementById("address4").value=="") && (document.getElementById("address5").value=="") ) { alert("Please enter the address"); document.support_form.address1.focus(); return false; } if(document.getElementById("postcode").value=="") { alert("Please enter the post code"); document.support_form.postcode.focus(); return false; } if(document.getElementById("country").value=="-99") { alert("Please select the country"); document.support_form.country.focus(); return false; } if(document.getElementById("language").value=="0") { alert("Please select the langauage"); document.support_form.language.focus(); return false; } if(document.getElementById("day").value=="0") { alert("Please select the day for your Date of Birth"); document.support_form.day.focus(); return false; } if(document.getElementById("month").value=="0") { alert("Please select the month for your Date of Birth"); document.support_form.month.focus(); return false; } if(document.getElementById("year").value=="0") { alert("Please select the year for your Date of Birth"); document.support_form.year.focus(); return false; } if(document.getElementById("disease").value=="0") { alert("Please select the disease"); document.support_form.disease.focus(); return false; } if(document.getElementById("regcode").value=="") { alert("Please enter the registration code"); document.support_form.regcode.focus(); return false; } blnChecked = new Boolean() for(i=0; i