<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <% ' Turn On Error Handling On Error Resume Next %> <% isiemac = false isie = (instr(Request.ServerVariables("HTTP_USER_AGENT"),"MSIE") > 0) if isie then isiemac = (instr(Request.ServerVariables("HTTP_USER_AGENT"),"Mac") > 0) end if if request.form("topmenu") <> "Next" and request.form("topmenu") <> "Prev" and request.form("topmenu") <> "retfromcc" and request.form("topmenu") <> "tocc" and request.form("textup").count = 0 and request.form("textdown").count = 0 and request.form("topmenu")<>"ret" and request.form("hidenavbutton").count=0 then if request.form("topmenu").count > 0 then page = CInt(request.form("topmenu")) textsize = request.form("textsize") hidenav = request.form("hidenav") else page = 0 textsize = 14 hidenav = 0 end if else page = request.form("Page") retpage = page textsize = request.form("textsize") hidenav = request.form("hidenav") rem server side error checking here if request.form("topmenu") = "Next" then page = request.form("Page") + 1 if (page = 2 and Request.Form("Age")<=18) then page = 20 end if if (page = 9 or page=2) and request.form("Sex") = "M" then page = page + 1 end if if page=7 and request.form("Exdaysperweek")="0" then page=page+1 end if if page=11 and request.form("Diagnose") = "N" then page=page+1 end if end if if request.form("topmenu") = "Prev" then if request.form("Page") = 0 then page=0 else page = request.form("Page") - 1 end if if (page = 9 or page=2) and request.form("Sex") = "M" then page = page - 1 end if if page=7 and CInt(request.form("Exdaysperweek"))=0 then page=page-1 end if if page=11 and request.form("Diagnose") = "N" then page=page-1 end if end if if request.form("topmenu") = "tocc" then page = 100 end if if request.form("topmenu") = "retfromcc" then page = 5 end if if request.form("textup").count > 0 then textsize = textsize + 2 if request.form("holdpage").count > 0 then page = request.form("holdpage") end if end if if request.form("textdown").count > 0 then textsize = 14 if request.form("holdpage").count > 0 then page = request.form("holdpage") end if end if if request.form("hidenavbutton").count > 0 then if len(request.form("hidenavbutton"))>10 and request.form("hidenavbutton") <> "Show Navigation" then hidenav = 1 else hidenav = 0 end if end if end if Function IIf(i,j,k) If i Then IIf = j Else IIf = k End Function Function PrintList(list) firstcomma = InStr(list,",") lastcomma = InStrRev(list,",") if lastcomma = 0 then PrintList = List else if firstcomma = lastcomma then PrintList = left(list,lastcomma-1)&" and"&Mid(list,lastcomma+1) else PrintList = left(list,lastcomma-1)&", and"&Mid(list,lastcomma+1) end if end if PrintList = LCase(PrintList) PrintList = replace(replace(PrintList,"alzheim","Alzheim"),"cushing","Cushing") End Function Function PrintList3(list) firstcomma = InStr(list,",") lastcomma = InStrRev(list,",") if lastcomma = 0 then PrintList3 = List else if firstcomma = lastcomma then PrintList3 = left(list,lastcomma-1)&" and"&Mid(list,lastcomma+1) else PrintList3 = left(list,lastcomma-1)&", and"&Mid(list,lastcomma+1) end if end if PrintList3 = LCase(PrintList3) PrintList3 = replace(replace(PrintList3,"alzheim","Alzheim"),"cushing","Cushing") PrintList3 = replace(PrintList3,",","</span>,<span class='rf'>") PrintList3 = replace(PrintList3,"and","</span>and<span class='rf'>") End Function Function PrintList2(list) lastcomma = InStrRev(list,",") if lastcomma = 0 then PrintList2 = List else PrintList2 = left(list,lastcomma-1)&" and"&Mid(list,lastcomma+1) end if End Function %> <html> <head> <title>Check Up On Your Bones</title> <style> <!-- .question, body { font-family:Arial; font-size:<%=textsize%>px; font-weight: normal; } h1 { font-family:Arial; font-size:<%=textsize+8%>px; font-weight: bold; line-height:normal; } h2 { font-family:Arial; font-size:<%=textsize+4%>px; font-weight: bold; line-height:normal; } h3 { font-family:Arial; font-size:<%=textsize+2%>px; font-weight: bold; line-height:normal; } p {line-height:normal;} .question A:link {color: #0066ff;text-decoration:underline;} .question A:visited {color: #0066ff; text-decoration:underline;} .question A:hover {color: #333333; text-decoration:underline;} .heading{ font-family:arial; color:#30669B; font-size:<%=textsize+4%>px; font-weight:bold; } .answer { font-family:Arial; font-size:<%=textsize%>px; line-height:90%; } .definition { text-decoration:underline; color:blue; cursor:pointer; } .menu { font-family:Arial; font-size:<%=textsize%>px; color: #ffffff; line-height:90%; } .menu a{ font-family:Arial; font-size:<%=textsize%>px; color: #ffffff; line-height:90%; text-decoration:none; } .lineimg { margin:0px; padding:0px; border:0px; display:inline; } .footer { font-family:Arial; font-size:<%=textsize-2%>px; color:#333333; } .results{ font-family:Arial; font-size:<%=textsize%>; line-height:normal; } .sbresults, .retwelc{ font-family:Arial; font-size:<%=textsize-2%>; color:#0066cc; font-weight:bold; cursor:pointer; line-height:normal; } .sbresultsunavail{ font-family:Arial; font-size:<%=textsize-2%>; color:#dfdfdf; font-weight:bold; cursor:pointer; line-height:normal; } .sbresultsactive{ font-family:Arial; font-size:<%=textsize-2%>; color:#FFFFFF; background-color:#0099ff; font-weight:bold; } .redflag{ position:absolute; left:-16px; width:16px; height:17px; } --> </style> <script> <!-- function ShowTool(aEvent,divText){ var myEvent = aEvent ? aEvent : window.event; document.getElementById("tooltipdiv").innerHTML = divText; <%if isie then%> myEvent.srcElement.title = ""; document.getElementById("tooltipdiv").style.top = myEvent.clientY + document.body.scrollTop; document.getElementById("tooltipdiv").style.left = myEvent.clientX + document.body.scrollLeft; <%else%> myEvent.target.title = ""; document.getElementById("tooltipdiv").style.top = myEvent.clientY + window.scrollY; document.getElementById("tooltipdiv").style.left = myEvent.clientX + window.scrollX; <%end if%> document.getElementById("tooltipdiv").style.display = "block"; return(false); } function HideTool(){ document.getElementById("tooltipdiv").style.display = "none"; } function ShowTool2(x,y,width,divText){ <%if hidenav="1" then%> alert(divText); <%else%> document.getElementById("definitiondivtext").innerHTML = divText; document.getElementById("definitiondiv").style.top = y; document.getElementById("definitiondiv").style.left = x; document.getElementById("definitiondiv").style.width = width; document.getElementById("definitiondiv").style.display = "block"; <%end if%> return(false); } function HideTool2(){ document.getElementById("definitiondiv").style.display = "none"; } //--> </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-23449683-1']); _gaq.push(['_setDomainName', '.niams.nih.gov']); _gaq.push(['_trackPageview']); _gaq.push(['_setSampleRate', '100']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript" src="/main/link-tracking.js"></script> <script type="text/javascript" src="/main/webtrend/webtrends.load.js"></script> </head> <body style="text-align:center;margin:0px;" <%if page=100 then%>onLoad="initcc();addem();" <%end if%>> <form method="post" name="OSTEOQuest" id="OSTEOQuest" style="display:inline;"> <input type="hidden" name="topmenu" id="topmenu" value="-1"> <input type="hidden" name="Page" id="Page" value="<%=iif(page>=0,page,request.form("page"))%>"> <input type="hidden" name="TextSize" id="TextSize" value="<%=TextSize%>"> <input type="hidden" name="HideNav" id="HideNav" value="<%=HideNav%>"> <div id="page" align="left" style="position:relative;width:778px;margin:auto;"> <%if hidenav = "1" and page > 0 then%> <input type="submit" name="Hidenavbutton" value="Show Navigation" tabindex="-1"> <%else%> <div id="header" style="position:relative;top:0px;width:778px;height:<%=iif(page=0,"210","150")%>px;background-color:#0066cc;"> <%if page > 0 then%> <input style="position:absolute;top:25px;width:700px;" type="submit" name="Hidenavbutton" value="<%=iif(page=1,"To maximize the functionality of the site when using a screen reader, press Enter to hide navigation.","Press Enter to hide navigation.")%>" tabindex="-1"> <%end if%> <div class="menu" style="position:absolute;top:0px;left:0px;width:670px;height:24px;text-align:right;"><p style="margin:<%=19-textsize%>px 0px;"><!--#INCLUDE file="ctopnav_inc.asp"--></p></div> <div style="position:absolute;top:0px;left:670px;height:25px;width:108px;background-color:#ccccff;"></div> <div style="position:absolute;top:5px;left:672px;font-family:arial;font-size:14px;">Text Size: </div> <div style="position:absolute;top:0px;right:0px;text-align:right;"><input style="width:15px;" type="submit" name="TextUp" value="+" <%if textsize=18 then%>disabled<%end if%> tabindex="-1"><input style="width:15px;" type="submit" name="TextDown" value="-" <%if textsize=14 then%>disabled<%end if%> tabindex="-1"></div> <%if page=0 then%> <div style="position:absolute;top:25px;left:0px;height:<%=iif(page=0,"176","102")%>px;width:283px;background-color:#0099ff;"> <img border="0" style="position:absolute;top:15px;left:5px;" src="images/logo2b.jpg" WIDTH="277" HEIGHT="139" alt="Check Up On Your Bones: Featuring information tailored for you from the Surgeon General's Report on Bone Health and Osteoporosis"> </div> <img border="0" style="position:absolute;top:25px;left:283px;" src="images/new_image1a.jpg" WIDTH="166" HEIGHT="176" alt=""> <img border="0" style="position:absolute;top:25px;left:448px;" src="images/new_image2a.jpg" WIDTH="165" HEIGHT="176" alt=""> <img border="0" style="position:absolute;top:25px;left:613px;" src="images/new_image3a.jpg" WIDTH="164" HEIGHT="176" alt=""> <%else%> <div style="position:absolute;top:24px;left:0px;height:<%=iif(page=0,"176","116")%>px;width:284px;background-color:#0099ff;"> <img border="0" style="position:absolute;top:15px;left:5px;" src="images/checkup_<%=iif(page=0,"lg","sm")%>.gif" alt="Check Up On Your Bones"> </div> <img border="0" style="position:absolute;top:24px;left:284px;" src="images/strip<%=iif(page>13 and page <> 100,"2","1")%>.jpg" WIDTH="494" HEIGHT="116" alt=""> <%end if%> </div> <%end if%> <%if request.form("Age") <> "" then%> <%if page = 20 and request.form("Age") <= 18 then%> <div id="AgeNotice" style="position:relative;top:10px;width:100%;text-align:center;color:blue;font-weight:bold;"> Check Up On Your Bones is designed for people over the age of 18.<br>The Web resources below may be helpful if you are 18 or under.<br>&nbsp; </div> <%end if%> <%end if%> <div id="content" style="position:relative;top:10px;width:<%=iif(isie,"778","776")%>px;<%if page <> 100 then%>border-Style:solid;border-Color:#cccccc;border-Width:1px;<%end if%>"> <%if page = 100 then%> <!--#INCLUDE file="CalciumCalc.asp"--> <div id="question" style="position:relative;left:475px;"><!--#INCLUDE file="questions.asp"--></div> <%else%> <%if ((page > 0 and page < 12) or page > 13) then leftside = iif(page>13,235,210) if hidenav=0 then%> <div id="leftsidebar" style="position:absolute;top:15px;left:10px;width:190px;height:370px;background-color:#99CCFF;"><!--#INCLUDE file="sidebar.asp"--></div> <%end if else leftside = 12 end if%> <%if page > 0 and page < 15 then%> <%if page <> 14 then%> <span class="question" style="position:absolute;top:15px;left:<%=leftside%>px;font-size:<%=textsize+4%>px;color:#30669B;font-weight:bold;">PERSONAL PROFILE QUESTIONNAIRE</span> <img class="lineimg" style="position:absolute;top:36px;left:<%=leftside%>px;width:<%=490+270-leftside%>px;height:1px;background-color:#cccccc;"> <img class="lineimg" style="position:absolute;top:<%=iif(page=12 or page=13,72,72)%>px;left:<%=leftside%>px;width:<%=490+270-leftside%>px;height:1px;background-color:#cccccc;"> <img class="lineimg" style="position:absolute;top:<%=iif(page=12 or page=13,404,384)%>px;left:<%=leftside%>px;width:<%=490+270-leftside%>px;height:1px;background-color:#cccccc;"> <img class="lineimg" style="position:absolute;top:36px;left:<%=leftside%>px;width:1px;height:<%=iif(page=12 or page=13,368,348)%>px;background-color:#cccccc;"> <img class="lineimg" style="position:absolute;top:36px;left:760px;width:1px;height:<%=iif(page=12 or page=13,368,348)%>px;background-color:#cccccc;"> <%end if%> <div id="progress" style="position:relative;top:<%=iif(page=14,10,0)%>px;left:<%=iif(page=14,leftside-10,leftside+10)%>px;"> <div style="position:absolute;top:0px;color:#ffffff;">You have completed approximately <%=round((page)/14*100)%>% of the form.</div> <p style="margin-top:50px;color:#ffffff"></p> <span style="position:relative;top:-3px;color:#0066cc;font-weight:bold;font-size:<%=iif(textsize<=16,textsize,16)%>px;<%if textsize=18 then%>left:-0px;<%end if%>">PROGRESS BAR</span><%if textsize = 14 then%>&nbsp;&nbsp;&nbsp;<%end if%> <%page = cint(page)%> <%for progbar = 1 to 7%> <%if page < (progbar * 2)-1 then%> <img style="position:relative;left:-<%=(progbar-1)*5%>px;" src="images/prog_blu3.jpg" alt name="progbar" id="progbar" border="0" WIDTH="59" HEIGHT="15"> <%end if%> <%if page = (progbar*2)-1 then%> <img style="position:relative;left:-<%=(progbar-1)*5%>px;" src="images/prog_mid3.jpg" alt name="progbar" id="progbar" border="0" WIDTH="59" HEIGHT="15"> <%end if%> <%if page > (progbar*2)-1 then%> <img style="position:relative;left:-<%=(progbar-1)*5%>px;" src="images/prog_yel3.jpg" alt name="progbar" id="progbar" border="0" WIDTH="59" HEIGHT="15"> <%end if%> <%next%><%if page=14 and false then%><br><span class="question">PROGRESS BAR</span><%end if%> </div> <%if page=14 then%> <div class="sbresults" style="position:absolute;left:<%=leftside-15%>px;top:20px;font-size:<%=textsize+8%>px;font-weight:bold;" nowrap>CONGRATULATIONS!</div> <div class="results" id="results" style="position:relative;left:<%=leftside-30%>px;width:<%=505+270-leftside%>px;padding-left:20px;<%if page=14 or page=20 then%>height:<%=iif(isie,"400","340")%>px;<%end if%>;line-height:100%;"><div style="position:relative;margin-top:20px;"><!--#INCLUDE file="output.asp"--></div></div> <%if ((page > 0 and page < 12) or page > 13) and hidenav=1 then%> <div id="Div2" style="position:absolute;top:15px;left:10px;width:190px;height:370px;background-color:#99CCFF;"><!--#INCLUDE file="sidebar.asp"--></div> <%end if%> <!--#INCLUDE file="questions.asp"--> <%else%> <div id="question" style="position:relative;top:0px;left:<%=leftside+15%>px;height:<%=iif(page=12 or page=13,350,330)%>px;width:<%=495+270-leftside-30%>px;"><p style="margin-top:<%if isiemac then%>20<%else%>10<%end if%>px;"></p><!--#INCLUDE file="questions.asp"--></div> <%end if%> <%else%> <%if page > 0 then select case page case 15 sectionhead = "Your Personal Profile Questionnaire Responses" case 16 sectionhead = "Your Bone Checkup" case 17 sectionhead = "Your Bone Balance Sheet" case 18 sectionhead = "Your Web Resources" case 20 sectionhead = "Your Web Resources" end select %> <div class="sbresults" style="position:absolute;left:<%=leftside-15%>px;top:20px;font-size:<%=textsize+8%>px;font-weight:bold;" nowrap><%=sectionhead%></div> <div class="results" id="results" style="position:relative;left:<%=leftside-30%>px;width:<%=505+270-leftside%>px;padding-left:20px;<%if page=14 or page=20 then%>height:<%=iif(isie,"400",iif(page=20,"400","340"))%>px;<%end if%>;line-height:100%;"><div style="position:relative;margin-top:60px;"><!--#INCLUDE file="output.asp"--></div></div> <%if ((page > 0 and page < 12) or page > 13) and hidenav=1 then%> <span onClick="doPrint();">Print</span> <div id="Div1" style="position:absolute;top:15px;left:10px;width:190px;height:370px;background-color:#99CCFF;"><!--#INCLUDE file="sidebar.asp"--></div> <%end if%> <%else%> <%if page = 0 then%> <!--#INCLUDE file="welcome.html"--> <%else%> <div style="position:relative;left:<%=iif(page=-5,80,20)%>px;width:600px;font-family:arial;font-size:<%=textsize+6%>px;"><p style="margin-top:10px;margin-bottom:10px;" class="heading"> <%page = cint(page)%> <input type="hidden" name="holdpage" id="holdpage" value="<%=page%>"> <%select case page%> <%case -1%> CONTACT US <%case -2%> PRIVACY STATEMENT <%case -3%> ACCESSIBILITY STATEMENT <%case -4%> DISCLAIMER <%case -5%> Personal Profile Questionnaire <%end select%> </p> </div> <div style="position:relative;left:20px;width:<%=iif(page=-5,690,590)%>px;font-family:arial;font-size:<%=textsize%>px;"><p style="margin-bottom:10px;"> <%select case page%> <%case -1%> <!--#INCLUDE file="contact.html"--> <%case -2%> <!--#INCLUDE file="privacy.html"--> <%case -3%> <!--#INCLUDE file="accessibility.html"--> <%case -4%> <!--#INCLUDE file="disclaimer.html"--> <%case -5%> <!--#INCLUDE file="intro.html"--> <%end select%> </p> </div> <%if page <> -5 then%><div style="position:absolute;top:175px;left:625px;" onClick="document.getElementById(&quot;topmenu&quot;).value='ret';document.getElementById('OSTEOQuest').submit();"><img src="images/return<%=iif(request.form("page")=0,"welcome","")%>.gif" alt="Return to Welcome Page"></div><%end if%> <%end if%> <%end if%> <!--#INCLUDE file="questions.asp"--> <%end if%> <%end if%> </div> <%if hidenav <> 1 then%> <div id="footer" style="position:relative;top:10px;width:778px;height:75px;"> <img class="lineimg" style="position:absolute;top:130px;left:0px;width:778px;height:1px;background-color:#cccccc;"> <img class="lineimg" style="position:absolute;top:20px;left:400px;width:1px;height:80px;background-color:#eeeeee;"> <a href="https://www.hhs.gov"><img border="0" src="images/dhhs_sm.gif" style="position:absolute;top:40px;left:410px;" WIDTH="36" HEIGHT="37"></a> <a href="https://www.nih.gov"><img border="0" src=" /Health_Info/Bone/images/logos/nih-full-name-logo-tagline-2013.gif" style="position:absolute;top:40px;left:460px;" WIDTH="192" HEIGHT="30"></a> <a href="http://usagov.gov"><img border="0" src="images/usagov.gif" style="position:absolute;top:40px;left:660px;" WIDTH="108" HEIGHT="42"></a> <div id="footertext" class="footer" style="position:absolute;top:9px;left:2px;width:390px;text-align:left;"> The NIH National Resource Center is supported by the National Institute of Arthritis and Musculoskeletal and Skin Diseases with contributions from the National Institute of Child Health and Human Development, National Institute of Dental and Craniofacial Research, National Institute of Diabetes and Digestive and Kidney Diseases, NIH Office of Research on Women's Health, DHHS Office on Women's Health, and National Institute on Aging. </div> </div> <%end if%> </div> </form> <div style="display:none;position:absolute;background-color:#ffffcc;border-Style:solid;border-Color:#cccccc;border-Width:1px;padding:3px;text-align:left;" id="tooltipdiv">tes</div> </body> </html>