File "tim-garry.html"

Path: /ThinkIB/mathanalysis/mathanalysis/biography/22/tim-garryhtml
File size: 29.2 KB
MIME-type: text/html
Charset: utf-8

 
Open Back
<!DOCTYPE html>
<html lang="en">
<head>
	    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
        new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
        j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
        'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','GTM-K5VSFSN');
    </script>
    <!-- End Google Tag Manager -->
	<meta http-equiv="x-ua-compatible" content="IE=Edge">
	<title>DP Maths: Analysis &amp; Approaches: Tim Garry</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="robots" content="none"><meta name="robots" content="noindex, nofollow">
	<!-- Removed by WebCopy --><!--<base href="https://www.student.thinkib.net">--><!-- Removed by WebCopy --><meta name="description" content="

Tim Garry is the site author and has taught mathematics from middle school to university since 1984 and been Head of Maths at three international schools...."><meta name="keywords" content="DP, Maths: Analysis &amp; Approaches, Tim Garry, biography">
	<link href="../../../css/bootstrap.min.css" rel="stylesheet" media="screen">
  <link href="../../../css/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">
	<link href="../../../css/top-nav.min.css?v=202211301945" rel="stylesheet" media="screen">
	<link href="../../../css/style.min.css?v=20230110" rel="stylesheet" media="screen">
	<link href="../../../css/style-ib.min.css?v=20230105" rel="stylesheet" media="screen">
	<link rel="stylesheet" type="text/css" href="../../../js/jq-fancybox/jquery.fancybox.min.css">
	<link href="../../../js/jq-fancybox/jquery.fancybox.min.css" type="text/css" rel="stylesheet">
	<link rel="stylesheet" href="../../../css/snippets.min.css?v=202210181500"><link rel="stylesheet" href="../../../css/article.min.css?v=202212151220"><script src="../../../js/localdates.min.js?v=202009290900"></script><script src="../../../js/ifvisible.min.js"></script><script>ifvisible.setIdleDuration(300);</script><script>var tibSitename = "mathanalysis";</script>
    <script>
        const SITE_TAG = "ib"
        const SITE_WEB = "ThinkIB.net"
        const SITE_DOMAIN = "www.thinkib.net"
        const SITE_URI = "https://thinkib.net"
        const SITE_CLIENT_CODE = "TIB000001"
        let imageThinker = "../../../img/header-thinker-ib.svg";
        let imageStudent = "../../../img/header-student-thinkib.svg";
    </script>
<script>var userHash = "IB Docs (2)", userTicket = "*middle finger*";</script><script src="../../../js/user/local-stats.min.js?v=202102101800"></script><link rel="apple-touch-icon-precomposed" sizes="57x57" href="../../../img/favicon/student-thinkib/apple-touch-icon-57x57.png"><link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../../img/favicon/student-thinkib/apple-touch-icon-114x114.png"><link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../../img/favicon/student-thinkib/apple-touch-icon-72x72.png"><link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../../img/favicon/student-thinkib/apple-touch-icon-144x144.png"><link rel="apple-touch-icon-precomposed" sizes="60x60" href="../../../img/favicon/student-thinkib/apple-touch-icon-60x60.png"><link rel="apple-touch-icon-precomposed" sizes="120x120" href="../../../img/favicon/student-thinkib/apple-touch-icon-120x120.png"><link rel="apple-touch-icon-precomposed" sizes="76x76" href="../../../img/favicon/student-thinkib/apple-touch-icon-76x76.png"><link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../img/favicon/student-thinkib/apple-touch-icon-152x152.png"><link rel="icon" type="image/png" href="../../../img/favicon/student-thinkib/favicon-196x196.png" sizes="196x196"><link rel="icon" type="image/png" href="../../../img/favicon/student-thinkib/favicon-96x96.png" sizes="96x96"><link rel="icon" type="image/png" href="../../../img/favicon/student-thinkib/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="../../../img/favicon/student-thinkib/favicon-16x16.png" sizes="16x16"><link rel="icon" type="image/png" href="../../../img/favicon/student-thinkib/favicon-128.png" sizes="128x128"><meta name="application-name" content="&nbsp;"><meta name="msapplication-TileColor" content="#FFFFFF"><meta name="msapplication-TileImage" content="https://www.student.thinkib.net/img/favicon/student-thinkib/mstile-144x144.png"><meta name="msapplication-square70x70logo" content="https://www.student.thinkib.net/img/favicon/student-thinkib/mstile-70x70.png"><meta name="msapplication-square150x150logo" content="https://www.student.thinkib.net/img/favicon/student-thinkib/mstile-150x150.png"><meta name="msapplication-wide310x150logo" content="https://www.student.thinkib.net/img/favicon/student-thinkib/mstile-310x150.png"><meta name="msapplication-square310x310logo" content="https://www.student.thinkib.net/img/favicon/student-thinkib/mstile-310x310.png">
</head>

<body onunload="" class="student-access">
	    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K5VSFSN" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <div id="header">
    <div class="wmap">
        <div class="layout-wrapper">
            <div class="container-fluid">

                <div class="pull-right visible-phone">
                    <a href="https://www.inthinking.net">
                        <img src="../../../img/header-logo.svg" style="height: 45px; width: auto">
                    </a>
                </div>
                <div class="visible-phone" style="clear:both;"></div>

                <div class="pull-left">
                	<h1><a href="../../../index.html?lg=27105"><span style="font-size: .8em;font-family: 'Helvetica Narrow','Arial Narrow',Tahoma,Arial,Helvetica,sans-serif;font-stretch: condensed;letter-spacing: -1px">IBDP Maths: Analysis &amp; Approaches brought to you by the IB Docs (2) Team</span></a></h1>
                    <p class="slogan hidden-phone"><span class="slogan"><em>InThinking</em> Subject Sites for teachers &amp; their classes</span></p>
                	<p class="hidden-phone"><em>Group: IB Studentt<br>Teacher: Teach Yourself!</em></p>
                </div>

                <div class="pull-right text-right">
                    <a class="hidden-phone" href="https://www.inthinking.net">
                        <img src="../../../img/header-logo.svg" style="height: 70px; width: auto">
                    </a>
                    <div class="search"><a href="#" class="toggle-menu-search" data-toggle="dropdown" title="Search"><i class="fa fa-2x fa-search"></i></a></div>
                </div>
            </div>
        </div>
    </div>
</div>


	<div id="topmenu">
		<div class="layout-wrapper">
			<div>
				<nav class="top-nav"><ul class="level-0"><li><a href="../../../index.html?lg=27105"><i class="fa fa-home"></i> Home</a></li><li><a href="../../pa#">Basics</a></li><li><a href="../../pa#">Assessment</a></li><li><a href="../../pa#">1. Number & Algebra</a></li><li><a href="../../pa#">2. Functions</a></li><li><a href="../../pa#">3. Geometry & Trigonometry</a></li><li><a href="../../pa#">4. Statistics & Probability</a></li><li><a href="../../pa#">5. Calculus</a></li><li><a href="../../pa#">Toolkit</a></li><li><a href="../../pa#">IB Core</a></li></ul></nav>
			</div>
		</div>
	</div>

    <nav id="nav-menu-search" class="shadow-md" style="display: none;">
        <div class="layout-wrapper">
            <form class="form-inline" role="search" method="get" action="mathanalysis/search">
    <input id="nav-search" name="s" type="search" placeholder="Search Maths: Analysis &amp; Approaches..." value="">
    <button class="btn btn-sm btn-primary" type="submit">
        Search
    </button>
    <a href="#" class="toggle-menu-search" title="Close">
        <i class="fa fa-lg fa-times gray"></i>
    </a>
</form>

        </div>
    </nav>

	<div class="layout-wrapper">
		<div id="container" class="container-fluid">
			<div id="content">
				<div class="row-fluid">
					<div id="left-column" class="span3">    <div id="userbox">
        <div class="dropdown" style="display: flex; align-items: center;">
            <a href="#" data-toggle="dropdown" class="dropdown-toggle btn">
                <img src="../../../img/user/e/IBRR.jpg" style="width: 16px; height: 16px; margin: -2px 0 0 0;">&nbsp;&nbsp;IB Docs (2) Team&nbsp;&nbsp;<i class="fa fa-caret-down"></i>
            </a>
            <ul class="dropdown-menu" id="menu1">
                
                <li><a href="https://www.student.thinkib.net/englishb?lg=42280"><i class="fa fa-caret-right fixwidth gray"></i> IBDP English B</a></li><li><a href="https://www.student.thinkib.net/history?lg=42233"><i class="fa fa-caret-right fixwidth gray"></i> IBDP History</a></li><li><a href="../../../index.html?lg=27105"><i class="fa fa-caret-right fixwidth gray"></i> IBDP Maths: Analysis &amp; Approaches</a></li><li class="divider"></li><li><a href="https://www.student.thinkib.net"><i class="fa fa-dashboard fixwidth colored"></i>    Dashboard</a></li><li><a href="https://www.student.thinkib.net/?pan=tasks"><i class="fa fa-pencil fixwidth colored"></i>    All tasks</a></li><li><a href="https://www.student.thinkib.net/std/profile-editor"><i class="fa fa-user fixwidth colored"></i>    My profile</a></li>
                <li class="divider"></li>
                <li>
                    <a href="https://www.student.thinkib.net?logout=1">
                        <i class="fa fa-power-off fixwidth"></i>    Log out
                    </a>
                </li>
            </ul>
        </div>
    </div><div class="side-box shadow-md" style="margin-top: 16px;">
	<div>
		<h3 style="margin-bottom: 0"><em>InThinking</em></h3>
		<div class="pull-left">
			<div style="font-style: italic">
				<div style="padding: 8px 0px">Independent<br>Innovative<br>International</div>
			</div>
		</div>
		<img style="margin-top: -16px; float: right;" src="../../../img/inthinking-world-logo-80.png">
		<hr style="margin: 4px 0; clear: both;">
		<div class="row-fluid">
			<a href="subscribe/about-us" target="_blank" style="min-height: 0" class="font-normal">About us</a>
			|
			<a href="http://www.inthinking.net" target="_blank" style="min-height: 0" class="font-normal">Visit our hub website</a>
		</div>
		<hr style="margin: 4px 0">
		<p><small>
			<strong>Disclaimer</strong>:
			<em>InThinking</em> subject sites are neither endorsed by nor connected with
			the International Baccalaureate Organisation.
		</small></p>
		<!-- <hr style="margin: 8px 0 8px 0" />
		<p>
			<a target="_blank" title="Like us on Facebook" href="http://www.facebook.com/inthinking.net"><img src="../../../img/social/facebook-32.png" /></a>
			<a target="_blank" title="Follow us on Twitter" href="http://www.twitter.com/InThinker"><img src="../../../img/social/twitter-32.png" /></a>
			<a target="_blank" title="Connect with us on LinkedIn" href="https://www.linkedin.com/company/9s4we1"><img src="../../../img/social/linkedin-32.png" /></a>
		</p> -->
	</div>
</div>
<div id="forthcoming-workshops" class="side-box shadow-md"><div class="workshop"><h3 class="tib-red">IB Approved Workshops</h3><h4><a target="_blank" href="https://inthinking.net/workshop/412/barcelona-feb-2023">Mathematics: Analysis and approaches<br><small>IB DP Category 2</small></a></h4><p>Barcelona, Spain, 3 - 5 February 2023<br><a target="_blank" href="https://inthinking.net/workshop/412/barcelona-feb-2023" title="Find out more about this workshop at inthinking.net" target="_blank"><i class="fa fa-external-link"></i> Find out more</a></p><hr style="margin: 8px 0;"><br><h3 class="tib-red">Virtual Think-Ins</h3><h4><a target="_blank" href="https://inthinking.net/think-ins/1077">Focus on: Using the TI-Nspire in DP Mathematics – intermediate<br><small></small></a></h4><p>Virtual Think-In, 20 January 2023<br><a target="_blank" href="https://inthinking.net/think-ins/1077" title="Find out more about this workshop at inthinking.net" target="_blank"><i class="fa fa-external-link"></i> Find out more</a></p><hr style="margin: 8px 0;"><p class="text-center">Find all <em>InThinking</em> Workshops at<a href="https://inthinking.net"> www.inthinking.net</a></p></div></div><div style="margin-top: 20px;"><style type="text/css">
  .studyib-link {
    display: inline-block;
    overflow: hidden;
    font-size: 1.2em;
    font-weight: normal;
    margin: 10px;
    transition: transform .2s; /* Animation */
  }
  #left-column .studyib-link {
    font-size: 1em;
    font-weight: normal;
    margin: 5px;
    transition: transform .2s; /* Animation */
  }
  #left-column .studyib-advert h2 {
    font-size: 1.35em;
  }
  .studyib-link:hover {
    transform: scale(1.2);
  }
  .studyib-link > img {
    width: 2em; height: 2em;
    margin: 0;
    float: left;
  }
  .embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    margin: 15px 0;
  }
  .embed-responsive-16by9 {
    padding-bottom: 56.25%;
  }
  .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
  }

  .studyib-advert {
    padding: 20px; 
    background: #E7EDF5; 
    border: solid 1px #EFF; 
    /* margin-left: 70px; */
  }
  .studyib-advert .heading {
    display: flex; 
    flex-direction: row; 
    align-items: center;
  }
  .studyib-advert .heading img {
    margin-right: 15px;
  }
  .studyib-advert .heading span {
    color: #444
  }
  .studyib-advert h2, 
  .studyib-advert h3 {
    margin: 0;
  }
  .studyib-advert .body {
    margin-top: 20px;
  }
</style>

<div class="studyib-advert">
    <div class="heading">
      <img src="../../../img/header-thinker-sib.svg" height="50" width="50" class="pull-left" alt="InThinking Revision Sites">
      <div>
        <h2>INTHINKING REVISION SITES</h2>
        <span><em>Own your learning</em></span>
      </div>
    </div>
    <div class="body">
      <p>Why not also try our independent learning self-study &amp; revision websites for students?</p>
      <p>We currenly offer the following DP Sites: Biology, Chemistry, English A Lang &amp; Lit, Maths A&amp;A, Maths A&amp;I, Physics, Spanish B</p>
      <p>
        <em>&quot;The site is great for revising the basic understandings of each topic quickly. 
        Especially since you are able to test yourself at the end of each page and easily see where yo need to improve.&quot;</em>
      </p>
      <p><em>&quot;It is life saving... I am passing IB because of this site!&quot;</em></p>
      <p>Basic (limited access) subscriptions are FREE. Check them out at:</p>
      <div class="text-center">
        <h3>
          <a href="//studyib.net">www.StudyIB.net</a>
        </h3>
      </div>
    </div>
</div>
</div></div><!-- /#left-column-->
					<div id="main-column" class="span9">
		<h1 style='margin-top: 20px;'>Tim Garry</h1>
		<article><p><img class="left" height="251" src="../../../ib/mathhlsl/images/biography/tim-garry.png" style="float: left; margin: 10px;" width="204"></p>

<p><strong>Tim Garry</strong> is the <strong>site author</strong> and has taught mathematics from middle school to university since 1984 and been Head of Maths at three international schools. He has been an IB examiner for external and internal assessment, contributor to IB curriculum reviews, workshop leader and on Maths HL exam writing teams. Tim frequently delivers workshops and conference presentations and has co-authored textbooks for both of the IB Maths courses: Analysis &amp; Approaches and Applications &amp; Interpretation.</p>
<script>document.querySelectorAll('.tib-teacher-only').forEach(e => e.remove());</script></article>
	</div><!-- /#main-column -->
				</div>
			</div><!-- /#content -->
		</div>
	</div>

    <div id="footer" class="student-access">
    <div class="wmap">
        <div class="layout-wrapper">
            <p>
                &copy; <script>document.write(new Date().getFullYear())</script> <em>InThinking / IB Documents (2) Team | Version: 31.01.2023</em>
                &nbsp;| &nbsp;
                <a target="_self" href="https://thinkib.net/subscribe/about-us">
                    About us
                </a>
                &nbsp;|&nbsp;
                 <a target="_self" href="https://thinkib.net/subscribe/legal">
                    Legal
                </a>
                &nbsp;|&nbsp;
                <a target="_self" href="https://thinkib.net/subscribe/contact">
                    Contact
                </a>
            </p>
            <p>
                <a class="social" target="_blank" href="https://twitter.com/#!/inthinker">
                    <img src="../../../social/twitter-square.svg"> Twitter
                </a>
                <a class="social" target="_blank" href="https://www.facebook.com/inthinking.net">
                    <img src="../../../social/facebook-square.svg"> Facebook
                </a>
                <a class="social" target="_blank" href="https://www.linkedin.com/company/9s4we1">
                    <img src="../../../social/linkedin-square.svg"> LinkedIn
                </a>
            </p>
        </div>
    </div>
</div>
<input id="tzoffset" type="hidden" value="-3600"><div id="modal-session-expired" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h3 style="margin-top: 0">Your session has expired</h3>
            </div>
            <div class="modal-body" style="padding: 10px;">
                <p>You will have to reload and log in again.</p>
            </div>
            <div class="modal-footer">
                <a id="session-expired" class="btn btn-danger pull-right" href="#">
                    <i class="fa fa-refresh"></i>&nbsp;&nbsp;Reload
                </a>
            </div>
        </div>
    </div>
</div>

	<!-- Loading scripts at the end of the body means faster page loading -->
	<script src="../../../js/jquery-1.10.2.min.js"></script>
	<script src="../../../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../../../js/jq-fancybox/jquery.fancybox.pack.js"></script>
	<script src="../../../js/header-circle.min.js?v=20220113"></script><script type="text/javascript" src="../../../js/cookies.min.js"></script>
<script type="text/javascript">
// The cookies alert
if (! readCookie("displayCookieConsent") && ! readCookie("y") ) {
    var cookieMSG = "We use cookies. By continuing to use this website you are giving consent to cookies being used.";
    setTimeout(function() {
        $.ajax({
            cache: true,
            url: "js/cookiechoices.js",
            dataType: "script",
            success: function () {
                cookieChoices.showCookieConsentBar(cookieMSG, 'close', 'Read more', "mathanalysis/legal#cookies");
            }
        });
    }, 2000);
}
</script><script>var sAJAX='/pages/activity/user-stats-page.php?t=&x=2508';var sData='0ebg+I>F/4F[IxZ)+I>F+NuComcMhIn2Uib1oiLe+IpF0Tg9]4b2Uj>1otQO+Ibe0t/6/OnQ+|>9oNw1o[/z/On8LN>coOk[UxbOqNuc2|w6IicY/4FQ5m8=';var loopSecs = 30;var lsKey = '738b09ebe42ff56fdbc499affe5009f3';</script><script src="../../../js/user/user-stats-page.min.js?v=202102101800"></script><script>var sessionUpdateSecs = 600;</script><script type="text/javascript" src="../../../js/session-updater.js?v=20200831"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			function padLeft(str,max){return str.length<max?padLeft("0"+str,max):str}function padRight(str,max){return str.length<max?padRight(str+"0",max):str}$("body").on("click",'a[href="#"], a.fancybox-nav, a[data-toggle="tab"], a[data-toggle="dropdown"], a[data-toggle="collapse"], a[data-toggle="modal"]',(function(e){e.preventDefault()}));var topmenuOffset=0,topmenuHeight=0;function fixDiv(t,h){$(window).scrollTop()<topmenuOffset||$("#topmenu ul.level-1").is(":visible")?($("#topmenu").css({position:"",width:""}),$("#topmenu").removeClass("fixed-top"),$("body").css({"padding-top":"0"})):($("#topmenu").css({position:"fixed",top:"0",width:$("#topmenu").width()+"px"}),$("#topmenu").addClass("fixed-top"),$("body").css({"padding-top":topmenuHeight+"px"}))}function fixSearchNav(){var searchMenuTop=topmenuOffset+topmenuHeight,searchMenuH=$("#nav-menu-search").is(":visible")?$("#nav-menu-search").outerHeight():0;if($(window).scrollTop()>searchMenuTop-topmenuHeight){var borderBottomWidth=parseInt($("#topmenu").css("borderBottomWidth"))+1;$("#nav-menu-search").css({position:"fixed",top:topmenuHeight+borderBottomWidth+"px",left:"0",right:"0"}),$("#nav-menu-search").addClass("fixed-top"),$("body").css("padding-top",topmenuHeight+searchMenuH+"px")}else $("#nav-menu-search").css({position:""}),$("#nav-menu-search").removeClass("fixed-top"),$("body").css("padding-top","0")}$("#topmenu").length&&(topmenuOffset=$("#topmenu").offset().top,topmenuHeight=$("#topmenu").outerHeight(),fixDiv(),$(window).scroll((function(){fixDiv(),fixSearchNav()}))),$("a.toggle-menu-search").on("click",(function(e){e.preventDefault(),$("#nav-menu-search").slideToggle("fast",(function(){$(this).find('input[name="s"]').focus()}))}));var menuH=$("#topmenu").height(),itemH=$("#topmenu > nav > ul > li").height();function fancyScrollTo(id){$("html, body").animate({scrollTop:$("#"+id).offset().top-300},300)}function printSectionBlog(){var w=$(window).width()/2,h,windowSettings="height="+($(window).height()-100)+", width="+w+", left=0, top=0, resizable=no, ";windowSettings+="scrollbars=yes, toolbar=no, menubar=no, location=no, ",windowSettings+="directories=no, status=yes";var myWindow=window.open("","Page printer",windowSettings),containerHtml=["<html>","<head>","<title>Page printer</title>",'<link rel="stylesheet" type="text/css" href="'+window.location.origin+'/css/style.min.css?v=202211152130">','<link rel="stylesheet" type="text/css" href="'+window.location.origin+"/css/style"+SITE_TAG+'.min.css?v=202104061357">','<link rel="stylesheet" type="text/css" href="'+window.location.origin+'/css/snippets.min.css?v=202210181500">','<link rel="stylesheet" type="text/css" href="'+window.location.origin+'/css/article.min.css?v=202210181500">',"</head>","<body>",$("section#main-content").html().replace(/<span\sclass="MJX_Assistive_MathML".*?<\/span>/g,""),"</body>","</html>"].join("");containerHtml=containerHtml.replace(/src="files\//gi,'src="'+window.location.origin+"/files/"),myWindow.document.write(containerHtml),myWindow.document.close(),myWindow.focus(),setTimeout((function(){$.when(myWindow.print()).then(myWindow.close())}),1e3)}function PopupPrint(target){window.print()}$("#topmenu > nav > ul > li").each((function(){if(menuH>itemH&&$(this).position().top<1){var i=itemH+1;$(this).find("ul:first").css("margin-top","-"+i+"px")}})),$("#topmenu > nav > ul > li").on("mouseenter mouseleave",(function(e){var submenu=$("ul:first",this),submenuW=submenu.width();$(this).offset().left+submenuW>$(window).width()&&(submenu.css("right","0"),submenu.find("ul").each((function(){if(!$(this).hasClass("fixed")){var l=$(this).width()+submenuW;$(this).css("margin-left","-"+l+"px"),$(this).addClass("fixed")}})))})),$("a.showhider").click((function(e){e.preventDefault();var box="#"+$(this).attr("rel"),show='<i class="fa fa-eye"></i>',hide='<i class="fa fa-eye-slash"></i>';$(box).slideToggle("fast"),$(this).html($(this).html()==show?hide:show),$(this).attr("title","Show"==$(this).attr("title")?"Hide":"Show")})),$("a.scroll-to").click((function(e){e.preventDefault();var n=$("#"+$(this).data("target")).offset().top-70;$("html, body").animate({scrollTop:n},300)})),$("a.print-section-blog").click((function(e){e.preventDefault(),printSectionBlog()})),$(".print-button").click((function(e){var target;e.preventDefault(),PopupPrint("#"+$(this).data("target-id"))})),$(".alert.alert-success").delay(6e3).hide("fast",fixDiv());var fancyParent=1==$("body").find($("#main-article")).length?"#main-article":"body",fancyOptions={loop:!1,openEffect:"elastic",closeEffect:"elastic",nextEffect:"fade",prevEffect:"fade",parent:fancyParent,helpers:{title:{type:"inside"}}};if($("ul.gallery").each((function(){var rel=$(this).find("li:first-child > a:first-child").attr("rel");$('ul.gallery a.fancy[rel="'+rel+'"]').fancybox(fancyOptions)})),$(".carousel.slide").each((function(){var rel="gallery-"+$(this).data("id");$('.carousel.slide a.fancy[rel="'+rel+'"]').fancybox(fancyOptions)})),$("img.pop").parent("a").each((function(){$(this).attr("title",$(this).children("img").attr("alt"))})),$("img.pop").parent("a").fancybox({loop:!1,helpers:{title:{type:"inside"}}}),!are_cookies_enabled()){var msg='<div class="alert alert-error"><i class="fa fa-warning"></i> Your browser does not accept cookies from this site. Please enable cookies to log in.</div><div class="alert alert-info"><i class="fa fa-question-circle"></i> Enabling cookies in <a target="_blank" style="margin: 0; padding: 0;" href="https://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences">Firefox</a>, <a target="_blank" style="margin: 0; padding: 0;" href="https://support.google.com/accounts/answer/61416?hl=en">Chrome</a>, <a target="_blank" style="margin: 0; padding: 0;" href="http://windows.microsoft.com/en-us/windows-vista/block-or-allow-cookies">Explorer</a></div>';$("#modal-login .modal-header").append(msg)}if($(".panel-expandable > .panel-heading").click((function(e){e.preventDefault();var panel=$(this).closest(".panel-expandable"),expandables=panel.hasClass("panel-has-footer")?".panel-body, .panel-footer":".panel-body";panel.find(".panel-body").is(":visible")?(panel.find(expandables).slideUp("fast"),panel.find(".expander > .fa-minus").removeClass("fa-minus").addClass("fa-plus")):(panel.find(expandables).slideDown("fast"),panel.find(".expander > .fa-plus").removeClass("fa-plus").addClass("fa-minus"))})),$("#modal-find-out-more").css({width:.8*$("#container").width()+"px","margin-left":-.4*$("#container").width()+"px"}),$(".modal-xxl").length){var modalTopPos=Math.round(.07*$(window).height());$(window).width()>1200&&$(".modal-xxl").css({"max-width":$(window).width()>960?"960px":$(window).width()+"px",width:$(window).width()>960?"960px":$(window).width()+"px","margin-left":$(window).width()>960?"-480px":Math.round($(window).width()/2)}),$(".modal-xxl").css("top",modalTopPos+"px"),$(".modal-xxl").on("shown",(function(){var mHeaderH=$(this).find(".modal-header").outerHeight(),mBody=$(this).find(".modal-body"),mBodyH=mBody.outerHeight(),mFooterH=$(this).find(".modal-footer").outerHeight(),bottomOfTheModal=modalTopPos+mHeaderH+mBodyH+mFooterH;if(bottomOfTheModal<$(window).height())mBodyH+=$(window).height()-bottomOfTheModal-60,mBody.css("max-height",mBodyH+"px");else{$(window).scrollTop(0),modalTopPos=10,$(".modal-xxl").css("top",modalTopPos+"px"),bottomOfTheModal=modalTopPos+mHeaderH+mBodyH+mFooterH,availableScroll=bottomOfTheModal-$(window).height()+modalTopPos;var lastPos=-1;$(window).on("scroll",(function(){var s=$(window).scrollTop()>availableScroll?availableScroll:$(window).scrollTop();newPos=modalTopPos-s,newPos!=lastPos&&($(".modal-xxl").css("top",newPos+"px"),lastPos=newPos)}))}}))}function popupHelp(url,title,w,h){var dualScreenLeft=void 0!==window.screenLeft?window.screenLeft:screen.left,dualScreenTop=void 0!==window.screenTop?window.screenTop:screen.top,width,height,left=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-w/2+dualScreenLeft,top=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-h/2+dualScreenTop,newWindow=window.open(url,title,"menubar=no,location=no,resizable=0, width="+w+", height="+h+", top="+top+", left="+left);return window.focus&&(newWindow?newWindow.focus():$('<div class="alert alert-warning" style="margin-bottom: 0px;"><p class="help-block">Pop Up blocked. Please allow Pop Ups in your browser settings.</p></div>').insertBefore("body")),newWindow}if($(".open-student-access-help").click((function(e){e.preventDefault();var h=$(window).height()-20,w=$(window).width()<1280?$(window).width():1280;popupHelp(helpURL,"Student Access Help",w,h)})),$(".pop-up-help").click((function(e){e.preventDefault();var url=$(this).attr("href"),title=$(this).data("title"),h=$(window).height()-20,w;popupHelp(url,title,$(window).width()<1280?$(window).width():1280,h)})),$("section.tib-hiddenbox").length){var count=0;$($("section.tib-hiddenbox").get().reverse()).each((function(){var box=$(this),revealButton;$("<a />").attr("class","btn showhider").attr("rel","hiddenBoxContent"+count).attr("style","margin-bottom: 0;").html('<i class="fa fa-eye"></i>').insertBefore(box);var newContainer=$("<div />").attr("class","hidden-content").attr("id","hiddenBoxContent"+count).html(box.html());newContainer.hide(),newContainer.insertBefore(box),box.remove(),count++})),$("a.showhider").on("click",(function(e){var container=$("#"+$(this).attr("rel"));container.is(":hidden")?(container.fadeIn("fast"),$(this).html('<i class="fa fa-eye-slash"></i>')):(container.fadeOut("fast"),$(this).html('<i class="fa fa-eye"></i>'))}))}
			
		});
	</script>
</body>
</html>