// global variables ---------- var isNav, isIE, isNavSix; var coll = ""; var styleObj = ""; var exitText = "By selecting this link, you will be leaving RISEsupport.com and going to a site that is not controlled by or affiliated with Genentech, Inc. or Biogen Idec Inc. Genentech and Biogen Idec are neither affiliated with nor endorse any of the aforementioned organizations. The information provided by Genentech and Biogen Idec or these organizations is meant for informational purposes only and is not meant to replace your doctor's medical advice."; var navIdOn=""; // Nav item to be set to On State var webcastDate=''; //---------------------------- // Prevent page from being framed by another site //(exclude Healthline overlay forms) /** if (self != top && location.href.indexOf('/join-rise') < 0 ) { if (document.images) top.location.replace(window.location.href); else top.location.href = window.location.href; } **/ //-------------------------------- if (parseInt(navigator.appVersion) >= 4) { if (navigator.appName == "Netscape") { isNav = true; if (parseInt(navigator.appVersion) >= 5) { isNavSix = true; } } else { isIE = true; coll = "all."; styleObj = ".style"; } } // Preload nav images MM_preloadImages( 'images/nav/community.gif', 'images/nav/community_on.gif', 'images/nav/community_over.gif', 'images/nav/home.gif', 'images/nav/home_on.gif', 'images/nav/home_over.gif', 'images/nav/lifestyle.gif', 'images/nav/lifestyle_on.gif', 'images/nav/lifestyle_over.gif', 'images/nav/treatment.gif', 'images/nav/treatment_on.gif', 'images/nav/treatment_over.gif', 'images/nav/nav_bottom.gif', 'images/nav/nav_bottom_on.gif', 'images/nav/seperator.gif', 'images/nav/seperator_bottom_on.gif', 'images/nav/seperator_on.gif', 'images/nav/seperator_over.gif', 'images/nav/seperator_top_on.gif'); //************************************************************ //Change the class of left-nav element //************************************************************ function chgClass(navId, theClass) { if (navId===navIdOn) { return; } if (theClass=='nav-on' || theClass=='nav-on-last') { navIdOn=navId; document.getElementById(navId).className = theClass; } else { document.getElementById(navId).className = theClass; } } // convert object name string or object reference into a valid object reference function getObject(obj) { var theObj; if (typeof obj == "string") { theObj = eval("document." + coll + obj + styleObj); } else { theObj = obj; } if (isNavSix) { theObj = document.getElementById(obj).style } return theObj; } // show object function show(obj) { var theObj = getObject(obj); theObj.visibility = "visible"; } // hide object function hide(obj) { var theObj = getObject(obj); theObj.visibility = "hidden"; } //show object function showDiv(id) { var theDiv = document.getElementById(id); theDiv.style.display="block"; } // hide object function hideDiv(id) { var theDiv = document.getElementById(id); theDiv.style.display="none"; } // move object function move(obj,x,y) { var theObj = getObject(obj); if (isIE) { theObj.pixelLeft = x; theObj.pixelTop = y; } else if (isNav) { theObj.moveTo(x,y);//x,y in pixels } } // rollover function chgImg(imgName, imgSrc) { document.images[imgName].src = imgSrc; } // open window function openWin(arg_url, arg_name, arg_width, arg_height, arg_scroll, arg_resize) { var win = window.open(arg_url,arg_name,'scrollbars=' + arg_scroll + ',resizable=' + arg_resize + ',width=' + arg_width + ',height=' + arg_height); } // close window function closeWin() { window.close(); } // print window function printWin() { window.print(); } // set cookie function setCookie(name, value, days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else expires = ""; document.cookie = name + "=" + value + expires +"; path=/"; } // get cookie function getCookie(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; } // check text size cookie function checkCookie() { var cookie = getCookie("screensize"); var className = cookie != null ? changeTextSize(cookie) : changeTextSize("screenlarge", 1); } // check cookie on window load window.onload = function (e) { checkCookie(); } // change text size via css with optional cookie parameter function changeTextSize(cssClass, setC) { if (document.getElementById) { // if this is not a printer friendly version if (document.getElementById("globalbody")) { document.getElementById("globalbody").className = cssClass; // Set class on layered window to force re-size var items = document.getElementsByName("divlayer"); for (var i=0; i-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) return this } bw=new checkBrowser() //With nested layers for netscape, this function hides the layer if it's visible and visa versa function showHide(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden' else obj.visibility='visible' } //Shows the div function show(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='visible' /* var posx = 0; var posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop; } obj.left = posx-30; obj.top = posy+10; */ } //Hides the div function hide(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='hidden' } function displayGlossary(term) { var definitionBegin = "
" + " " + "
"; var definition = ""; var definitionEnd = "
"; switch (term){ case "glossary_rituxan": definition = "Rituxan® (rituximab)
A prescription medicine for adults with moderate to severe RA who have not been helped enough by other treatments. It is used along with another medicine called methotrexate to reduce pain and symptoms, prevent further joint damage, and improve the ability to perform daily activities. Individual results may vary. People with serious infections should not receive Rituxan. Common side effects include infections and infusion reactions. For more information, visit www.Rituxan.com/RA."; definition = definition + "

View Full Glossary"; break; case "glossary_ra": definition = "rheumatoid arthritis (RA)
A chronic disease that occurs when the immune system attacks the body's joints and other tissues in the body."; definition = definition + "

View Full Glossary"; break; case "glossary_ra2": definition = "rheumatoid arthritis (RA)
A chronic disease that occurs when the immune system attacks the body's joints and other tissues in the body."; definition = definition + "

View Full Glossary"; break; case "glossary_ra3": definition = "rheumatoid arthritis (RA)
A chronic disease that occurs when the immune system attacks the body's joints and other tissues in the body."; definition = definition + "

View Full Glossary"; break; case "glossary_symptoms": definition = "symptom
A sign or an indication of a disorder or disease, especially when experienced by an individual as a change from normal function, sensation, or appearance."; definition = definition + "

View Full Glossary"; break; case "glossary_flares": definition = "flare
A term used to describe times when RA is at its worst."; definition = definition + "

View Full Glossary"; break; case "glossary_rheu": definition = "rheumatologist
A physician who pursues additional training after medical school and specializes in the diagnosis, treatment, and prevention of arthritis and other rheumatic disorders."; definition = definition + "

View Full Glossary"; break; case "glossary_dmard": definition = "disease-modifying antirheumatic drugs (DMARDs)
A category of drugs used in RA to slow down the development of the disease (eg, methotrexate, leflunomide, hydroxychloroquine sulfate)."; definition = definition + "

View Full Glossary"; break; case "glossary_symptoms": definition = "symptom
A sign or an indication of a disorder or disease, especially when experienced by an individual as a change from normal function, sensation, or appearance."; definition = definition + "

View Full Glossary"; break; case "glossary_brm": definition = "biologic
A treatment made from proteins produced in living cells."; definition = definition + "

View Full Glossary"; break; case "glossary_tnf": definition = "tumor necrosis factor (TNF)
A chemical messenger of the immune system that is involved in RA."; definition = definition + "

View Full Glossary"; break; case "glossary_inflame": definition = "inflammation
The reaction of body tissues to injury such as irritation in the lining of the joints. Inflammation is characterized by pain, heat, redness, swelling, and loss of function."; definition = definition + "

View Full Glossary"; break; case "glossary_antitnf": definition = "anti-TNFs (or TNF inhibitors)
A class of biologic DMARDs that targets TNF, one of the chemical messengers involved in RA (eg, adalimumab, etanercept, infliximab)."; definition = definition + "

View Full Glossary"; break; case "glossary_bcelltherapy": definition = "targeted B-cell therapy
A treatment that selectively reduces the number of specific B-cells in the blood (eg, Rituximab)."; definition = definition + "

View Full Glossary"; break; case "glossary_bcells": definition = "B-cell
A type of white blood cell that is made in the bone marrow, where it matures through different stages into a plasma cell. Plasma cells are involved in fighting infections by producing antibodies that bring about an immune response. Mature B-cells are found within the blood, lymph, and connective tissue."; definition = definition + "

View Full Glossary"; break; case "glossary_tcellmod": definition = "T-cell modulators
A biologic treatment that attempts to block the signals that activate T-cells—a type of white blood cell believed to play a role in the development of RA."; definition = definition + "

View Full Glossary"; break; case "glossary_interleuk1": definition = "inerleukin-1 inhibitor
A biologic treatment that targets a chemical in the immune system called interleukin-1, which is thought to help cause the inflammation of RA."; definition = definition + "

View Full Glossary"; break; case "glossary_interleuk6": definition = "interleukin-6 inhibitor
A biologic treatment that targets a chemical in the immune system called interleukin-6, which is thought to help cause the inflammation of RA."; definition = definition + "

View Full Glossary"; break; case "glossary_white": definition = "white blood cell
A nearly colorless or "white" cell of the immune system that circulates mainly in the blood and lymph and participates in reactions to invading micro-organisms or foreign particles."; definition = definition + "

View Full Glossary"; break; case "glossary_side": definition = "side effect
An unwanted and potentially harmful effect of a drug."; definition = definition + "

View Full Glossary"; break; case "glossary_webcast": definition = "webcast
A virtual event that you can attend online or over the phone."; definition = definition + "

View Full Glossary"; break; } document.write(definitionBegin + definition + definitionEnd); } function displayManetteBio() { var definitionBegin = "
" + " " + "
"; var definition = "Manette's expertise in fitness and wellness was borne out of her days as a professional dancer. While performing on Broadway, she battled several chronic injuries before a rheumatologist eventually diagnosed her with fibromyalgia—a rheumatologic condition that causes long-lasting, widespread pain.

In searching for the right treatment approach for her, Manette consulted a variety of healthcare providers, including acupuncturists, nutritionists, and physical therapists. Ultimately, she earned her certification as a Pilates instructor and developed The LaChance Method™—a combination of various fitness and wellness programs designed to help people with RA and other related conditions."; var definitionEnd = "
"; document.write(definitionBegin + definition + definitionEnd); } /* Ambassador bios */ function displayJayBio() { var definitionBegin = "
" + " " + "
"; var definition = "Jay's biggest passion in life has always been karate. In fact, he spent 10 years on the U.S. National Team and traveled the globe to compete. After his diagnosis, he had to bow out from competition, but he worked with his doctor to find other ways to stay involved. Now he's an international referee and a technical advisor. And when he's feeling up to it, he still finds time to suit up and do some light training. By sharing his story, he hopes others will realize that RA doesn't have to keep you from being involved in your passions."; var definitionEnd = "
"; document.write(definitionBegin + definition + definitionEnd); } function displayAimeeBio() { var definitionBegin = "
" + " " + "
"; var definition = "Like many people, Aimee had no idea that someone so young could get RA. And then she was diagnosed at the age of 18. Coming to grips with this new reality was a challenge. But with support from her family, friends, and the members of her healthcare team, Aimee vowed to still pursue her dreams. So she went off to college, found a career, and is now on her way to starting a family. She hopes that sharing her story will let other young people with RA know that they are not alone."; var definitionEnd = "
"; document.write(definitionBegin + definition + definitionEnd); } function displayBeckyBio() { var definitionBegin = "
" + " " + "
"; var definition = "Throughout her journey with RA, Becky has learned the value of being vocal with her doctor. Shortly after being diagnosed, she found her calling as a rehabilitation counselor for people with disabilities. And when her symptoms started to get in the way, she wasn't shy about letting her doctor know. So the two of them worked together to find a treatment that could help her keep up at the office. Becky hopes that sharing her story will encourage others to be just as open with their doctors."; var definitionEnd = "
"; document.write(definitionBegin + definition + definitionEnd); } function displayJoannBio() { var definitionBegin = "
" + " " + "
"; var definition = "JoAnn has known her husband Roger for as long as he's had RA, and she's supported him every step of the way. When he started on an injection therapy, for example, she helped him with the shot. When he switched to an infusion therapy, she kept him company at the infusion center. JoAnn's hope is that sharing her story will help other care partners find the balance between letting your loved one be independent and letting them know you're there to support them."; var definitionEnd = "
"; document.write(definitionBegin + definition + definitionEnd); } // Open bio in "on" state. Close any other opened bios. function showBio(id) { // show selceted bio show(id); // change selected bio img to on state hideDiv(id+'-off'); showDiv(id+'-on'); //close any other opened bios var aimeeDiv = document.getElementById('aimee'); var jayDiv = document.getElementById('jay'); var beckyDiv = document.getElementById('becky'); var joannDiv = document.getElementById('joann'); if (aimeeDiv.id!=id) { aimeeDiv.style.visibility='hidden'; hideDiv('aimee-on'); showDiv('aimee-off'); } if (jayDiv.id!=id) { jayDiv.style.visibility='hidden'; hideDiv('jay-on'); showDiv('jay-off'); } if (beckyDiv.id!=id) { beckyDiv.style.visibility='hidden'; hideDiv('becky-on'); showDiv('becky-off'); } if (joannDiv.id!=id) { joannDiv.style.visibility='hidden'; hideDiv('joann-on'); showDiv('joann-off'); } } function toggleView(obj) { var docElem = document.getElementById(obj); if (document.lpops_registration.state.options[document.lpops_registration.state.selectedIndex].value == "CA") { document.getElementById(obj).className = "showElem"; } else { document.getElementById(obj).className = "hideElem"; } } function toggle(link, obj) { var element = document.getElementById(obj); if (element.style.display == "block") { link.className="arrowup_quiz"; element.style.display = "none"; } else { element.style.display = "block"; link.className="arrowdown_quiz"; } } function set_default_text(element,default_text){ var elem=$(element); var elem_val=elem.value; if(elem_val=="" || elem_val==" " || elem_val==default_text || elem_val==null){ elem.value=default_text; } } function hide_default_text(element,original_text){ var elem=$(element); var elem_val=elem.value; if(elem_val==original_text){ elem.value=""; } } function getUrlParameter(name) { var name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.href); if (results == null) { return ""; } else { return results[1]; } } // rollover article pager arrow function chgLinkText(action, linkId, name) { var linkObj = document.getElementById(linkId); if (linkObj.name=='') { if (action == 'over') { linkObj.style.color='#f6842d'; linkObj.style.textDecoration='underline'; } else { linkObj.style.color="#00458D"; linkObj.style.textDecoration='none'; linkObj.setAttribute("class", "article-nav"); } } } function chgLinkText2(action, linkId) { var linkObj = document.getElementById(linkId); if (action == 'over') { linkObj.style.color='#f6842d'; linkObj.style.textDecoration='none'; } else { linkObj.style.color="#00458D"; linkObj.style.textDecoration='none'; } } function disableAnchor(obj, disable){ if(disable){ var href = obj.getAttribute("href"); if(href && href != "" && href != null){ obj.setAttribute('href_bak', href); } obj.removeAttribute('href'); obj.style.color="gray"; } else{ obj.setAttribute('href', obj.attributes['href_bak'].nodeValue); obj.style.color="blue"; } } // IE6 Check function isIE6() { return (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.indexOf("MSIE 6") !=-1); } function dimBackground(divId){ var matte = document.getElementById(divId); /** var videoOverlay = document.getElementById('video-overlay-bg'); var flashJoin = document.getElementById('flashcontent-join'); var isFF2 = detectFF2(); if (isFF2 && videoOverlay) { //bug workaround -- ff2 css opacity + flash wmode transparent doesn't work if (flashJoin) { flashJoin.innerHTML='' + ''+ 'Join'; } if (matteOn==true) { matte.style.display="block"; matte.style.visibility="visible"; } else { videoOverlay.style.display="block"; videoOverlay.style.visibility="visible"; } //videoOverlay.style.backgroundColor="#ffffff"; } else { matte.style.display="block"; matte.style.visibility="visible"; } if(isIE6){ var pageDiv=$("pageDiv"); if(pageDiv){ pageDiv.style.overflowY="hidden"; pageDiv.style.overflowX="hidden"; } } */ matte.style.display="block"; matte.style.visibility="visible"; } function restoreBackground(divId){ var matte = document.getElementById(divId); /** var videoOverlay = document.getElementById('video-overlay-bg'); var flashJoin = document.getElementById('flashcontent-join'); var isFF2 = detectFF2(); if (isFF2 && videoOverlay) { //bug workaround -- osx ff2 css opacity + flash wmode transparent doesn't work if (flashJoin) { var so = new SWFObject("swf/homepage/homepage.swf", "Homepage Video", "543", "338", "8", "#ffffff"); so.addParam("wmode", "transparent"); so.write("flashcontent-join"); } if (matteOn==true) { matte.style.display="none"; matte.style.visibility="hidden"; } else { videoOverlay.style.display="none"; videoOverlay.style.visibility="hidden"; } } else { matte.style.display="none"; matte.style.visibility="hidden"; } if(isIE6){ var pageDiv=$("pageDiv"); if(pageDiv){ pageDiv.style.overflowY="auto"; pageDiv.style.overflowX="hidden"; } } **/ matte.style.display="none"; matte.style.visibility="hidden"; } function showOverlay(){ var wellnessCallout = document.getElementById('wellness-callout'); var archiveCallout = document.getElementById('archive-callout'); var overlayDiv = document.getElementById('page-overlay'); var maskDiv = document.getElementById('wellness-mask'); var articleDiv = document.getElementById('article-body'); //matteOn=true; // for mac-ff2 dimBackground('matte2'); // gray out Manette article text articleDiv.className='article-body-overlay'; maskDiv.style.display="block"; overlayDiv.style.display="block"; overlayDiv.style.visibility="visible"; wellnessCallout.style.display="none"; wellnessCallout.style.visibility="hidden"; archiveCallout.style.display="block"; archiveCallout.style.visibility="visible"; } function closeOverlay(){ var wellnessCallout = document.getElementById('wellness-callout'); var archiveCallout = document.getElementById('archive-callout'); var overlayDiv = document.getElementById('page-overlay'); var maskDiv = document.getElementById('wellness-mask'); var articleDiv = document.getElementById('article-body'); overlayDiv.style.display="none"; overlayDiv.style.visibility="hidden"; wellnessCallout.style.display="block"; wellnessCallout.style.visibility="visible"; archiveCallout.style.display="none"; archiveCallout.style.visibility="hidden"; maskDiv.style.display="none"; articleDiv.className=''; restoreBackground('matte2'); //matteOn=false; // for mac-ff2 } function openVideo(isi){ var overlayDiv; if (document.getElementById('video-overlay-wide')) { overlayDiv = document.getElementById('video-overlay-wide'); if (document.getElementById('subpagecontent')) { document.getElementById('subpagecontent').className="subpagecontent-bg-off"; } if (document.getElementById('subpage-text')) { if (isIE) { document.getElementById('subpage-text').style.filter="alpha(opacity='30')"; document.getElementById('subpage-text').className="subpage-text-overlay"; if (document.getElementById('next-page-arrow')) { document.getElementById('next-page-arrow').style.zIndex="-1"; } } else { document.getElementById('subpage-text').style.opacity="0.3"; } } if (document.getElementById('callout')) { document.getElementById('callout').style.display="none"; } if (document.getElementById('page-text-faq')) { document.getElementById('page-text-faq').style.marginTop="-280px"; } } else { overlayDiv = document.getElementById('video-overlay'); } //matteOn=true; // for mac-ff2 if (document.getElementById('matte3')) { dimBackground('matte3'); } else { dimBackground('matte'); } overlayDiv.style.display="block"; overlayDiv.style.visibility="visible"; if (document.getElementById('video-mask')) { document.getElementById('video-mask').style.display="block"; } if (document.getElementById('flash-isi')) { document.getElementById('flash-isi').style.display="block"; } if (document.getElementById('video-spacer')) { document.getElementById('video-spacer').style.display="block"; } var isiDiv = document.getElementById('flash-isi'); if (isi && isi=='true') { // Display ISI flash module isiDiv.style.display="block"; } } function closeVideo(){ var overlayDiv; if (document.getElementById('video-overlay-wide')) { overlayDiv = document.getElementById('video-overlay-wide'); if (document.getElementById('subpagecontent')) { document.getElementById('subpagecontent').className="subpagecontent"; } if (document.getElementById('subpage-text')) { if (isIE) { document.getElementById('subpage-text').style.filter="alpha(opacity='100')"; document.getElementById('subpage-text').className="subpage-text"; if (document.getElementById('next-page-arrow')) { document.getElementById('next-page-arrow').style.zIndex="0"; } } else { document.getElementById('subpage-text').style.opacity="1"; } } if (document.getElementById('callout')) { document.getElementById('callout').style.display="block"; } if (document.getElementById('page-text-faq')) { document.getElementById('page-text-faq').style.marginTop="0"; } } else { overlayDiv = document.getElementById('video-overlay'); } if (document.getElementById('video-mask')) { document.getElementById('video-mask').style.display="none"; } if (document.getElementById('flash-isi')) { document.getElementById('flash-isi').style.display="none"; } if (document.getElementById('video-spacer')) { document.getElementById('video-spacer').style.display="none"; } overlayDiv.style.display="none"; overlayDiv.style.visibility="hidden"; if (document.getElementById('matte3')) { restoreBackground('matte3'); } else { restoreBackground('matte'); } //matteOn=false; // for mac-ff2+ } function showEAF(){ var div = document.getElementById('eaf-overlay'); var pageDivs = getElementsByClassName('subpage-text', 'div'); if (pageDivs.length>=1) { var obj = pageDivs[0]; if (isIE) { obj.style.filter = "alpha(opacity=" + 30 + ")"; } else { obj.style.opacity=0.3; } } div.style.display='block'; } function hideEAF(){ var div = document.getElementById('eaf-overlay'); // Restore page body background var pageDivs = getElementsByClassName('subpage-text', 'div'); if (pageDivs.length>=1) { var obj = pageDivs[0]; if (isIE) { obj.style.filter = "alpha(opacity=" + 100 + ")"; } else { obj.style.opacity=1; } } div.style.display='none'; } //Auto tabing for phone,dob fields function autoTab(e, f1, f2, f3, size){ var key = e.keyCode; var codes = "8,9,16,37,39"; // backspace, tab, shift , left arrow, right arrow if (codes.search(key)>=0) { return false; } if(document.getElementById(f1).value.length==size) { document.getElementById(f2).focus(); } else { return; } if(document.getElementById(f2).value.length==size) { document.getElementById(f3).focus(); } }