(function(){
var DATA={
  "api_host": "api", 
  "experiments": {
    "19794549": {
      "conditions": [
        {
          "type": "code", 
          "value": "!$.browser.msie"
        }, 
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/index.htm"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "is_site_catalyst_enabled": "disabled", 
      "name": "Illinois State Page", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "19780505", 
        "19792931", 
        "20061472"
      ]
    }, 
    "20005770": {
      "conditions": [
        {
          "type": "code", 
          "value": "!$.browser.msie"
        }, 
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/index.htm"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "is_site_catalyst_enabled": "disabled", 
      "name": "Colorado", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "19909860", 
        "19984878", 
        "19911276"
      ]
    }, 
    "20014849": {
      "conditions": [
        {
          "type": "code", 
          "value": "!$.browser.msie"
        }, 
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/index.htm"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "is_site_catalyst_enabled": "disabled", 
      "name": "Ohio", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "20054596", 
        "20059369", 
        "20072845"
      ]
    }, 
    "20028771": {
      "conditions": [
        {
          "type": "code", 
          "value": "!$.browser.msie"
        }, 
        {
          "type": "url", 
          "values": [
            {
              "match": "simple", 
              "value": "http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/index.htm"
            }
          ]
        }, 
        {
          "only_first_time": true, 
          "type": "visitor", 
          "value": "all"
        }
      ], 
      "is_site_catalyst_enabled": "disabled", 
      "name": "Oregon", 
      "site_catalyst_evar": 1, 
      "variation_ids": [
        "20050637", 
        "20014845", 
        "19862547"
      ]
    }
  }, 
  "id": 8014416, 
  "log_host": "log3", 
  "revision": 192, 
  "variations": {
    "19780505": {
      "name": "Original Page"
    }, 
    "19792931": {
      "code": "$(\"#rightTwoColumn h2:first\").add(\"h3.subTitle\").css({\"color\":\"#643c15\"}).css({\"background-color\":  \"#F1F3E6\"}).addClass(\"fancy-serif\").wrapAll(\"<div id='newhero'><div class='opt-left'></div></div>\");\n$(\".opt-left\").after(\"<div style='font-size: 16px;line-height: 20px;' class='opt-right fancy-serif'>\" + $(\".regionText p\").first().html() +\"</div>\");\n$(\"h3.subTitle\").css({\"font-variant\": \"small-caps\" , \"opacity\": 0.6, \"width\":\"100%\", \"font-size\":\"20px\"});\n$(\"<style>#slide0{margin-top:-130px} #slide0 .description {bottom: -79px; } .slide{margin-top: -25px;} html #rcRight hr{margin: 1.5em 0; width: 90%;} #rcRight strong {margin-bottom: 0.5em;margin-top: 1.25em;} .fancy-serif{font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif}.opt-left {float: left;}.opt-right {float: left;width: 400px; padding-top: 1em;padding-left: 3em; padding-bottom: 1em;}#newhero{height:490px; background-color:#F1F3E6;max-width: 730px;padding: 20px;}a.opt-donate-button{background: #AC4B14 url(http://www.nature.org/idc/groups/webasset/documents/webasset/image_en-us_donate_btn.gif) no-repeat;width: 148px;height: 28px;float: left;text-decoration: none;color: white;position: relative;margin-bottom: 7px;} a.opt-donate-button:hover { opacity: .9; text-decoration: none; } .opt-donate-button span{color:white;float: left;height: 28px;cursor: pointer;padding: 6px 0 0 7px;}   .opt-donate-button span:hover{text-decoration: none; }</style>\").appendTo(\"head\");\n//$('<a class=\"brown opt-donate-button\" href=\"http://my.nature.org/donate/\"><span>Donate Now</span></a><br>').appendTo(\"#newhero .opt-left\");\nvar regiontext =  $(\".regionText p\").first().html();\n$(\"#breadcrumbs a\").not(\":last\").css({\"color\": \"#98987E\"});\n\n/**************\n\nROTATOR SECTION\n\n****************/\n\nvar illinois_rotator = [\n\t{\n\t\t\"credit\": \"\u00a9 TNC\",\n\t\t\"caption\" : \"Restoring America\u2019s Heartland Takes Heart\",\n\t\t\"headline\" : \"Restoring America\u2019s Heartland Takes Heart\",\n\t\t\"description\" : \"Discover who's helping in Illinois.\",\n\t\t\"button\" : \"Start exploring!\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/restoring-americas-heartland.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/Restoring%20Americas%20Heartland%20Takes%20Heart%20%5BFULL%20SIZE%5D.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 Julia Bourque/TNC\",\n\t\t\"caption\" : \"Farmer Don Birky's altered RoGator spreads a cover crop of rye and turnips at the Franklin Demonstration Farm near Bloomington, Illinois.\",\n\t\t\"headline\" : \"Innovative Conservation\",\n\t\t\"description\" : \"Conservancy staff at the Franklin Demonstration Farm are monitoring the effects of cover crops on nutrient absorption.\",\n\t\t\"button\" : \"Learn more!\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/explore/innovative-conservation-the-franklin-demonstration-farm.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/Machine%20over%20corn.jpg\" \n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 Ami Vitale\",\n\t\t\"caption\" : \"Milkweed's blooms transition to feathery seed pods during the fall.\",\n\t\t\"headline\" : \"25 Years of Transformation\",\n\t\t\"description\" : \"The Nature Conservancy's Nachusa Grasslands Preserve celebrates its 25th year. Learn how this preserve has transformed into the 3,000 acres it is today.\",\n\t\t\"button\" : \"Explore!\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/explore/nachusa-25-years-of-transformation.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/DSC_6401.JPG\" \n\t},\n\t{\n\t\t\"credit\" : \"\u00a9  Cristina Rutter\",\n\t\t\"caption\" : \"Newly constructed boardwalks at Emiquon take visitors nearly 800 into the wetland.\",\n\t\t\"headline\" : \"Donate to The  Nature Conservancy\",\n\t\t\"description\" : \"Your support ensures cleaner water, fresher air and healthier habitats today and for future generations. \",\n\t\t\"button\" : \"Donate!\",\n\t\t\"link\" : \"https://support.nature.org/site/Donation2?idb=1315491349&df_id=4200&4200.donation=form1\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/TNC_024_Emiquon-2-min.jpg\" \n\t}\n];\nfunction build_rotator_markup(slides){\n\tvar markup = '<section class=\"gallery\"><ul id=\"rotator\" style=\"overflow:hidden;\">';\n\tvar tabs = '<ul id=\"slide-nav\" class=\"slide-nav\" >';\n\tfor(var i=0; i<slides.length; i++){\n\t\tvar slide = slides[i];\n\t\tmarkup += '<li class=\"slide\" id=\"slide'+i+'\" style=\"position: absolute; top: 0px; left: 0px; width: 720px; height: 350px; z-index: 4; opacity: 0; display: none; \">     <div class=\"photoCreditImg\"><a target=\"\" href=\"' + slide.link +'\"><img src=\"'+ slide.image+ '\" alt=\"\" style=\"width: 720px; \"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + slide.description+' Photo ' + slide.credit  +'</span></a>          </div>     <div class=\"description\">     <a class=\"btn-green\" href=\"' + slide.link + '\" target=\"\">' + slide.button+'</a>     <div class=\"main\">     \t<p>' +  slide.description + '</p>     </div>     </div>     ';\n\t\ttabs += '<li><p><a target=\"\" href=\"/index.htm\">' + slide.headline+ '</a></p></li>';\n\t}\t\n\tmarkup += \"</ul>\";\n\ttabs   += \"</ul>\";\n\t\n\treturn markup + tabs + \"</section>\";\n}\n$(build_rotator_markup(illinois_rotator)).appendTo(\"#newhero\");\n$(\"#mainGraphicBox\").hide();\njQuery('#rotator').cycle({ \n    prev: '#prev',  \n    next: '#next', \n    timeout: 8000, \n    speed: 500,\n    pause: 1,\n    pager: '#slide-nav',\n    pagerEvent: 'mouseover', \n\tpauseOnPagerHover: true,\n    pagerAnchorBuilder: function(idx, slide) {\n        // return selector string for existing anchor\n        return '#slide-nav li:eq(' + idx + ') a';\n    }\n});\n$(\".gallery\").css({\"float\":\"left\"});\n$(\"#leftSignUp p\").css({\"color\": \"#643C15\",\"margin\": \"0 0 2px\", \"font\": '22px/25px adobe-garamond-pro, \"Times New Roman\", Times, serif'}).text('Get Involved in '+ s_site_section);\n/*********\n\nTAB SECTION\n\n***********/\n\nvar illinois_tabs = [\n\t{\n\t\tname : \"Illinois News\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/MRCC070712_D357.jpg\",\n\t\t\t\tcredit: \"\u00a9 Byron Jorjorian\",\n\t\t\t\tcaption: \"Jason Beverlin, Illinois River Program Director for The Nature Conservancy, surveys the growth of trees in the restoration and reforestation project at Emiquon.\",\n\t\t\t\theadline: \"Jason's Journal\",\n\t\t\t\tdescription: \"Jason Beverlin, Illinois River Program Director, brings you the latest from the Emiquon Preserve.\",\n\t\t\t\tlinkedtext: \"latest from the Emiquon Preserve\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/explore/jasons-journal-introduction.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/ilfo-annual-fy11-final-lowres-with-links-1.jpg\",\n\t\t\t\tcredit: \"\u00a9 Laura Gannarelli/TNC\"  , \n\t\t\t\tcaption: \"2011 Illinois Annual Report\",\n\t\t\t\theadline: \"2011 Illinois Annual Report\",\n\t\t\t\tdescription: \"Download the PDF of this year's report, where we discuss how Illinois' projects are bridging people and nature.\",\n\t\t\t\tlinkedtext: \"Download the PDF\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/ilfo-annual-fy11-final-lowres-with-links.pdf\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/MRCC080620_D019.jpg\",\n\t\t\t\tcredit: \"\u00a9 Timothy T. Lindenbaum/TNC\",\n\t\t\t\tcaption: \"Fox kit at Franklin demonstration farm in the Mackinaw River watershed.\",\n\t\t\t\theadline: \"January Natural Events\",\n\t\t\t\tdescription: \"Come look for coyote tracks, foxes and deer or watch muskrats build their homes on top of frozen wetlands.\",\n\t\t\t\tlinkedtext: \"Come look for coyote tracks, foxes and deer or watch muskrats\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/explore/january-natural-events.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/illinois-digital-map.jpg\",\n\t\t\t\tcredit: \"\u00a9 Jeremy Martin\",\n\t\t\t\tcaption: \"Interactive map of Illinois conservation projects\",\n\t\t\t\theadline: \"Illinois Interactive Map\",\n\t\t\t\tdescription: \"Explore this interactive map, which uses photos and videos to explain The Nature Conservancy's projects in Illinois.\",\n\t\t\t\tlinkedtext: \"Explore this interactive map\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/illinois-interactive-map-1.xml\"\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t\n\t\t]\n\t},\n\t{\n\t\tname : \"Places we Protect in Illinois\",\n\t\tsections: [{},\t\n\t\t{\n\t\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/emiquon.xml\",\n\t\t\theadline :\"Emiquon Preserve\",\n\t\t\tdescription : \"Emiquon is one of the largest floodplain restoration projects in the Midwest.\",\n\t\t\tcaption : \"Emiquon is one of the largest floodplain restoration projects in the Midwest.\",\n\t\t\tcredit : \"\",\n\t\t\tlinkedtext : \"Read more\",\n\t\t\timage : \"http://www.nature.org/idc/groups/webcontent/@web/@illinois/documents/media/prd_037433.jpg\"\n\t\t},\n\t\t{\n\t\t\tlink : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/nachusa-grasslands.xml\",\n\t\t\theadline : \"Nachusa Grasslands Preserve\",\n\t\t\tdescription : \"Nachusa Grasslands is one of the Conservancy's greatest ongoing success stories.\",\n\t\t\tlinkedtext : \"Read more\",\n\t\t\tcaption : \"Nachusa Grasslands is one of the Conservancy's greatest ongoing success stories.\",\n\t\t\tcredit : \"\",\n\t\t\timage : \"http://www.nature.org/idc/groups/webcontent/@web/@illinois/documents/media/nachusa-at-dawn.jpg\"\n\t\t\t\n\t\t\t\n\t\t},\n\t\t{\n\t\t\tlink : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/indian-boundary-prairies.xml\",\n\t\t\theadline : \"Indian Boundary Prairies\",\n\t\t\tlinkedtext : \"Read more\",\n\t\t\tdescription : \"A portion of the Indian Boundary Prairies has been named a National Natural Landmark.\",\n\t\t\timage : \"http://www.nature.org/idc/groups/webcontent/@web/@illinois/documents/media/prd_032337.jpg\",\n\t\t\tcredit: \"Ron Panzer\",\n\t\t\tcaption: \"Fringed gentian (Gentianopsis crinita) is one of many rare plants at Indian Boundary Prairies\"\n\t\t}]\n\t\t\n\t},\n\t{\n\t\tname : \"Photos & Videos\",\n\t\tsections: [\t{\n\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Illinois%20Homepage%20Test/Images%20for%20Illinois%20homepage%20redesign/resize/prd_036478.jpg\",\n\t\t\tcredit: \"\u00a9 David Lee\",\n\t\t\tcaption: \"The recent flooding has displaced thousands of people, washing away their family heirlooms and photos and demolishing their homes and businesses. \",\n\t\t\theadline:\" Flooding in the Mississippi River Valley: Looking Forward\",\n\t\t\tdescription: \"The Nature Conservancy staff survey flood conditions near New Orleans and Baton Rouge and discuss how river systems might be better managed for people and nature in the future.\",\n\t\t\tlinkedtext: \"The Nature Conservancy staff survey flood conditions\",\n\t\t\tlink: \"http://www.youtube.com/watch?v=J_aheSBwNwo&feature=player_embedded\"\n\t\t\t}]\n\t}\n\n];\n\n$(\"<style>#contentWrapper{ width:1000px;} html #contentWrapper a.btn-green {color: white;}.post-list .post .img-holder img {width: 125px;}.post .img-holder img {width: 269px;}html #rcLeft.base h2 {font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;} html #rcLeft.base .post-list h2{font-size: 22px;line-height: 25px;}  html #rcLeft.base .tabs-area li{font: 20px/22px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;color: #408CB4;margin: 0 0 4px;} html #rcLeft.base .tabs-area li a{color: #83836C;}</style>\").appendTo(\"head\");\n\n\nfunction returnTabMarkup(tabs){\n\tvar tab_start = '<div class=\"tabs-area clearfix\">\t\t<div class=\"tabset-holder clearfix\">     \t\t\t<a class=\"rss\" href=\"http://my.nature.org/nature/rss.html\">RSS</a>  <ul class=\"tabset\">   \t\t\t';\n\tvar articles_markup = \"\";\n\tfor(var i=0; i<tabs.length; i++){\n\t\tvar tab = tabs[i];\n\t\tvar num = (i+1);\n\t\ttab_start += '<li><a href=\"#tab_' + num+ '\" class=\"tab + ' + (i?\"\":\"active\")  + '\" onclick=\"s_tabView(\\'' + tab.name + '\\')\">' + tab.name +'</a></li>';\n\t\tvar display = i ? \"none\" : \"block\";\n\t\tarticles_markup += '<div class=\"tab-content\" id=\"tab_'+ num +'\" style=\"display: ' + display +'; \">';\n\t\tfor(var k=0; tab.sections && k<tab.sections.length; k++){\n\t\t\tvar article = tab.sections[k];\n\t\t\tarticles_markup += \t'<article class=\"post\"><figure class=\"img-holder\"><div class=\"photoCreditImg\" ' + (k?\"\":'id=\"home-feature-photo-credit\"') + '><a target=\"\" href=\"' + article.link+ '\"><img src=\"' + article.image +'\" alt=\"' + article.caption + '\"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + article.caption + ' Photo ' + article.credit+ '</span></a></div></figure><div class=\"description\"><h2><a href=\"' + article.link +'\" target=\"\">' + article.headline + '</a></h2><p> ' + article.description +' </p><a target=\"\" href=\"' + article.link + '\" class=\"link-more\">'  + article.linkedtext +'</a></div></article>';\n\t\t\tif(!k){\n\t\t\t\tarticles_markup +='<section class=\"post-list\">';\n\t\t\t}\n\t\t}\n\t\tarticles_markup += \"</section></div>\";\n\t\t\n\t}\n\ttab_start += \"</ul></div>\";\n\treturn  tab_start + articles_markup; \n}\nvar illinois_facts = {\n\tphone : \"(312) 580-2100\",\n\tplaces : \"7\",\n\tfounded : \"1966\",\n\tabbrev : \"IL\",\n\tname : s_site_section,\n\temail : \"illinois@tnc.org\"\n};\n\n$(\"#rcRight\").css({\"width\":\"180px\", \"padding-top\" : \"50px\", \"margin-right\" : \"0px\"}).html(function(){\n\tvar html =\"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Contact \" + illinois_facts.abbrev +\"</h2>\";\n\thtml += \"<strong style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>The Nature Conservancy<br>\" + s_site_section + \" Program</strong>Phone: \"+illinois_facts.phone+\" <br>E-mail: <a href='mailto:\" + illinois_facts.email +\"'>\"  + illinois_facts.email +\"</a><hr>\";\n\thtml += \"Founded: \" + illinois_facts.founded;\n\t//html += \"<br>Places Protected: \" + illinois_facts.places;\n\thtml += \"<hr>If you have questions regarding your membership or donation, please contact our membership department at <a href='mailto:membership@tnc.org'>membership@tnc.org</a> or (800) 628-6860.<br><a href='http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/illinois/contact/index.htm'>More Contact Info</a>\";\n//\thtml += \"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Local Events</h2>\";\n\t\n\t\n\thtml += \"<hr><h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Related Content</h2>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Share Your Photos</strong><p> Enter our annual photo contest for our Daily Nature Photo.</p><a href='http://my.nature.org/nature/photos/share.html'>Explore</a>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Read Special Features</strong><p> Learn about your favorite animals, explore interactive graphics and more!</p><a href='http://www.nature.org/newsfeatures/specialfeatures/index.htm'>Read More</a>\";\n\t\n\treturn html;\n});\n$(\"#rcLeft\").addClass(\"base\").css({\"padding-top\":\"1.2em\", \"width\" : \"610px\"}).html(returnTabMarkup(illinois_tabs));\n$(\".tabset-holder\").css({\"padding-left\" : \"0\"});\ninitTabs();\n\n\n$(\"#tab_2 article.post:first\").addClass(\"post-list\").css({\n\t\"background-color\": \"#F1F3E6\",\n    \"padding\" : \"1em\"\n\t\n}).html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;sll=37.0625,-95.677068&amp;sspn=20.145894,48.339844&amp;ie=UTF8&amp;ll=40.128491,-88.879395&amp;spn=4.199806,10.854492&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe><div style=\"    width: 100%;\"><div style=\"width: 50%; padding-bottom: 10px;   float: left;\"><h2>Explore our preserves and places we protect in Illinois</h2> <a style=\"float:left\" class=\"btn-green\" href=\"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/restoring-americas-heartland.xml\" target=\"\">Explore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div><div style=\"width: 50%;   float: left;\">For more than 50 years, the Conservancy has been working throughout California to help protect nature and the precious natural resources that are essential to human life. Together with partners, local landowners and the support of members like you, we have helped to protect nearly 1.5 million ares in California </div></div>');\n\n$(\".photoCredit\").hover(\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"block\" }); },\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"none\" }); }\n);\n\n$(\"#tab_2 section\").append('<h5>Places We Protect</h5><p><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/nachusa-grasslands.xml\" target=\"\">Nachusa Grasslands</a><br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/kankakee-sands-1.xml\" target=\"\">Kankakee Sands</a> <br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/spunky-bottoms.xml\" target=\"\">Spunky Bottoms </a><br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/the-cache-river-wetlands-grassy-slough.xml\" target=\"\">The Grassy Slough Preserve in the Cache River Wetlands</a><br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/midewin-national-tallgrass-prairie.xml\" target=\"\">Midewin National Tallgrass Prairie</a><br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/emiquon.xml\" target=\"\">Emiquon</a><br /><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/indian-boundary-prairies.xml\" target=\"\">Indian Boundary Prairies  </a><a href=\"/ourinitiatives/regions/northamerica/unitedstates/illinois/placesweprotect/cedar-glen-eagle-roost-and-preserve.xml\" target=\"\"><br /></a></p>');\n\n_gaq.push([\"_trackEvent\", \"States Page Test\", \"Illinois\", \"Variation\", 0, 1]);\n//$(\"#newhero h2.fancy-serif, #newHero h3.subTitle\").css({\"display\":\"inline\"});\n//$(\"#newhero h3.subTitle\").css({\"padding-left\": \"1em\" , \"display\":\"inline\"});\n//$(\".opt-left a:first\").hide();\n//$(\"#newhero\").append(\"<div style='padding-top: 3em; padding-left: 1em;' class=\\\"opt-left\\\"><a class=\\\"brown opt-donate-button\\\" href=\\\"http://my.nature.org/donate/\\\"><span>Donate Now</span></a><br></div><div style='font-size: 16px;line-height: 20px;' class='opt-right fancy-serif'>\" + regiontext +\"</div>\");\n\n$(\"#rotator p\").css({\"font-size\":\"16px\"});\n$(\".post\").css({\"overflow\" : \"visible\"});\n$(\"article\").addClass(\"clearfix\");\n\n$(\"a span span \").each(function(){\n\t$(this).parent().html($(this).text());\n});\n$(\"#leftSignUp\").after(\"<div style='padding-bottom: 2em;border-bottom: solid 1px #C4C1AF;margin-bottom: 2em;width: 156px;'><p style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Stay Connected<br>with Illinois</p><div style='text-align:center'><span st_url='http://www.facebook.com/TheNatureConservancyIllinois' class='st_fblike_vcount' displayText='Facebook'></span><!--<span id='fakefollow' style=\\\"text-decoration:none;color:#000000;display:inline-block;cursor:pointer;\\\" class=\\\"stButton\\\"><div><div class=\\\"stBubble\\\" style=\\\"display: block; \\\"><div class=\\\"stBubble_count\\\">93676</div></div><span class=\\\"stMainServices st-twitter-counter\\\" style=\\\"background-image: url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png); \\\">&nbsp;<img src=\\\"http://w.sharethis.com/images/check-big.png\\\" style=\\\"position: absolute; top: -7px; right: -7px; width: 19px; height: 19px; max-width: 19px; max-height: 19px; display: none; \\\"></span></div></span>--></div></div>\");\n//$(\".stBubble_count\").css({\"background\":\"white\",\"font-size\":\"16px\", \"height\":\"23px\"});\n//$(\".stButton .stBubble\").css({\"height\":\"38px\", \"background\" : \"url(http://w.sharethis.com/share4x/images/bubble_arrow_below.png) no-repeat 10px 34px\"});\n\nwindow.switchTo5x=true;\njQuery.getScript(\"http://w.sharethis.com/button/buttons.js\", function(){\n\tstLight.options({publisher:'f8b7e32a-86a0-4db7-842b-53991533e4d0'});\n\t\n//\tjQuery.getScript(\"http://cdn.api.twitter.com/1/users/show.json?screen_name=nature_org&callback=twttr.setFollowersCount\");\n//\t$(\".st-twitter-counter\").css({\"background-image\": \"url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png)\"});\n});\n/*$(\"#fakefollow\").click(function(){\n\tvar D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C>A){G=Math.round((C/2)-(A/2));}\n\twindow.open('https://twitter.com/intent/user?screen_name=nature_org','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');\n\treturn false;\n});\nwindow.twttr = {\n\tsetFollowersCount : function(f){\n\t\t$(\".st_twitter_vcount .stBubble_count\").text(\"\"+f.followers_count);\n\t}\n};\n*/\n$(\".tab:eq(1)\").one(\"click\", function(){\n$(\"#tab_2 iframe\").wrap(\"<div id=mapiframe />\"); $(\"#mapiframe\").html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;sll=37.0625,-95.677068&amp;sspn=20.145894,48.339844&amp;ie=UTF8&amp;ll=40.128491,-88.879395&amp;spn=4.199806,10.854492&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe>');\n});", 
      "name": "Variation #1"
    }, 
    "19862547": {
      "code": "_gaq.push([\"_trackEvent\", \"States Page Test\", \"Oregon\", \"Original\", 0, 1]);", 
      "name": "Variation #2"
    }, 
    "19909860": {
      "name": "Original Page"
    }, 
    "19911276": {
      "code": "_gaq.push([\"_trackEvent\", \"States Page Test\", \"Colorado\", \"Original\", 0, 1]);", 
      "name": "Variation #2"
    }, 
    "19984878": {
      "code": "/*\nTODO:\nGet list of places we protect\nfix header spacing\ncrop teen photo\nresize photos\n*/\n\nvar regiontext = \"For 45 years, the Conservancy in Colorado has worked to protect the lands and waters that form the foundation of our economy, our recreational pursuits and our livelihoods. Over the years, we have protected more than 600,000 acres and 650 river miles across the state.\";\n\n\n$(\"#rightTwoColumn h2:first\").add(\"h3.subTitle\").css({\"color\":\"#643c15\"}).css({\"background-color\":  \"#F1F3E6\"}).addClass(\"fancy-serif\").wrapAll(\"<div id='newhero'><div class='opt-left'></div></div>\");\n$(\".opt-left\").after(\"<div style='font-size: 16px;line-height: 20px;' class='opt-right fancy-serif'>\" + regiontext +\"</div>\");\n$(\"h3.subTitle\").css({\"font-variant\": \"small-caps\" , \"opacity\": 0.6, \"width\":\"100%\", \"font-size\":\"20px\"});\n$(\"<style>#slide0{margin-top:-130px} #slide0 .description {bottom: -79px; } .slide{margin-top: -25px;} html #rcRight hr{margin: 1.5em 0; width: 90%;} #rcRight strong {margin-bottom: 0.5em;margin-top: 1.25em;} .fancy-serif{font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif}.opt-left {float: left;}.opt-right {float: left;width: 431px; padding-top: 1em;padding-left: 5em; padding-bottom: 1em;}#newhero{height:505px; background-color:#F1F3E6;max-width: 730px;padding: 20px;}a.opt-donate-button{background: #AC4B14 url(http://www.nature.org/idc/groups/webasset/documents/webasset/image_en-us_donate_btn.gif) no-repeat;width: 148px;height: 28px;float: left;text-decoration: none;color: white;position: relative;margin-bottom: 7px;} a.opt-donate-button:hover { opacity: .9; text-decoration: none; } .opt-donate-button span{color:white;float: left;height: 28px;cursor: pointer;padding: 6px 0 0 7px;}   .opt-donate-button span:hover{text-decoration: none; }</style>\").appendTo(\"head\");\n//$('<a class=\"brown opt-donate-button\" href=\"http://my.nature.org/donate/\"><span>Donate Now</span></a><br>').appendTo(\"#newhero .opt-left\");\n$(\"#breadcrumbs a\").not(\":last\").css({\"color\": \"#98987E\"});\n\n/**************\n\nROTATOR SECTION\n\n****************/\nvar colorado_rotator = [\n\t{\n\t\t\"credit\" : \"\u00a9 Mark Godfrey/TNC\",\n\t\t\"caption\" : \"Early winter snow in Colorado's North Park region.\",\n\t\t\"headline\" : \"Making a Difference\",\n\t\t\"description\" : \"Give a gift to Colorado\u2019s lands and waters that will last all year long. \",\n\t\t\"button\" : \"Donate Now\",\n\t\t\"link\" : \"https://support.nature.org/site/Donation2?idb=418542022&df_id=4200&4200.donation=form1\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/WOPA041006_D035.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 TNC\",\n\t\t\"caption\" : \"The Nature Conservancy\u2019s staff in Colorado share a moment of \u201cthanks\u201d with their kids. \",\n\t\t\"headline\" : \"Video: Our Kids Say \\\"Thanks\\\"\",\n\t\t\"description\" : \"The Conservancy's next generation in Colorado has a message for their parents' dedication to nature: \\\"thanks, mom and dad!\\\"\",\n\t\t\"button\" : \"Watch Now\",\n\t\t\"link\" : \"http://www.youtube.com/watch?v=mWwvc6PS9M8&feature=youtu.be\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/Screen%20shot%202011-12-20%20at%202.53.12%20PM.png\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 Dave Showalter\",\n\t\t\"caption\" : \"Bison graze on the Colorado plains.\",\n\t\t\"headline\" : \"San Luis Valley: Where the Buffalo Roam, Again\",\n\t\t\"description\" : \"Bison are making a comeback on the Conservancy's Zapata Ranch.\",\n\t\t\"button\" : \"Learn More\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/bison-in-the-san-luis-valley.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/Bison_SLV_Dave%20Showalter.jpg\"\n\t}\n\n];\nfunction build_rotator_markup(slides){\n\tvar markup = '<section class=\"gallery\"><ul id=\"rotator\" style=\"overflow:hidden;\">';\n\tvar tabs = '<ul id=\"slide-nav\" class=\"slide-nav\" >';\n\tfor(var i=0; i<slides.length; i++){\n\t\tvar slide = slides[i];\n\t\tmarkup += '<li class=\"slide\" id=\"slide'+i+'\" style=\"position: absolute; top: 0px; left: 0px; width: 720px; height: 350px; z-index: 4; opacity: 0; display: none; \">     <div class=\"photoCreditImg\"><a target=\"\" href=\"' + slide.link +'\"><img src=\"'+ slide.image+ '\" alt=\"\" style=\"width: 720px; \"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + slide.description+' Photo ' + slide.credit  +'</span></a>          </div>     <div class=\"description\">     <a class=\"btn-green\" href=\"' + slide.link + '\" target=\"\">' + slide.button+'</a>     <div class=\"main\">     \t<p>' +  slide.description + '</p>     </div>     </div>     ';\n\t\ttabs += '<li><p><a target=\"\" href=\"/index.htm\">' + slide.headline+ '</a></p></li>';\n\t}\t\n\tmarkup += \"</ul>\";\n\ttabs   += \"</ul>\";\n\t\n\treturn markup + tabs + \"</section>\";\n}\n$(build_rotator_markup(colorado_rotator)).appendTo(\"#newhero\");\n$(\"#mainGraphicBox\").hide();\njQuery('#rotator').cycle({ \n    prev: '#prev',  \n    next: '#next', \n    timeout: 8000, \n    speed: 500,\n    pause: 1,\n    pager: '#slide-nav',\n    pagerEvent: 'mouseover', \n\tpauseOnPagerHover: true,\n    pagerAnchorBuilder: function(idx, slide) {\n        // return selector string for existing anchor\n        return '#slide-nav li:eq(' + idx + ') a';\n    }\n});\n$(\".gallery\").css({\"float\":\"left\"});\n$(\"#leftSignUp p\").css({\"color\": \"#643C15\",\"margin\": \"0 0 2px\", \"font\": '22px/25px adobe-garamond-pro, \"Times New Roman\", Times, serif'}).text('Get Involved in '+ s_site_section);\n/*********\n\nTAB SECTION\n\n***********/\n\nvar colorado_tabs = [\n\t{\n\t\tname : \"Colorado News\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/San%20Juans%20Cover.jpg\",\n\t\t\t\tcredit: \"\u00a9 John Fielder\",\n\t\t\t\tcaption: \"San Juan wildflowers \",\n\t\t\t\theadline: \"Year in Review 2011\",\n\t\t\t\tdescription: \"Learn how people plus conservation equaled big results in Colorado this year!\",\n\t\t\t\tlinkedtext: \"Read the stories now!\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/2011-colorado-report-highlights.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/Vienna%20Vitek%20wit%20squirrel.jpg\",\n\t\t\t\tcredit: \"\u00a9 Courtesy Vienna Vitek\",\n\t\t\t\tcaption: \"Young artist and Conservancy supporter Vienna Vitek\",\n\t\t\t\theadline: \"Young Artist Gives Back\",\n\t\t\t\tdescription: \"A 16-year-old Colorado native is using her talents to protect nature far from home.\",\n\t\t\t\tlinkedtext: \"Read More\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/young-artist-gives-back.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/P1020305.JPG\",\n\t\t\t\tcredit: \"\u00a9 Carrie Langford/TNC\",\n\t\t\t\tcaption: \"Volunteers work together to discover what\u2019s living on The Nature Conservancy\u2019s Brett Grey Ranch.\",\n\t\t\t\theadline: \"Bio Blitz\",\n\t\t\t\tdescription: \"Scientists, ranchers and young kids work together to take stock of life on the prairie.\",\n\t\t\t\tlinkedtext: \"Learn More\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/brett-gray-ranch-bio-blitz-in-colorado.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/Screen%20shot%202011-12-20%20at%203.32.21%20PM.png\",\n\t\t\t\tcredit: \"\u00a9 TNC\",\n\t\t\t\tcaption: \"See where The Nature Conservancy works along the Colorado River.\",\n\t\t\t\theadline: \"Explore the Colorado River\",\n\t\t\t\tdescription: \"Use this interactive map to view our projects along this important river system.\",\n\t\t\t\tlinkedtext: \"Explore Now\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/howwework/interactive-media-colorado-river-project.xml\"\n\t\t\t\t\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\tname : \"Places We Protect\",\n\t\tsections : [\n\t\t{}, //blank for the map embed\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@photopublic/documents/media/prd_019429.jpg\",\n\t\t\t\tcredit: \"\u00a9 Harold E. Malde\",\n\t\t\t\tcaption: \"Lush, irrigated fields and rolling hills frame this view of Carpenter ranch, northern Colorado.\",\n\t\t\t\theadline: \"Carpenter Ranch\",\n\t\t\t\tdescription: \"A birdwatcher\u2019s paradise.\",\n\t\t\t\tlinkedtext: \"Read more\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/carpenter-ranch.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@colorado/documents/media/prd_019515.jpg\",\n\t\t\t\tcredit: \"Russ Schnitzer\",\n\t\t\t\tcaption: \"Phantom Canyon Preserve\",\n\t\t\t\theadline: \"Phantom Canyon Preserve\",\n\t\t\t\tdescription: \"One of northern Colorado's last roadless canyons.\",\n\t\t\t\tlinkedtext: \"Read more\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/phantom-canyon-preserve.xml\"\n\t\t\t\t\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@photopublic/documents/media/prd_019542.jpg\",\n\t\t\t\tcredit: \"\u00a9 Harold E. Malde\",\n\t\t\t\tcaption: \"Dramatic, spring view of Medano Zapata ranch with flowering shrublands at the base of the Sangre de Cristo mountains, Colorado. \",\n\t\t\t\theadline: \"San Luis Valley \u2013 Zapata Ranch\",\n\t\t\t\tdescription: \"Splendor among the Great Sand Dunes and the San Juan Mountains.\",\n\t\t\t\tlinkedtext: \"Read more\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/zapata-ranch.xml\"\n\t\t\t\t\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\tname : \"Photos & Videos\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\t\"credit\" : \"\u00a9 TNC\",\n\t\t\t\t\"caption\" : \"The Nature Conservancy\u2019s staff in Colorado share a moment of \u201cthanks\u201d with their kids. \",\n\t\t\t\t\"headline\" : \"Video: Our Kids Say \\\"Thanks\\\"\",\n\t\t\t\t\"description\" : \"The Conservancy's next generation in Colorado has a message for their parents' dedication to nature: \\\"thanks, mom and dad!\\\"\",\n\t\t\t\t\"button\" : \"Watch Now\",\n\t\t\t\t\"link\" : \"http://www.youtube.com/watch?v=mWwvc6PS9M8&feature=youtu.be\",\n\t\t\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Colorado%20Test%20Content/CO%20Homepage%20Pilot/Screen%20shot%202011-12-20%20at%202.53.12%20PM.png\",\n\t\t\t\t\"linkedtext\" : \"Watch Now\"\n\t\t\t}\n\t\t]\n\t}\n\n];\n\n$(\"<style>#contentWrapper{ width:1000px;} html #contentWrapper a.btn-green {color: white;}.post-list .post .img-holder img {width: 125px;}.post .img-holder img {width: 269px;}html #rcLeft.base h2 {font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;} html #rcLeft.base .post-list h2{font-size: 22px;line-height: 25px;}  html #rcLeft.base .tabs-area li{font: 20px/22px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;color: #408CB4;margin: 0 0 4px;} html #rcLeft.base .tabs-area li a{color: #83836C;}</style>\").appendTo(\"head\");\n\n\nfunction returnTabMarkup(tabs){\n\tvar tab_start = '<div class=\"tabs-area clearfix\">\t\t<div class=\"tabset-holder clearfix\">     \t\t\t<a class=\"rss\" href=\"http://my.nature.org/nature/rss.html\">RSS</a>  <ul class=\"tabset\">   \t\t\t';\n\tvar articles_markup = \"\";\n\tfor(var i=0; i<tabs.length; i++){\n\t\tvar tab = tabs[i];\n\t\tvar num = (i+1);\n\t\ttab_start += '<li><a href=\"#tab_' + num+ '\" class=\"tab + ' + (i?\"\":\"active\")  + '\" onclick=\"s_tabView(\\'' + tab.name + '\\')\">' + tab.name +'</a></li>';\n\t\tvar display = i ? \"none\" : \"block\";\n\t\tarticles_markup += '<div class=\"tab-content\" id=\"tab_'+ num +'\" style=\"display: ' + display +'; \">';\n\t\tfor(var k=0; tab.sections && k<tab.sections.length; k++){\n\t\t\tvar article = tab.sections[k];\n\t\t\tarticles_markup += \t'<article class=\"post\"><figure class=\"img-holder\"><div class=\"photoCreditImg\" ' + (k?\"\":'id=\"home-feature-photo-credit\"') + '><a target=\"\" href=\"' + article.link+ '\"><img src=\"' + article.image +'\" alt=\"' + article.caption + '\"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + article.caption + ' Photo ' + article.credit+ '</span></a></div></figure><div class=\"description\"><h2><a href=\"' + article.link +'\" target=\"\">' + article.headline + '</a></h2><p> ' + article.description +' </p><a target=\"\" href=\"' + article.link + '\" class=\"link-more\">'  + article.linkedtext +'</a></div></article>';\n\t\t\tif(!k){\n\t\t\t\tarticles_markup +='<section class=\"post-list\">';\n\t\t\t}\n\t\t}\n\t\tarticles_markup += \"</section></div>\";\n\t\t\n\t}\n\ttab_start += \"</ul></div>\";\n\treturn  tab_start + articles_markup; \n}\nvar facts = {\n\tphone : \"(303) 444-2950\",\n\tplaces : \"16\",\n\tfounded : \"1965\",\n\tabbrev : \"CO\",\n\tname : s_site_section,\n\temail : \"colorado@tnc.org\"\n};\n\n$(\"#rcRight\").css({\"width\":\"180px\", \"padding-top\" : \"50px\", \"margin-right\" : \"0px\"}).html(function(){\n\tvar html =\"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Contact \" + facts.abbrev +\"</h2>\";\n\thtml += \"<strong style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>The Nature Conservancy<br>\" + s_site_section + \" Program</strong>Phone: \"+facts.phone+\" <br>E-mail: <a href='mailto:\" + facts.email +\"'>\"  + facts.email +\"</a><hr>\";\n\thtml += \"Founded: \" + facts.founded;\n//\thtml += \"<br>Places Protected: \" + facts.places;\n\thtml += \"<hr>If you have questions regarding your membership or donation, please contact our membership department at <a href='mailto:membership@tnc.org'>membership@tnc.org</a> or (800) 628-6860.<br><a href='http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/contact/index.htm'>More Contact Info</a>\";\n//\thtml += \"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Local Events</h2>\";\n\t\n\t\n\thtml += \"<hr><h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Related Content</h2>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Share Your Photos</strong><p> Enter our annual photo contest for our Daily Nature Photo.</p><a href='http://my.nature.org/nature/photos/share.html'>Explore</a>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Read Special Features</strong><p> Learn about your favorite animals, explore interactive graphics and more!</p><a href='http://www.nature.org/newsfeatures/specialfeatures/index.htm'>Read More</a>\";\n\t\n\treturn html;\n});\n$(\"#rcLeft\").addClass(\"base\").css({\"padding-top\":\"1.2em\", \"width\" : \"610px\"}).html(returnTabMarkup(colorado_tabs));\n$(\".tabset-holder\").css({\"padding-left\" : \"0\"});\ninitTabs();\n\n\n$(\"#tab_2 article.post:first\").addClass(\"post-list\").css({\n\t\"background-color\": \"#F1F3E6\",\n    \"padding\" : \"1em\"\n\t\n}).html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;ie=UTF8&amp;ll=39.300299,-105.79834&amp;spn=4.250491,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe><div style=\"    width: 100%;\"><div style=\"width: 50%; padding-bottom: 10px;   float: left;\"><h2>Explore our preserves and places we protect in Colorado</h2> <a style=\"float:left\" class=\"btn-green\" href=\"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/index.htm\" target=\"\">Explore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div><div style=\"width: 50%;   float: left;\">Since 1965, the Conservancy in Colorado has protected more than 600,000 acres and 650 river miles across the state. Included in those acres are a number of preserves, six of which are open to the public. Plan your visit today! </div></div>');\n\n$(\".photoCredit\").hover(\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"block\" }); },\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"none\" }); }\n);\nvar preservemarkup = '<div class=\"preserveCol1\"> <h5>Northwest Colorado</h5> <p><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/carpenter-ranch.xml\" target=\"\">Carpenter Ranch</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/yampa-river-preserve.xml\" target=\"\">Yampa River Preserve</a><br></p> <h5>Northeast Colorado</h5> <p><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/fox-ranch.xml\" target=\"\">Fox Ranch</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/high-creek-fen-preserve.xml\" target=\"\">High Creek Fen Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/phantom-canyon-preserve.xml\" target=\"\">Phantom Canyon Preserve</a></p> <h5>Nature Conservancy Colorado Cooperative Projects</h5> <p><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/mueller-state-park-and-wildlife-area.xml\" target=\"\">Mueller State Park and Wildlife Area</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/north-star-nature-preserve.xml\" target=\"\">North Star Nature Preserve</a></p>       </div> <div class=\"preserveCol2\"> <h5>Southwest Colorado</h5> <p><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/mexican-cut-preserve.xml\">Mexican Cut Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/san-miguel-canyon-preserve.xml\" target=\"\">San Miguel River - Canyon Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/san-miguel-river-south-fork-preserve.xml\" target=\"\">San Miguel River - South Fork Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/san-miguel-river-tabeguache-preserve.xml\" target=\"\">San Miguel River - Tabeguache Preserve</a><br></p> <h5>Southeast Colorado</h5> <p><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/aiken-canyon-preserve.xml\">Aiken Canyon Preserve </a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/bohart-ranch.xml\" target=\"\">Bohart Ranch</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/san-luis-valley---baca-ranch.xml\" target=\"\">San Luis Valley - Baca Ranch</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/zapata-ranch.xml\" target=\"\">San Luis Valley - Zapata Ranch</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/colorado/placesweprotect/mishak-lakes-preserve.xml\" target=\"\">San Luis Valley - Mishak Lakes Preserve</a></p>      </div>';\n$(\"#tab_2 section\").append('<h5 style=\"font-size: 23px;padding: 0.5em 0;\">Places We Protect</h5>' +preservemarkup);\n\n_gaq.push([\"_trackEvent\", \"States Page Test\", \"Colorado\", \"Variation\", 0, 1]);\n\n$(\"#rotator p\").css({\"font-size\":\"16px\"});\n$(\".post\").css({\"overflow\" : \"visible\"});\n$(\"article\").addClass(\"clearfix\");\n\n$(\"a span span \").each(function(){\n\t$(this).parent().html($(this).text());\n});\n$(\".tab:eq(1)\").one(\"click\", function(){\n$(\"#tab_2 iframe\").wrap(\"<div id=mapiframe />\"); $(\"#mapiframe\").html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;ie=UTF8&amp;ll=39.300299,-105.79834&amp;spn=4.250491,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe>');\n});", 
      "name": "Variation #1"
    }, 
    "20014845": {
      "code": "/*\nTODO:\nGet list of places we protect\nfix header spacing\ncrop teen photo\nresize photos\n*/\n\nvar regiontext = \"Working in Oregon for over 50 years, The Nature Conservancy has helped protect more than 505,000 acres of habitats critical to nature and people. With your help, we can ensure Oregon's natural wonders never cease.\";\n\n\n$(\"#rightTwoColumn h2:first\").add(\"h3.subTitle\").css({\"color\":\"#643c15\"}).css({\"background-color\":  \"#F1F3E6\"}).addClass(\"fancy-serif\").wrapAll(\"<div id='newhero'><div class='opt-left'></div></div>\");\n$(\".opt-left\").after(\"<div style='font-size: 16px;line-height: 20px;' class='opt-right fancy-serif'>\" + regiontext +\"</div>\");\n$(\"h3.subTitle\").css({\"font-variant\": \"small-caps\" , \"opacity\": 0.6, \"width\":\"100%\", \"font-size\":\"20px\"});\n$(\"<style>.slide{margin-top: -25px;} html #rcRight hr{margin: 1.5em 0; width: 90%;} #rcRight strong {margin-bottom: 0.5em;margin-top: 1.25em;} .fancy-serif{font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif}.opt-left {float: left;}.opt-right {float: left;width: 390px; padding-top: 1em;padding-left: 3em; padding-bottom: 1em;}#newhero{height:490px; background-color:#F1F3E6;max-width: 730px;padding: 20px;}a.opt-donate-button{background: #AC4B14 url(http://www.nature.org/idc/groups/webasset/documents/webasset/image_en-us_donate_btn.gif) no-repeat;width: 148px;height: 28px;float: left;text-decoration: none;color: white;position: relative;margin-bottom: 7px;} a.opt-donate-button:hover { opacity: .9; text-decoration: none; } .opt-donate-button span{color:white;float: left;height: 28px;cursor: pointer;padding: 6px 0 0 7px;}   .opt-donate-button span:hover{text-decoration: none; }</style>\").appendTo(\"head\");\n$(\"#breadcrumbs a\").not(\":last\").css({\"color\": \"#98987E\"});\n\n/**************\n\nROTATOR SECTION\n\n****************/\nvar state_rotator = [\n\t{\n\t\t\"credit\" : \"\u00a9 Rick McEwan\",\n\t\t\"caption\" : \"Washington ground squirrels at the Boardman Grasslands, Oregon. \",\n\t\t\"headline\" : \"Double Your Impact!\",\n\t\t\"description\" : \"Act now and your gift will be matched \u2014 dollar for dollar.\",\n\t\t\"button\" :\"Donate Now\",\n\t\t\"link\" : \"https://support.nature.org/site/Donation2?df_id=7640&7640.donation=form1\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/Oregon%20match.jpg\"\n\t},\n/*\t{   //STORY HIDDEN DUE TO SPACE\n\t\t\"credit\" : \"\u00a9 Jen Newlin/TNC\",\n\t\t\"caption\" : \"Oregon\u2019s Tasha Haraguchi.\",\n\t\t\"headline\" : \"Thanks!\",\n\t\t\"description\" : \"What are we thankful for? Your support!\",\n\t\t\"button\" :\"Our scientists tell you why. \",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/giving/thank-you-from-oregon.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/oregon_thank_you.jpg\"\n\t},\n\t*/\n\t{\n\t\t\"credit\" : \"\u00a9 istockphoto.com\",\n\t\t\"caption\" : \"Celebrating Leaders. \",\n\t\t\"headline\" : \"Conservation Heroes.\",\n\t\t\"description\" : \"Who won this year's Conservation Leadership Awards?\",\n\t\t\"button\" :\"Watch a video and slideshows to find out!\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/howwework/2011-oregon-conservation-leadership-awards.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/CLA.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 Rick McEwan\",\n\t\t\"caption\" : \"Yamhill Oaks Preserve. \",\n\t\t\"headline\" : \"Volunteer.\",\n\t\t\"description\" : \"We recently hosted our first family work party. \",\n\t\t\"button\" :\"How did it go? Find out more.\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/volunteer/yamhill-oaks-family-work-party.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/Yamhill%20Oaks.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 Molly Morison/TNC; Myleen Richardson \u00a9 Ethan Rosenthal\",\n\t\t\"caption\" : \"Oregon\u2019s 2011 Ray C. Davis Volunteer of the Year Award winners: David Gent. \",\n\t\t\"headline\" : \"Congratulations!\",\n\t\t\"description\" : \"David Gent and Myleen Richardson are our 2011 Volunteers of the Year.\",\n\t\t\"button\" :\"Read More.\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/volunteer/or-2011-volsyear.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/volunteers%20of%20the%20year%202011.jpg\"\n\t}\n\n];\nfunction build_rotator_markup(slides){\n\tvar markup = '<section class=\"gallery\"><ul id=\"rotator\" style=\"overflow:hidden;\">';\n\tvar tabs = '<ul id=\"slide-nav\" class=\"slide-nav\" >';\n\tfor(var i=0; i<slides.length; i++){\n\t\tvar slide = slides[i];\n\t\tmarkup += '<li class=\"slide\" id=\"slide'+i+'\" style=\"position: absolute; top: 0px; left: 0px; width: 720px; height: 350px; z-index: 4; opacity: 0; display: none; \">     <div class=\"photoCreditImg\"><a target=\"\" href=\"' + slide.link +'\"><img src=\"'+ slide.image+ '\" alt=\"\" style=\"width: 720px; \"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + slide.description+' Photo ' + slide.credit  +'</span></a>          </div>     <div class=\"description\">     <a class=\"btn-green\" href=\"' + slide.link + '\" target=\"\">' + slide.button+'</a>     <div class=\"main\">     \t<p>' +  slide.description + '</p>     </div>     </div>     ';\n\t\ttabs += '<li><p><a target=\"\" href=\"/index.htm\">' + slide.headline+ '</a></p></li>';\n\t}\t\n\tmarkup += \"</ul>\";\n\ttabs   += \"</ul>\";\n\t\n\treturn markup + tabs + \"</section>\";\n}\n$(build_rotator_markup(state_rotator)).appendTo(\"#newhero\");\n$(\"#mainGraphicBox\").hide();\njQuery('#rotator').cycle({ \n    prev: '#prev',  \n    next: '#next', \n    timeout: 8000, \n    speed: 500,\n    pause: 1,\n    pager: '#slide-nav',\n    pagerEvent: 'mouseover', \n\tpauseOnPagerHover: true,\n    pagerAnchorBuilder: function(idx, slide) {\n        // return selector string for existing anchor\n        return '#slide-nav li:eq(' + idx + ') a';\n    }\n});\n$(\".gallery\").css({\"float\":\"left\"});\n$(\"#leftSignUp p\").css({\"color\": \"#643C15\",\"margin\": \"0 0 2px\", \"font\": '22px/25px adobe-garamond-pro, \"Times New Roman\", Times, serif'}).text('Get Involved in '+ s_site_section);\n/*********\n\nTAB SECTION\n\n***********/\n\nvar state_tabs = [\n\t{\n\t\tname : \"Oregon News\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/Thanks%20thumbnail.jpg\",\n\t\t\t\tcredit: \"\u00a9 Jen Newlin/TNC\",\n\t\t\t\tcaption: \"Thanks for your support.\",\n\t\t\t\theadline: \"Celebrating Your Support\",\n\t\t\t\tdescription: \"Your commitment to conservation makes a world of difference.\",\n\t\t\t\tlinkedtext: \"Our staff tells you why.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/giving/thank-you-from-oregon.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/Conservation%20Leadership%20%2367.jpg\",\n\t\t\t\tcredit: \"\u00a9 Bruce MacGregor\",\n\t\t\t\tcaption: \"2011 Lifetime Conservation Achievement Award winner Walt Mintkeski prepares to plant native species along Johnson Creek.\",\n\t\t\t\theadline: \"Conservation Leadership Award Winners\",\n\t\t\t\tdescription: \"Honoring individuals, businesses and community partners in Oregon.\",\n\t\t\t\tlinkedtext: \"Watch a video and slideshows!\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/howwework/2011-oregon-conservation-leadership-awards.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/volunteers%20of%20the%20year%202011.jpg\",\n\t\t\t\tcredit: \"\u00a9 Rick McEwan\",\n\t\t\t\tcaption: \"Oregon\u2019s Williamson River Delta Preserve\",\n\t\t\t\theadline: \"Congratulations!\",\n\t\t\t\tdescription: \"We just announced our Ray C. Davis 2011 Volunteers of the Year.\",\n\t\t\t\tlinkedtext: \"Who won?\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/volunteer/or-2011-volsyear.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/Oregon%20Test%20Page%20Content/Yamhill%20Oaks%20thumb.JPG\",\n\t\t\t\tcredit: \"\u00a9 Morgan Parks\",\n\t\t\t\tcaption: \"Family work party at Yamhill Oaks Preserve\",\n\t\t\t\theadline: \"Generations at work \u2014 and play.\",\n\t\t\t\tdescription: \"We recently hosted our first family work party.\",\n\t\t\t\tlinkedtext: \"How did it go? Find out more\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/volunteer/yamhill-oaks-family-work-party.xml\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\tname : \"Places We Protect\",\n\t\tsections : [\n\t\t{}, //blank for the map embed\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@oregon/documents/media/prd_020103.jpg\",\n\t\t\t\tcredit: \"\u00a9 Rick McEwan\",\n\t\t\t\tcaption: \"Zumwalt Prairie in Oregon's northeastern corner, is North America's largest remaining grassland of its type. \",\n\t\t\t\theadline: \"Zumwalt Prairie Preserve\",\n\t\t\t\tdescription: \"Oregon's northeast corner is home to a remarkable number of hawks, eagles and other wildlife.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/zumwalt-prairie.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@oregon/documents/media/prd_020068.jpg\",\n\t\t\t\tcredit: \"\u00a9 Rick McEwan\",\n\t\t\t\tcaption: \"Cascade Head Preserve on the Oregon Coast.\",\n\t\t\t\theadline: \"Cascade Head Preserve\",\n\t\t\t\tdescription: \"A spectacular coastal headland is a haven for rare plants, wildlife and grassland communities.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/cascade-head.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@oregon/documents/media/prd_020055.jpg\",\n\t\t\t\tcredit: \"\u00a9 Melissa Roy-Hart/TNC\",\n\t\t\t\tcaption: \"Camassia Natural Area, the chapter's first preserve, is a wildflower haven just outside Portland, Oregon. \",\n\t\t\t\theadline: \"Camassia Natural Area\",\n\t\t\t\tdescription: \"Sculpted by prehistoric floods, this rocky plateau hosts an extraordinary floral diversity.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/camassia-natural-area.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@oregon/documents/media/prd_020172.jpg\",\n\t\t\t\tcredit: \"\u00a9 Zack Schnepf\",\n\t\t\t\tcaption: \"At Tom McCall Preserve, spectacular spring wildflower displays grace this magnificent plateau overlooking the Columbia River.\",\n\t\t\t\theadline: \"Tom McCall Preserve\",\n\t\t\t\tdescription: \"A magnificent plateau overlooking the Columbia River Gorge is graced by spectacular wildflowers.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/tom-mccall-preserve-at-rowena.xml\"\n\t\t\t}\n\t\t\t\n\t\t]\n\t},\n\t{\n\t\tname : \"Photos & Videos\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\t\"credit\" : \"\",\n\t\t\t\t\"caption\" : \"Rogue, a detection dog \u00a9 Jen Newlin/TNC; Female Fender's blue butterfly and kincaid's lupine \u00a9 Matthew Benotsch/TNC \u00a9 Jen Newlin The Nature Conservancy; Matthew Benotsch/The Nature Conservancy\",\n\t\t\t\t\"headline\" : \"Good Boy!\",\n\t\t\t\t\"description\" : \"Dogs help locate rare Willamette Valley plants for an endangered butterfly (and steak, too).\",\n\t\t\t\t\"button\" : \"Watch Now\",\n\t\t\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/howwework/a-nose-for-natives-can-dogs-help-locate-rare-plants.xml\",\n\t\t\t\t\"image\" : \"http://www.nature.org/idc/groups/webcontent/@web/@oregon/documents/media/prd_007715.jpg\",\n\t\t\t\t\"linkedtext\" : \" See photos and a video of Rogue tracking Oregon\u2019s rare plants.\"\n\t\t\t}\n\t\t]\n\t}\n\n];\n\n$(\"<style>#contentWrapper{ width:1000px;} html #contentWrapper a.btn-green {color: white;}.post-list .post .img-holder img {width: 125px;}.post .img-holder img {width: 269px;}html #rcLeft.base h2 {font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;} html #rcLeft.base .post-list h2{font-size: 22px;line-height: 25px;}  html #rcLeft.base .tabs-area li{font: 20px/22px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;color: #408CB4;margin: 0 0 4px;} html #rcLeft.base .tabs-area li a{color: #83836C;}</style>\").appendTo(\"head\");\n\n\nfunction returnTabMarkup(tabs){\n\tvar tab_start = '<div class=\"tabs-area clearfix\">\t\t<div class=\"tabset-holder clearfix\">     \t\t\t<a class=\"rss\" href=\"http://my.nature.org/nature/rss.html\">RSS</a>  <ul class=\"tabset\">   \t\t\t';\n\tvar articles_markup = \"\";\n\tfor(var i=0; i<tabs.length; i++){\n\t\tvar tab = tabs[i];\n\t\tvar num = (i+1);\n\t\ttab_start += '<li><a href=\"#tab_' + num+ '\" class=\"tab + ' + (i?\"\":\"active\")  + '\" onclick=\"s_tabView(\\'' + tab.name + '\\')\">' + tab.name +'</a></li>';\n\t\tvar display = i ? \"none\" : \"block\";\n\t\tarticles_markup += '<div class=\"tab-content\" id=\"tab_'+ num +'\" style=\"display: ' + display +'; \">';\n\t\tfor(var k=0; tab.sections && k<tab.sections.length; k++){\n\t\t\tvar article = tab.sections[k];\n\t\t\tarticles_markup += \t'<article class=\"post\"><figure class=\"img-holder\"><div class=\"photoCreditImg\" ' + (k?\"\":'id=\"home-feature-photo-credit\"') + '><a target=\"\" href=\"' + article.link+ '\"><img src=\"' + article.image +'\" alt=\"' + article.caption + '\"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + article.caption + ' Photo ' + article.credit+ '</span></a></div></figure><div class=\"description\"><h2><a href=\"' + article.link +'\" target=\"\">' + article.headline + '</a></h2><p> ' + article.description +' </p><a target=\"\" href=\"' + article.link + '\" class=\"link-more\">'  + article.linkedtext +'</a></div></article>';\n\t\t\tif(!k){\n\t\t\t\tarticles_markup +='<section class=\"post-list\">';\n\t\t\t}\n\t\t}\n\t\tarticles_markup += \"</section></div>\";\n\t\t\n\t}\n\ttab_start += \"</ul></div>\";\n\treturn  tab_start + articles_markup; \n}\nvar facts = {\n\tphone : \"(503) 802-8100\",\n\tplaces : \"28\",\n\tfounded : \"1951\",\n\tabbrev : \"OR\",\n\tname : s_site_section,\n\temail : \"oregon@tnc.org\"\n};\n\n$(\"#rcRight\").css({\"width\":\"180px\", \"padding-top\" : \"50px\", \"margin-right\" : \"0px\"}).html(function(){\n\tvar html =\"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Contact \" + facts.abbrev +\"</h2>\";\n\thtml += \"<strong style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>The Nature Conservancy<br>\" + s_site_section + \" Program</strong>Phone: \"+facts.phone+\" <br>E-mail: <a href='mailto:\" + facts.email +\"'>\"  + facts.email +\"</a><hr>\";\n\thtml += \"Founded: \" + facts.founded;\n//\thtml += \"<br>Places Protected: \" + facts.places;\n\thtml += \"<hr>If you have questions regarding your membership or donation, please contact our membership department at <a href='mailto:membership@tnc.org'>membership@tnc.org</a> or (800) 628-6860.<br><a href='http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/contact/index.htm'>More Contact Info</a>\";\n//\thtml += \"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Local Events</h2>\";\n\t\n\t\n\thtml += \"<hr><h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Related Content</h2>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Share Your Photos</strong><p> Enter our annual photo contest for our Daily Nature Photo.</p><a href='http://my.nature.org/nature/photos/share.html'>Explore</a>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Read Special Features</strong><p> Learn about your favorite animals, explore interactive graphics and more!</p><a href='http://www.nature.org/newsfeatures/specialfeatures/index.htm'>Read More</a>\";\n\t\n\treturn html;\n});\n$(\"#rcLeft\").addClass(\"base\").css({\"padding-top\":\"1.2em\", \"width\" : \"610px\"}).html(returnTabMarkup(state_tabs));\n$(\".tabset-holder\").css({\"padding-left\" : \"0\"});\ninitTabs();\n\n\n$(\"#tab_2 article.post:first\").addClass(\"post-list\").css({\n\t\"background-color\": \"#F1F3E6\",\n    \"padding\" : \"1em\"\n\t\n}).html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;ie=UTF8&amp;ll=44.245199,-119.794922&amp;spn=3.935045,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe><div style=\"    width: 100%;\"><div style=\"width: 50%; padding-bottom: 10px;   float: left;\"><h2>Explore our preserves and places we protect in Oregon</h2> <a style=\"float:left\" class=\"btn-green\" href=\"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/index.htm\" target=\"\">Explore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div><div style=\"width: 50%;   float: left;\">In Oregon, The Nature Conservancy has helped protect more than 505,000 acres of ecologically important habitats. </div></div>');\n\n$(\".photoCredit\").hover(\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"block\" }); },\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"none\" }); }\n);\nvar places_markup = '<div class=\"preserveCol1\"><h5>Preserves You Can Visit</h5><p><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/agate-desert.xml\">Agate Desert</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/blind-slough-swamp.xml\">Blind Slough Swamp</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/borax-lake.xml\">Borax Lake</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/camassia-natural-area.xml\">Camassia Natural Area</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/cascade-head.xml\">Cascade Head</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/clear-lake-ridge.xml\">Clear Lake Ridge</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/cox-island.xml\" target=\"\">Cox Island</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/middle-fork-john-day-river.xml\" target=\"\">Dunstan Homestead,<br>Middle Fork John Day River</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/eight-dollar-mountain.xml\">Eight Dollar Mountain</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/juniper-hills.xml\">Juniper Hills</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/kingston-prairie.xml\">Kingston Prairie</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/lindsay-prairie.xml\">Lindsay Prairie</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/little-rock-island.xml\" target=\"\">Little Rock Island</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/metolius-river.xml\">Metolius River</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/sycan-marsh.xml\">Sycan Marsh</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/the-table-rocks.xml\">The Table Rocks</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/tom-mccall-preserve-at-rowena.xml\">Tom McCall at Rowena</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/wildhaven.xml\">Wildhaven</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/willow-creek.xml\">Willow Creek</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/zumwalt-prairie.xml\">Zumwalt Prairie</a><br></p></div><div class=\"preserveCol2\"><h5>Other Preserves and Projects</h5><p><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/big-creek.xml\" target=\"\">Big Creek</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/boardman-grasslands.xml\">Boardman Grasslands</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/coburg-ridge.xml\">Coburg Ridge</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/howwework/restoring-oysters-to-the-bay.xml\">Netarts Bay</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/sandy-river-gorge.xml\">Sandy River Gorge</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/willamette-confluence.xml\" target=\"\">Willamette Confluence</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/williamson-river-delta.xml\" target=\"\">Williamson River Delta</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/oregon/placesweprotect/yamhill-oaks.xml\">Yamhill Oaks</a><br></p></div>';\n$(\"#tab_2 section\").append('<h5 style=\"font-size: 23px;padding: 0.5em 0;\">Places We Protect</h5>' +places_markup);\n\n_gaq.push([\"_trackEvent\", \"States Page Test\", \"Oregon\", \"Variation\", 0, 1]);\n\n$(\"#rotator p\").css({\"font-size\":\"16px\"});\n$(\".post\").css({\"overflow\" : \"visible\"});\n$(\"article\").addClass(\"clearfix\");\n\n$(\"a span span \").each(function(){\n\t$(this).parent().html($(this).text());\n});\n\n$(\"#leftSignUp\").after(\"<div style='padding-bottom: 2em;border-bottom: solid 1px #C4C1AF;margin-bottom: 2em;width: 156px;'><p style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Stay Connected<br>with Oregon</p><div style='text-align:center'><span st_url='http://www.facebook.com/nature.org.oregon' class='st_fblike_vcount' displayText='Facebook'></span><span id='fakefollow' style=\\\"text-decoration:none;color:#000000;display:inline-block;cursor:pointer;\\\" class=\\\"stButton\\\"><div><div class=\\\"stBubble\\\" style=\\\"display: block; \\\"><div class=\\\"stBubble_count\\\"></div></div><span class=\\\"stMainServices st-twitter-counter\\\" style=\\\"background-image: url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png); \\\">&nbsp;<img src=\\\"http://w.sharethis.com/images/check-big.png\\\" style=\\\"position: absolute; top: -7px; right: -7px; width: 19px; height: 19px; max-width: 19px; max-height: 19px; display: none; \\\"></span></div></span></div></div>\");\n$(\".stBubble_count\").css({\"background\":\"white\",\"font-size\":\"14px\", \"height\":\"23px\"});\n$(\".stButton .stBubble\").css({\"height\":\"38px\", \"background\" : \"url(http://w.sharethis.com/share4x/images/bubble_arrow_below.png) no-repeat 10px 34px\"});\n\n\nwindow.switchTo5x=true;\nwindow.twttr = {\n\tsetFollowersCount : function(f){\n\t\t$(\"#fakefollow .stBubble_count\").text(\"\"+f.followers_count);\n\t}\n};\n\njQuery.getScript(\"http://w.sharethis.com/button/buttons.js\", function(){\n\tstLight.options({publisher:'f8b7e32a-86a0-4db7-842b-53991533e4d0'});\n\t\n\tjQuery.getScript(\"http://cdn.api.twitter.com/1/users/show.json?screen_name=nature_OR&callback=twttr.setFollowersCount\");\n\t$(\".st-twitter-counter\").css({\"background-image\": \"url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png)\"});\n});\n$(\"#fakefollow\").click(function(){\n\tvar D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C>A){G=Math.round((C/2)-(A/2));}\n\twindow.open('https://twitter.com/intent/user?screen_name=nature_OR','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');\n\treturn false;\n});\n\n$(\".tab:eq(1)\").one(\"click\", function(){\n$(\"#tab_2 iframe\").wrap(\"<div id=mapiframe />\"); $(\"#mapiframe\").html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;ie=UTF8&amp;ll=44.245199,-119.794922&amp;spn=3.935045,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe>');\n});", 
      "name": "Variation #1"
    }, 
    "20050637": {
      "name": "Original Page"
    }, 
    "20054596": {
      "name": "Original Page"
    }, 
    "20059369": {
      "code": "/*\nTODO:\nGet list of places we protect\nfix header spacing\ncrop teen photo\nresize photos\n*/\n\nvar regiontext = \"The Nature Conservancy envisions Ohio thriving with healthy streams, wetlands and forests that will help revitalize the globally significant Great Lakes and Ohio River. \";\n\n\n$(\"#rightTwoColumn h2:first\").add(\"h3.subTitle\").css({\"color\":\"#643c15\"}).css({\"background-color\":  \"#F1F3E6\"}).addClass(\"fancy-serif\").wrapAll(\"<div id='newhero'><div class='opt-left'></div></div>\");\n$(\".opt-left\").after(\"<div style='font-size: 16px;line-height: 20px;' class='opt-right fancy-serif'>\" + regiontext +\"</div>\");\n$(\"h3.subTitle\").css({\"font-variant\": \"small-caps\" , \"opacity\": 0.6, \"width\":\"100%\", \"font-size\":\"20px\"});\n$(\"<style>#slide0{margin-top:-130px} #slide0 .description {bottom: -79px; } .slide{margin-top: -25px;} html #rcRight hr{margin: 1.5em 0; width: 90%;} #rcRight strong {margin-bottom: 0.5em;margin-top: 1.25em;} .fancy-serif{font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif}.opt-left {float: left;}.opt-right {float: left;width: 400px; padding-top: 1em;padding-left: 3em; padding-bottom: 1em;}#newhero{height:490px; background-color:#F1F3E6;max-width: 730px;padding: 20px;}a.opt-donate-button{background: #AC4B14 url(http://www.nature.org/idc/groups/webasset/documents/webasset/image_en-us_donate_btn.gif) no-repeat;width: 148px;height: 28px;float: left;text-decoration: none;color: white;position: relative;margin-bottom: 7px;} a.opt-donate-button:hover { opacity: .9; text-decoration: none; } .opt-donate-button span{color:white;float: left;height: 28px;cursor: pointer;padding: 6px 0 0 7px;}   .opt-donate-button span:hover{text-decoration: none; }</style>\").appendTo(\"head\");\n$(\"#breadcrumbs a\").not(\":last\").css({\"color\": \"#98987E\"});\n\n/**************\n\nROTATOR SECTION\n\n****************/\nvar state_rotator = [\n\t{\n\t\t\"credit\" : \"\u00a9 istock\",\n\t\t\"caption\" : \"Give a green gift. \",\n\t\t\"headline\" : \"Give a green gift\",\n\t\t\"description\" : \"Give a gift to friends, family and nature.\",\n\t\t\"button\" :\"Give Now\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/ohio-green-gifts.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/give%20a%20green%20gift_istock.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 istock\",\n\t\t\"headline\" : \"Ohio: The Comback Kid\",\n\t\t\"caption\" : \"nature is resilient\",\n\t\t\"description\" : \"Nature is resilient.  Give it the opportunity and a little help, and it will fight its way back.\",\n\t\t\"button\" :\"Read more. \",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/oh-comeback-kid-1.xml\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/resilient%20nature_istockphoto.jpg\"\n\t},\n\t{\n\t\t\"credit\" : \"\u00a9 istockphoto.com\",\n\t\t\"caption\" : \"family playing in snow \",\n\t\t\"headline\" : \"2011 Top Stories\",\n\t\t\"description\" : \"Thanks for all you helped us to accomplish in 2011.\",\n\t\t\"button\" :\"Read the Top Stories\",\n\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/index.htm\",\n\t\t\"image\" : \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/family%20play%20in%20snow_istock.jpg\"\n\t}\n\n];\nfunction build_rotator_markup(slides){\n\tvar markup = '<section class=\"gallery\"><ul id=\"rotator\" style=\"overflow:hidden;\">';\n\tvar tabs = '<ul id=\"slide-nav\" class=\"slide-nav\" >';\n\tfor(var i=0; i<slides.length; i++){\n\t\tvar slide = slides[i];\n\t\tmarkup += '<li class=\"slide\" id=\"slide'+i+'\" style=\"position: absolute; top: 0px; left: 0px; width: 720px; height: 350px; z-index: 4; opacity: 0; display: none; \">     <div class=\"photoCreditImg\"><a target=\"\" href=\"' + slide.link +'\"><img src=\"'+ slide.image+ '\" alt=\"\" style=\"width: 720px; \"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + slide.description+' Photo ' + slide.credit  +'</span></a>          </div>     <div class=\"description\">     <a class=\"btn-green\" href=\"' + slide.link + '\" target=\"\">' + slide.button+'</a>     <div class=\"main\">     \t<p>' +  slide.description + '</p>     </div>     </div>     ';\n\t\ttabs += '<li><p><a target=\"\" href=\"/index.htm\">' + slide.headline+ '</a></p></li>';\n\t}\t\n\tmarkup += \"</ul>\";\n\ttabs   += \"</ul>\";\n\t\n\treturn markup + tabs + \"</section>\";\n}\n$(build_rotator_markup(state_rotator)).appendTo(\"#newhero\");\n$(\"#mainGraphicBox\").hide();\njQuery('#rotator').cycle({ \n    prev: '#prev',  \n    next: '#next', \n    timeout: 8000, \n    speed: 500,\n    pause: 1,\n    pager: '#slide-nav',\n    pagerEvent: 'mouseover', \n\tpauseOnPagerHover: true,\n    pagerAnchorBuilder: function(idx, slide) {\n        // return selector string for existing anchor\n        return '#slide-nav li:eq(' + idx + ') a';\n    }\n});\n$(\".gallery\").css({\"float\":\"left\"});\n$(\"#leftSignUp p\").css({\"color\": \"#643C15\",\"margin\": \"0 0 2px\", \"font\": '22px/25px adobe-garamond-pro, \"Times New Roman\", Times, serif'}).text('Get Involved in '+ s_site_section);\n/*********\n\nTAB SECTION\n\n***********/\n\nvar state_tabs = [\n\t{\n\t\tname : \"Ohio News\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/Darby%20canoers_Randall%20Schieber.jpg\",\n\t\t\t\tcredit: \"\u00a9 Randall Schieber\",\n\t\t\t\tcaption: \"Floating down Big Darby Creek \",\n\t\t\t\theadline: \"Big Darby Creek Headwaters Restoration\",\n\t\t\t\tdescription: \"In 2011 the Conservancy completed a 4-year-long effort to restore the headwaters of Big Darby Creek State and National Scenic River.\",\n\t\t\t\tlinkedtext: \"View a Slideshow\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/big-darby-creek-headwaters-restoration.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/Brown%27s%20Lake%20Bog%20Preserve_Richard%20Baumer%20%282%29.jpg\",\n\t\t\t\tcredit: \"\u00a9 Richard Baumer\",\n\t\t\t\tcaption: \"Brown's Lake Bog\",\n\t\t\t\theadline: \"Shreve Spring Migration Sensation\",\n\t\t\t\tdescription: \"Explore the Conservancy\u2019s Brown\u2019s Lake Bog as part of this annual spring bird migration event\",\n\t\t\t\tlinkedtext: \"Mark Your Calendar\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/oregon/howwework/2011-oregon-conservation-leadership-awards.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/children%20and%20water_Michael%20D-L%20Jordan%20%2850%29.jpg\",\n\t\t\t\tcredit: \"\u00a9 Michael D-L Jordan\",\n\t\t\t\tcaption: \"food production can affect water quality\",\n\t\t\t\theadline: \"Cultivating Your Clean Water\",\n\t\t\t\tdescription: \"If we\u2019re not careful, food production can affect the quality of our water supply.\",\n\t\t\t\tlinkedtext: \"Learn More\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/cultivating-your-clean-water.xml\"\n\t\t\t}\n\t\t\t,\n\t\t\t{\n\t\t\t\timage: \"http://dl.dropbox.com/u/397675/nature-states/OH%20homepage/a%20winter%20hike_cybot586Fllickr%20Creative%20%20Commons.jpg\",\n\t\t\t\tcredit: \"\u00a9 cybot586 / Fllickr Creative  Commons\",\n\t\t\t\tcaption: \"winter wanderers \",\n\t\t\t\theadline: \"Take a Hike!\",\n\t\t\t\tdescription: \"Mysterious animal tracks along a newly snow-kissed trail.  An unexpected view of a river through the leafless trees.  Solitude.  Sometimes winter is the best time to wander\",\n\t\t\t\tlinkedtext: \"Visit Ohio\u2019s Open Preserves\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/open-preserves-of-the-ohio-chapter.xml\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\tname : \"Places We Protect\",\n\t\tsections : [\n\t\t{}, //blank for the map embed\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@ohio/documents/media/prd_017909.jpg\",\n\t\t\t\tcredit: \"\u00a9 TNC\",\n\t\t\t\tcaption: \"Edge of Appalachia Preserve\",\n\t\t\t\theadline: \"Edge of Appalachia Preserve\",\n\t\t\t\tdescription: \"The Edge of Appalachia Preserve System encompasses nearly 16,000 acres.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/edge-of-appalachia-preserve-system.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@ohio/documents/media/prd_017918.jpg\",\n\t\t\t\tcredit: \"Randall Edwards\",\n\t\t\t\tcaption: \"Kitty Todd Nature Preserve\",\n\t\t\t\theadline: \"Kitty Todd Nature Preserve\",\n\t\t\t\tdescription: \"The Nature Conservancy's 850-acre Kitty Todd Preserve is a centerpiece of the Oak Openings Region\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/kitty-todd-nature-preserve.xml\"\n\t\t\t},\n\t\t\t{\n\t\t\t\timage: \"http://www.nature.org/idc/groups/webcontent/@web/@ohio/documents/media/prd_017907.jpg\",\n\t\t\t\tcredit: \"Randell Schieber\",\n\t\t\t\tcaption: \"Big Darby Headwaters Nature Preserve\",\n\t\t\t\theadline: \"Big Darby Headwaters Nature Preserve\",\n\t\t\t\tdescription: \"This natural treasure faces many threats, including pollution from nearby development.\",\n\t\t\t\tlinkedtext: \"Read more.\",\n\t\t\t\tlink: \"\"\n\t\t\t}\n\t\t\t\n\t\t]\n\t},\n\t{\n\t\tname : \"Photos & Videos\",\n\t\tsections : [\n\t\t\t{\n\t\t\t\t\"credit\" : \"\u00a9 TNC\",\n\t\t\t\t\"caption\" : \"Visitors birdwatching at the Edge of Appalachia Preserve\",\n\t\t\t\t\"headline\" : \"Edge of Appalachia Preserve\",\n\t\t\t\t\"description\" : \"As you travel east through Adams County in south-central Ohio, the rugged hills of the Allegheny Plateau rise abruptly above the countryside.\",\n\t\t\t\t\"button\" : \"See more\",\n\t\t\t\t\"link\" : \"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/edge-of-appalachia-slideshow.xml\",\n\t\t\t\t\"image\" : \"http://www.nature.org/idc/groups/webcontent/@web/@ohio/documents/media/prd_036563.jpg\",\n\t\t\t\t\"linkedtext\" : \"View our Slideshow\"\n\t\t\t}\n\t\t]\n\t}\n\n];\n\n$(\"<style>#contentWrapper{ width:1000px;} html #contentWrapper a.btn-green {color: white;}.post-list .post .img-holder img {width: 125px;}.post .img-holder img {width: 269px;}html #rcLeft.base h2 {font:32px/36px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;} html #rcLeft.base .post-list h2{font-size: 22px;line-height: 25px;}  html #rcLeft.base .tabs-area li{font: 20px/22px adobe-garamond-pro, \\\"Times New Roman\\\", Times, serif;color: #408CB4;margin: 0 0 4px;} html #rcLeft.base .tabs-area li a{color: #83836C;}</style>\").appendTo(\"head\");\n\n\nfunction returnTabMarkup(tabs){\n\tvar tab_start = '<div class=\"tabs-area clearfix\">\t\t<div class=\"tabset-holder clearfix\">     \t\t\t<a class=\"rss\" href=\"http://my.nature.org/nature/rss.html\">RSS</a>  <ul class=\"tabset\">   \t\t\t';\n\tvar articles_markup = \"\";\n\tfor(var i=0; i<tabs.length; i++){\n\t\tvar tab = tabs[i];\n\t\tvar num = (i+1);\n\t\ttab_start += '<li><a href=\"#tab_' + num+ '\" class=\"tab + ' + (i?\"\":\"active\")  + '\" onclick=\"s_tabView(\\'' + tab.name + '\\')\">' + tab.name +'</a></li>';\n\t\tvar display = i ? \"none\" : \"block\";\n\t\tarticles_markup += '<div class=\"tab-content\" id=\"tab_'+ num +'\" style=\"display: ' + display +'; \">';\n\t\tfor(var k=0; tab.sections && k<tab.sections.length; k++){\n\t\t\tvar article = tab.sections[k];\n\t\t\tarticles_markup += \t'<article class=\"post\"><figure class=\"img-holder\"><div class=\"photoCreditImg\" ' + (k?\"\":'id=\"home-feature-photo-credit\"') + '><a target=\"\" href=\"' + article.link+ '\"><img src=\"' + article.image +'\" alt=\"' + article.caption + '\"></a><a class=\"photoCredit\" href=\"javascript:void(0);\"><span>' + article.caption + ' Photo ' + article.credit+ '</span></a></div></figure><div class=\"description\"><h2><a href=\"' + article.link +'\" target=\"\">' + article.headline + '</a></h2><p> ' + article.description +' </p><a target=\"\" href=\"' + article.link + '\" class=\"link-more\">'  + article.linkedtext +'</a></div></article>';\n\t\t\tif(!k){\n\t\t\t\tarticles_markup +='<section class=\"post-list\">';\n\t\t\t}\n\t\t}\n\t\tarticles_markup += \"</section></div>\";\n\t\t\n\t}\n\ttab_start += \"</ul></div>\";\n\treturn  tab_start + articles_markup; \n}\nvar facts = {\n\tphone : \"(614) 717-2770 \",\n\tplaces : \"17\",\n\tfounded : \"1958\",\n\tabbrev : \"OH\",\n\tname : s_site_section,\n\temail : \"ohio@tnc.org\"\n};\n\n$(\"#rcRight\").css({\"width\":\"180px\", \"padding-top\" : \"50px\", \"margin-right\" : \"0px\"}).html(function(){\n\tvar html =\"<h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Contact \" + facts.abbrev +\"</h2>\";\n\thtml += \"<strong style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>The Nature Conservancy<br>\" + s_site_section + \" Program</strong>Phone: \"+facts.phone+\" <br>E-mail: <a href='mailto:\" + facts.email +\"'>\"  + facts.email +\"</a><hr>\";\n\thtml += \"Founded: \" + facts.founded;\n//\thtml += \"<br>Places Protected: \" + facts.places;\n\thtml += \"<hr>If you have questions regarding your membership or donation, please contact our membership department at <a href='mailto:membership@tnc.org'>membership@tnc.org</a> or (800) 628-6860.<br><a href='http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/contact/index.htm'>More Contact Info</a>\";\n\thtml += \"<hr><h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Local Events</h2>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Shreve Spring Migration Sensation</strong><p>March 24, 2012 - This peak spring bird migration event includes self-guided tours with experts located at help stations nearby, including The Nature Conservancy's .</p><a href='http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/events/shrevemigration.xml'>Learn More</a>\";\n\t\n\t\n\thtml += \"<hr><h2 style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 28px/32px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Related Content</h2>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Share Your Photos</strong><p> Enter our annual photo contest for our Daily Nature Photo.</p><a href='http://my.nature.org/nature/photos/share.html'>Explore</a>\";\n\thtml += \"<strong  style='display:block; font: 12px/14px adobe-garamond-pro, \\'Times New Roman\\', Times, serif; font-weight: bold;'>Read Special Features</strong><p> Learn about your favorite animals, explore interactive graphics and more!</p><a href='http://www.nature.org/newsfeatures/specialfeatures/index.htm'>Read More</a>\";\n\t\n\treturn html;\n});\n$(\"#rcLeft\").addClass(\"base\").css({\"padding-top\":\"1.2em\", \"width\" : \"610px\"}).html(returnTabMarkup(state_tabs));\n$(\".tabset-holder\").css({\"padding-left\" : \"0\"});\ninitTabs();\n\n\n$(\"#tab_2 article.post:first\").addClass(\"post-list\").css({\n\t\"background-color\": \"#F1F3E6\",\n    \"padding\" : \"1em\"\n\t\n}).html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;sll=37.0625,-95.677068&amp;sspn=47.885545,86.484375&amp;ie=UTF8&amp;ll=40.212441,-83.232422&amp;spn=4.194619,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe><div style=\"    width: 100%;\"><div style=\"width: 50%; padding-bottom: 10px;   float: left;\"><h2>Explore our preserves and places we protect in Ohio</h2> <a style=\"float:left\" class=\"btn-green\" href=\"http://www.nature.org/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/index.htm\" target=\"\">Explore&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div><div style=\"width: 50%;   float: left;\">In Ohio, The Nature Conservancy has helped protect more than 55,000 acres of ecologically important habitats. </div></div>');\n\n$(\".photoCredit\").hover(\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"block\" }); },\nfunction() { $(this).contents(\"span:last-child\").css({ display: \"none\" }); }\n);\n\nvar preservemarkup = '<div class=\"preserveCol1\"><h5>Western Lake Erie Basin</h5><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/kitty-todd-nature-preserve.xml\" target=\"\">Kitty Todd Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/western-lake-erie-migratory-birds.xml\" target=\"\">Habitat protection for migratory birds </a><br><h5>Central Lake Erie Watersheds</h5><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/morgan-swamp-preserve.xml\" target=\"\">Morgan Swamp Preserve </a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/herrick-fen-nature-preserve.xml\" target=\"\">Herrick Fen Preserve </a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/beck-fen-nature-preserve.xml\" target=\"\">Beck Fen Preserve </a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/white-pine-bog-forest.xml\" target=\"\">Lucia S. Nash Preserve </a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/flatiron-lake-bog-preserve.xml\" target=\"\">Flatiron Lake Bog Preserve </a><h5>Legacy Preserves and Project Areas</h5><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/stillfork-swamp.xml\">Stillfork Swamp Preserve</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/browns-lake-bog-preserve.xml\">Brown\\'s Lake Bog Preserve</a><br><a target=\"\" href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/local-parks-originally-protected-by-the-nature-conservancy.xml\">Public lands protected with help from the Conservancy </a><br></div><div class=\"preserveCol2\"><h5>Upper Ohio River and Tributaries </h5><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/explore/charting-the-course-of-a-rivers-future.xml\" target=\"\">Ohio River</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/darby-creek-watershed.xml\" target=\"\">Darby Creek Watershed</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/big-darby-headwaters-nature-preserve.xml\" target=\"\">Big Darby Headwaters Nature Preserve </a><br><br><br><h5>Appalachian Foothill Forests </h5><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/edge-of-appalachia-preserve-system.xml\" target=\"\">Edge of Appalachia Preserve System</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/strait-creek-prairie-bluffs-preserve.xml\" target=\"\">Strait Creek Prairie Bluffs Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/baker-swamp-preserve.xml\" target=\"\">Baker Swamp Preserve</a><br><a href=\"/ourinitiatives/regions/northamerica/unitedstates/ohio/placesweprotect/glade-wetland-preserve.xml\" target=\"\">Glade Wetland Preserve</a><br><br><br></div>';\n\n\n$(\"#tab_2 section\").append('<h5 style=\"font-size: 23px;padding: 0.5em 0;\">Places We Protect</h5>' + preservemarkup);\n\n_gaq.push([\"_trackEvent\", \"States Page Test\", \"Ohio\", \"Variation\", 0, 1]);\n\n$(\"#rotator p\").css({\"font-size\":\"16px\"});\n$(\".post\").css({\"overflow\" : \"visible\"});\n$(\"article\").addClass(\"clearfix\");\n\n$(\"a span span \").each(function(){\n\t$(this).parent().html($(this).text());\n});\n$(\"#leftSignUp\").after(\"<div style='padding-bottom: 2em;border-bottom: solid 1px #C4C1AF;margin-bottom: 2em;width: 156px;'><p style=\\\"color: rgb(100, 60, 21); margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 22px/25px adobe-garamond-pro, 'Times New Roman', Times, serif; \\\">Stay Connected<br>with Illinois</p><div style='text-align:center'><span st_url='http://www.facebook.com/ohionatureconservancy' class='st_fblike_vcount' displayText='Facebook'></span><!--<span id='fakefollow' style=\\\"text-decoration:none;color:#000000;display:inline-block;cursor:pointer;\\\" class=\\\"stButton\\\"><div><div class=\\\"stBubble\\\" style=\\\"display: block; \\\"><div class=\\\"stBubble_count\\\">93676</div></div><span class=\\\"stMainServices st-twitter-counter\\\" style=\\\"background-image: url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png); \\\">&nbsp;<img src=\\\"http://w.sharethis.com/images/check-big.png\\\" style=\\\"position: absolute; top: -7px; right: -7px; width: 19px; height: 19px; max-width: 19px; max-height: 19px; display: none; \\\"></span></div></span>--></div></div>\");\n//$(\".stBubble_count\").css({\"background\":\"white\",\"font-size\":\"16px\", \"height\":\"23px\"});\n//$(\".stButton .stBubble\").css({\"height\":\"38px\", \"background\" : \"url(http://w.sharethis.com/share4x/images/bubble_arrow_below.png) no-repeat 10px 34px\"});\n\nwindow.switchTo5x=true;\njQuery.getScript(\"http://w.sharethis.com/button/buttons.js\", function(){\n\tstLight.options({publisher:'f8b7e32a-86a0-4db7-842b-53991533e4d0'});\n\t\n//\tjQuery.getScript(\"http://cdn.api.twitter.com/1/users/show.json?screen_name=nature_org&callback=twttr.setFollowersCount\");\n//\t$(\".st-twitter-counter\").css({\"background-image\": \"url(http://f.cl.ly/items/222m0J3c200p3o0h2f3C/Screen%20Shot%202012-01-05%20at%2012.34.44%20AM.png)\"});\n});\n\n\n\n$(\".tab:eq(1)\").one(\"click\", function(){\n$(\"#tab_2 iframe\").wrap(\"<div id=mapiframe />\"); $(\"#mapiframe\").html('<iframe width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.nature.org%2Fplacesweprotect%2Fpreserve-map.xml&amp;sll=37.0625,-95.677068&amp;sspn=47.885545,86.484375&amp;ie=UTF8&amp;ll=40.212441,-83.232422&amp;spn=4.194619,10.744629&amp;z=6&amp;output=embed\" marginwidth=\"0\" marginheight=\"0\"></iframe>');\n});", 
      "name": "Variation #1"
    }, 
    "20061472": {
      "code": "_gaq.push([\"_trackEvent\", \"States Page Test\", \"Illinois\", \"Original\", 0, 1]);", 
      "name": "Variation #2"
    }, 
    "20072845": {
      "code": "_gaq.push([\"_trackEvent\", \"States Page Test\", \"Ohio\", \"Original\", 0, 1]);", 
      "name": "Variation #2"
    }
  }
};
var optly={Cleanse:{}};optly.Cleanse.each=function(a,d,b){var c=!!Object.prototype.__lookupGetter__,e;for(e in a)if(a.hasOwnProperty(e)){var f=c?a.__lookupGetter__(e):null;d.call(b,e,!f?a[e]:null,f)}};
optly.Cleanse.finish=function(){if(optly.Cleanse.running)optly.Cleanse.running=!1,optly.Cleanse.each(optly.Cleanse.types,function(a,d){Object.prototype.__defineGetter__&&optly.Cleanse.each(optly.Cleanse.getters[a],function(b,c){d.prototype.__defineGetter__(b,c);optly.Cleanse.log("restored getter",a,b)});optly.Cleanse.each(optly.Cleanse.properties[a],function(b,c){d.prototype[b]=c;optly.Cleanse.log("restored property",a,b)})}),optly.Cleanse.log("finish")};
optly.Cleanse.log=function(a,d,b){d?(d=d.replace(/_/g,""),optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a+": "+d+"."+b)):optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a)};
optly.Cleanse.start=function(){var a=/^https?:\/\/[^\/]*\//.exec(window.location.href);if(!a||!(a[0].indexOf("optimizely")!==-1&&a[0].indexOf("edit")===-1))optly.Cleanse.log("start"),optly.Cleanse.running=!0,optly.Cleanse.each(optly.Cleanse.types,function(a,b){optly.Cleanse.getters[a]={};optly.Cleanse.properties[a]={};optly.Cleanse.each(b.prototype,function(c,e,f){f?(optly.Cleanse.getters[a][c]=f,optly.Cleanse.log("cleansed getter",a,c)):(optly.Cleanse.properties[a][c]=e,optly.Cleanse.log("cleansed property",
a,c));delete b.prototype[c]})})};optly.Cleanse.getters={};optly.Cleanse.logs=[];optly.Cleanse.properties={};optly.Cleanse.types={Object_:Object};window.optly=window.optly||{};window.optly.Cleanse=window.optly.Cleanse||{finish:optly.Cleanse.finish,logs:optly.Cleanse.logs};optly.Cleanse.start();

var $=jQuery;
var h=void 0,i=null;function aa(a,b){b=b===!0;if(!j)return!1;var c=i,d=[],e=[];k(a)?d.push(a):n(o(),function(a){t(a,"manual")&&d.push(a)});n(d,function(a){if(b||ba(a,!0))(c=ca(a,b))&&e.push(a)});da(e);ea();fa()}
function ga(a,b,c){ha=!0;j&&c!==!0&&v.e(document.location.href);a=String(a);b=String(b);if(b==="-1"){w[a]&&delete w[a];ia[a]&&delete ia[a];for(b=0;b<x.length;b++)x[b].h===a&&x.splice(b,1);ja()}else if((c=y(a))&&c.length>0){a:{for(var c=y(a),d=0;d<c.length;d++){var e=ka(c[d]);if(z(e,b)){c=c[d];break a}}c=""}A[a]=A[a]||{};A[a][c]=b;B("Distributor","Preferring variation partial "+b+" of section "+c+" of experiment "+a);a=la(a);a.length===1&&C(a[0],"api.bucketUser",!1,!0)}else C(b,"api.bucketUser",!1,
!0);ea()}function ma(){na=j=!1}function oa(a,b){var c=[],d=b;D(b)&&(c=pa(b,1),d=b[0]);var e=a[d];e?(B("API",'Called function "'+d+'"'),d!=="acknowledgePreviewMode"&&qa(d,{type:"api"}),e.apply(i,c)):B("API",'Error for unknown function "'+d+'"');ra()}
function sa(){ta={};E={};ua={};n(va(),function(a){var b=F(a);ta[b]=a.split("_");var c=E,d;a:{var e=F(a);d=y(e);if(d.length===0){d=wa(e);for(e=0;e<d.length;e++)if(d[e]===a){d=e;break a}}else{for(var e=a.split("_"),f=[],g=0;g<d.length;g++)for(var l=ka(d[g]),p=0;p<l.length;p++)l[p]===e[g]&&f.push(p);if(f!==[]){d=f;break a}}d=-1}c[b]=d;ua[b]=xa(a)});ya(window.optimizely,{activeExperiments:za,allExperiments:Aa(),all_experiments:Aa(),variationIdsMap:ta,variationMap:E,variationNamesMap:ua,variation_map:E})}
function Ba(a){if(!k(a))return!1;Ca=Number(a)}function Da(){Ea=!0}var ta={},E={},ua={};function z(a,b){for(var c=0;c<a.length;c++)if(b==a[c])return!0;return!1}function Fa(a){var b=a.length;if(b===0)return i;if(b===1)return 0;for(var c=0,d=0;d<b;d++)c+=a[d];c*=Math.random();for(d=0;d<b;d++){if(c<a[d])return d;c-=a[d]}return Math.floor(Math.random()*b)}function Ga(a,b){var c=pa(arguments,1);return function(){var b=pa(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}
function n(a,b){var c=i;if(D(a))for(var d=a.length,e=0;e<d;++e){if(c=b.call(h,a[e],e),Ha(c))break}else for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&(c=b.call(h,d,a[d]),Ha(c)))break;return c}function ya(a,b){n(b,function(b,d){a[b]=d})}function Ia(a,b){return n(b,function(b){if(b===a)return!0})||!1}function D(a){return a&&typeof a==="object"&&a.length&&typeof a.length==="number"}function Ha(a){return typeof a!=="undefined"}
function k(a){return(typeof a==="number"||typeof a==="string")&&Number(a)==a}function Ja(a){Ja=Object.keys||function(a){var c=[];n(a,function(a){c.push(a)});return c};return Ja.call(i,a)}function Ka(a){var b=document.C||document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.src=a;c.type="text/javascript";b.appendChild(c)}
function G(a,b,c){var d=window.console;if(H&&d&&d.log){var e=pa(arguments,1);e[0]="Optimizely / "+a+" / "+b;Function.prototype.apply.call(d.log,d,e)}}function pa(a,b){return Array.prototype.slice.call(a,b||0,a.length)}function La(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function Ma(){if(Oa===i){for(var a=o(),b=Pa,c=[],d=0,e=a.length;d<e;d++){var f=a[d];b(f)&&c.push(f)}Oa=c}return Oa}function Aa(){return I("experiments")||{}}function o(){return Ja(I("experiments")||{})}function J(a){return'experiment "'+(t(a,"name")||"")+'" ('+a+")"}function y(a){return t(a,"section_ids")||[]}function wa(a){return t(a,"variation_ids")||[]}function ka(a){return I("sections",a,"variation_ids")||[]}
function Qa(a){var b=[];n(a.split("_"),function(a){(a=I("variations",a,"code"))&&b.push(a)});return b.join("\n")}function F(a){var b={};n(o(),function(a){n(y(a),function(d){n(ka(d),function(d){b[d]=a})});n(wa(a),function(d){b[d]=a})});F=function(a){return b[a.split("_")[0]]||""};return F.call(i,a)}function xa(a){var b;return Ra(a).join(b||", ")}function Ra(a){var b=[];n(a.split("_"),function(a){b.push(I("variations",a,"name")||"Unnamed")});return b}function Pa(a){return!!t(a,"active")}
function t(a,b){return I("experiments",a,b)}function I(a){var b=DATA;if(n(arguments,function(a){a=b[a];if(Ha(a))b=a;else return i})!==i)return b}function Sa(a){a=I(a);return document.location.protocol+"//"+a+".optimizely.com"}var Oa=i;function qa(a,b){b=b||{};window.optimizelyPreview=window.optimizelyPreview||[];Ta||(window.optimizelyPreview.push(["addEvent",window.location.href,{type:"url"}]),Ta=!0);window.optimizelyPreview.push(["addEvent",a,b])}function Ua(){B("Preview","Preview acknowledgement received")}var Ta=!1,Va=[];function Wa(){var a=window.location.search||"";a.indexOf("?")===0&&(a=a.substring(1));for(var a=a.split("&"),b=[],c=0;c<a.length;c++){var d="",e="",f=a[c].split("=");f.length>0&&(d=f[0]);f.length>1&&(e=f[1]);b.push([d,e])}return b}function Xa(){for(var a=window.location.search,b,c=/optimizely_([^=]+)=([^&]*)/g,d={};b=c.exec(a);)d[b[1]]=decodeURIComponent(b[2]);return d}
function Ya(a,b){var c=y(a),d=[];if(b.length===1){var c=wa(a),e=b[0],f=c[e];!f&&z(c,e)&&(f=e);f&&d.push(f)}else c.length===b.length&&n(c,function(a,c){var e=b[c];if(e=ka(a)[e])d.push(e);else return d=[],i});return d.join("_")}var Za="//cdn.optimizely.com/,https://cdn.optimizely.com/,//optimizely.appspot.com/,https://optimizely.appspot.com/,//www.local/,https://www.local/,//www-local.optimizely.com/,https://www-local.optimizely.com/".split(",");function ba(a,b){b=b===!0;B("Condition","Testing experiment "+a);var c=Pa(a),d=t(a,"manual")||!1;if(c)if($a(a)){if(!b&&d)return B("Condition"," Failed for experiment "+a+" (manual activation mode)"),K[a]="it is set to use manual activation mode",!1}else return B("Condition","Failed for experiment "+a+" (condition failed)"),!1;else return B("Condition","Failed for experiment "+a+" (paused)"),K[a]="it is paused",!1;return!0}
function $a(a){var b=t(a,"conditions")||[],c=!0;n(b,function(b){var e=b.type;if(b.only_first_time&&ab(a))B("Condition",e+" condition passed because it only gets checked when bucketing",!0);else{var f=!b.not,g=(0,bb[e])(b),b=g!==f,g=g?"passed":"failed",f=f?"pass":"fail";B("Condition",e+" condition "+g+" when expected to "+f,!b);if(b)return c=!1,K[a]=e+" condition "+g+" when expected to "+f,!1}});return c}
function cb(a){for(var b=0;b<a.values.length;b++){var c=a.values[b];if(db(window.location.href,c.value,c.match))return!0}return!1}
var bb={browser:function(a){var b=eb(),c=fb(),d=!1,e=gb();n(a.values,function(a){e!=="unknown"?d=a==="mobile":a.indexOf(b)===0&&(a=a.substr(b.length),d=a===""||a<=c&&c<Number(a)+1);if(d)return i});return d},code:function(a){a=a.value;if(a===h)return!0;try{return Boolean(eval(a))}catch(b){return!1}},cookies:function(a){for(var b=!1,c=a.names||[],a=a.values||[],d=0;d<c.length;d++){var e=L(c[d]);if(b=Ha(a[d])&&La(a[d])!==""?b||a[d]===e:b||e!==i&&e!==h)return!0}return!1},event:function(a){var b=L("optimizelyCustomEvents")||
"{}";try{b=M(b)}catch(c){b={}}var d=b[hb()]||[];D(d)||(d=[]);var e=!1;n(a.values,function(a){if($.inArray(a,d)!==-1)return e=!0});return e},language:function(a){var b=ib(),c=!1;n(a.values,function(a){if(c=a==="any"||b.indexOf(a)===0)return i});return c},query:function(a){if(a.values.length===0)return!0;var b=!1,c=Wa();n(a.values,function(a){for(var e=a.key,a=a.value||"",f=0;f<c.length;f++){var g=c[f],l=g[0],g=g[1];if(e!==""&&e===l&&(a===""||a===g))return b=!0}});return b},referrer:function(a){for(var b=
0;b<a.values.length;b++){var c=a.values[b];if(db(document.referrer,c.value,c.match))return!0}return!1},url:cb,visitor:function(a){var b=jb?"returning":"new";switch(a.value){case "new":return b==="returning"?!1:!0;case "returning":return b==="returning"}return!0}};var kb="com,local,net,org,xxx,edu,es,gov,biz,info,fr,nl,ca,de,kr,it,me,ly,tv,mx,cn,jp,il,in,iq".split(","),lb=/\/\* _optimizely_variation_url( +include="([^"]*)")?( +exclude="([^"]*)")?( +match_type="([^"]*)")?( +include_match_types="([^"]*)")?( +exclude_match_types="([^"]*)")? \*\//;function L(a){var b=a+"=",c=[];n((document.cookie||"").split(/\s*;\s*/),function(a){a.indexOf(b)===0&&c.push(decodeURIComponent(a.substr(b.length)))});var d=c.length;d>1&&G("Cookie","Values found for %s: %s",a,d);return d===0?i:c[0]}function P(a,b,c){var d=Q;I("public_suffix")&&(R?d=R:mb.push({t:c,name:a,value:b}));a=[a,"=",encodeURIComponent(b),"; domain=.",d,"; path=/"];c&&a.push("; expires=",(new Date(+new Date+c*1E3)).toUTCString());document.cookie=a.join("")}
function nb(a){a=a.public_suffix;G("Cookie","Public suffix request returned: %s",a);a!==Q&&n(mb,function(a){G("Cookie","Deleting %s on %s",a.name,Q);document.cookie=[a.name,"=; domain=.",Q,"; path=/; expires=",(new Date(0)).toUTCString()].join("")});R=a;P("optimizelyPublicSuffix",R,31536E4);if(a!==Q)for(;mb.length>0;)a=mb.shift(),G("Cookie","Setting %s on %s",a.name,R),P(a.name,a.value,a.t);mb=[]}
function ob(a){var a=Sa("api_host")+"/iapi/public_suffix?host="+encodeURIComponent(a),b="callback"+Math.random().toString().replace("0.",""),c=document,d=c.C||c.getElementsByTagName("head")[0]||c.documentElement,c=c.createElement("script");window.optimizely[b]=nb;c.async="async";c.src=[a,a.indexOf("?")!==-1?"&":"?","callback=optimizely.",b].join("");d.insertBefore(c,d.firstChild)}var Q="",R="",mb=[];function pb(){var a=navigator.userAgent,b=qb([{id:"gc",substring:"Chrome",g:"Chrome"},{id:"safari",J:navigator.vendor,substring:"Apple",g:"Version"},{id:"ff",substring:"Firefox",g:"Firefox"},{id:"opera",prop:window.opera,g:"Opera"},{id:"ie",substring:"MSIE",g:"MSIE"},{id:"mo",substring:"Gecko",g:"rv"}],a),c=qb([{id:"android",substring:"Android"},{id:"blackberry",substring:"BlackBerry"},{id:"ipad",substring:"iPad"},{id:"iphone",substring:"iPhone"},{id:"ipod",substring:"iPod"},{id:"windows phone",substring:"Windows Phone"}],
a),d=i,e=b.g;e&&(d=rb(a,e)||rb(navigator.appVersion,e));return{u:b.id||"unknown",v:d||"unknown",H:c.id||"unknown"}}function rb(a,b){var c=a.indexOf(b),d=i;c!==-1&&(c+=b.length+1,d=parseFloat(a.substring(c)));return d}function qb(a,b){return n(a,function(a){var d=a.J||b;if(d&&d.indexOf(a.substring)!==-1||a.prop)return a})||{}};var Ca=0,j=!0,S=!1,T="",H=!1,sb=!1,ha=!1,Ea=!1,na=!0;function ca(a,b){var b=b===!0,c=tb(a);if(c&&c.length>0)return B("Distributor","Not distributing experiment "+a+" (already in plan)"),!0;if(b||a in w)return B("Distributor","Not distributing experiment "+a+" (is ignored)"),!1;c=t(a,"active_variation_ids")||[];if(c.length===0)return B("Distributor","Permanently ignoring experiment "+a+" (no active variations)"),ub(a),!1;else{var d=t(a,"ignore")||0;if(d>Math.floor(Math.random()*100))return B("Distributor","Permanently ignoring experiment "+a+"("+d+"% likelihood)"),
ub(a),!1;else{d=c;A[a]!==h&&(B("Distributor","Taking into account bucketUser variations for experiment "+a),d=la(a));var e;e=d;for(var f=t(a,"active_variation_weights")||{},g=[],l=0,p=e.length;l<p;l++)g.push(f[e[l]]);e=Fa(g);d=d[e];B("Distributor","Picked variation "+d+" [index "+e+" of "+c.length+"]");C(d,"distributor",!1);return!0}}}
function la(a){for(var b=t(a,"active_variation_ids")||[],c=[],d=0;d<b.length;d++){var e=!0,f=h;for(f in A[a])b[d].indexOf(A[a][f])===-1&&(e=!1);e&&c.push(b[d])}return c}var A={};function da(a){if(j){D(a)?vb(a):(a=[],vb());a=a.concat(U);U=[];for(var b=0;b<a.length;b++)z(za,a[b])||za.push(a[b]);a=wb(a);V.push.apply(V,a);xb()}}
function xb(){var a=!1;yb=i;for(B("Evaluator",zb+" times waited");!a&&V.length>0;){B("Evaluator",V.length+" steps remaining");var b=V.shift(),c=b,a=!1;if(c.M&&!Ab)B("Evaluator","Document not ready yet"),a=!0;else if(c.i&&!Ab&&(c=c.f))for(var c=D(c)?c:[c],d=0;d<c.length;d++){var e=c[d];if(!(e===i||e===h||!e.length)&&$(e).length===0)B("Evaluator","'"+e+"' not found"),a=!0}a?V.unshift(b):b.j?(B("Evaluator","Bound event "+b.j+" to selector "+b.f),Bb(b.f,b.j)):b.code&&(B("Evaluator","Run code: "+b.code),
Cb(b.code))}a?(yb=setTimeout(xb,zb===0?10:50),zb++):B("Evaluator",zb+" total times waited")}
function Cb(a){if(a.indexOf("_optimizely_redirect")!==-1){B("Evaluator","Redirect detected");var b=L("optimizelyRedirect");if(b===h||b===i||b==="")B("Evaluator","OK to redirect"),P("optimizelyRedirect",window.location.href,5),P("optimizelyReferrer",document.referrer||"http://www.optimizely.com/redirect-no-referrer");else{B("Evaluator","NOT OK to redirect");return}}eval("var $j = $;");try{eval(a)}catch(c){b=H,H=!0,B("Evaluator","Error: "+c.message),B("Evaluator","Code: "+a),H=b,B("Evaluator","Failed to run code: "+
c.message)}}function Bb(a,b){var c="mousedown",d=gb();if(d==="iphone"||d==="ipad"||d==="ipod")c="touchstart";$(a).bind(c,function(){v.e.call(v,b,"custom")})}function Db(a){Eb=a}function vb(a){a||(a=o());for(var b=0;b<a.length;b++){var c=a[b],d=K[c];d?(qa("Not activating "+J(c)+" because "+d+".",{type:"explanation"}),delete K[c]):qa("Activating "+J(c)+".",{type:"explanation"})}}var za=[],U=U||[],Eb=0,Ab=!1,K={},V=[],yb=i,zb=0;
$(function(){Ab=!0;yb!==i&&(B("Evaluator","Document is ready"),clearTimeout(yb),Eb>0?setTimeout(xb,Eb):xb())});var M,Fb;
(function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=g[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var g,q,m,N,O=e,u,r=d[c];typeof l==="function"&&(r=l.call(d,c,r));switch(typeof r){case "string":return a(r);case "number":return isFinite(r)?String(r):"null";case "boolean":case "null":return String(r);case "object":if(!r)return"null";e+=f;u=[];if(Object.prototype.toString.apply(r)==="[object Array]"){N=
r.length;for(g=0;g<N;g+=1)u[g]=b(g,r)||"null";m=u.length===0?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+O+"]":"["+u.join(",")+"]";e=O;return m}if(l&&typeof l==="object"){N=l.length;for(g=0;g<N;g+=1)typeof l[g]==="string"&&(q=l[g],(m=b(q,r))&&u.push(a(q)+(e?": ":":")+m))}else for(q in r)Object.prototype.hasOwnProperty.call(r,q)&&(m=b(q,r))&&u.push(a(q)+(e?": ":":")+m);m=u.length===0?"{}":e?"{\n"+e+u.join(",\n"+e)+"\n"+O+"}":"{"+u.join(",")+"}";e=O;return m}}var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,f,g={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;Fb=function(a,c,d){var g;f=e="";if(typeof d==="number")for(g=0;g<d;g+=1)f+=" ";else typeof d==="string"&&(f=d);if((l=c)&&typeof c!=="function"&&(typeof c!=="object"||typeof c.length!=="number"))throw Error("JSON.stringify");return b("",{"":a})};M=function(a,b){function d(a,c){var e,
g,f=a[c];if(f&&typeof f==="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=d(f,e),g!==h?f[e]=g:delete f[e]);return b.call(a,c,f)}var e,a=String(a);c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),typeof b===
"function"?d({"":e},""):e;throw new SyntaxError("JSON.parse");}})();function Gb(){if(na){var a=Hb||(typeof window.s!=="undefined"?window.s:i);a?n(va(),function(b){var c=F(b),d=t(c,"is_site_catalyst_enabled")!=="custom_variables"?-1:t(c,"site_catalyst_evar")||-1;d!==-1&&(b=Ib(c,b,100,100,25),a["eVar"+d]=b.key+": "+b.value)}):B("Integrator","Error with SiteCatalyst integration: 's' variable not defined")}}function Jb(a,b){return a.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_").substring(0,b)}
function Ib(a,b,c,d,e){a=Kb+(t(a,"name")||"");b=Ra(b);b.length>1?(b=$.map(b,function(a){return a.substr(0,e-1)}),b=b.join("~")):b=b[0];a=Jb(a,c);b=Jb(b.replace("#",""),d);return{key:a,value:b}}
function fa(){na&&n(va(),function(a){var b=F(a);if(t(b,"google_analytics_slot")){window._gaq=window._gaq||[];var c=t(b,"google_analytics_slot")||0,d=window._gaq,e=Ib(b,a,28,24,5);try{d.push(["_setCustomVar",c,e.key,e.value,2])}catch(f){B("Integrator","Error sending Google Analytics data for "+J(b))}}if(I("kissmetrics")){window._kmq=window._kmq||[];c=window._kmq;a=Ib(b,a,100,100,15);d={};d[a.key]=a.value;try{c.push(["set",d])}catch(g){B("Integrator","Error sending KISSmetrics data for "+J(b))}}})}
function Lb(){var a=L("optimizelyReferrer");if(a&&a.length>0){a="_gaq.push(['_setReferrerOverride', '"+a+"']);";try{eval(a)}catch(b){B("Integrator","Error with _gaq.push (Google Analytics integration):"+a)}P("optimizelyReferrer","")}}function Mb(a){Kb=a}function Nb(a){Hb=a}var Kb="Optimizely_",Hb=i;function db(a,b,c){var d="";switch(c){case "exact":return a=W(a),a=Ob(a,"optimizely_log"),a=Ob(a,"optimizely_verbose"),d=W(b),B("Match","Exact match checking "+a+" and "+d,!0),a===d;case "regex":try{return B("Match","RegEx match checking "+a+" with "+b,!0),Boolean(a.match(b))}catch(e){return!1}case "simple":return a=W(Pb(a)),b=W(Pb(b)),B("Match","Simple match checking "+a+" with "+b,!0),a===b;case "substring":return a=W(a),b=W(b),B("Match","Substring match checking if "+a+" contains "+b,!0),a.indexOf(b)!==
-1;default:return!1}}function Pb(a){var b=a.indexOf("?");b!==-1&&(a=a.substring(0,b));b=a.indexOf("#");b!==-1&&(a=a.substring(0,b));return a}function Ob(a,b){return a.replace("&"+b+"=true","").replace("?"+b+"=true&","?").replace("?"+b+"=true","")}function W(a){for(var a=a.toLowerCase(),b=a.charAt(a.length-1);b==="/"||b==="&"||b==="?";)a=a.substring(0,a.length-1),b=a.charAt(a.length-1);n(Qb,function(b){a.indexOf(b)===0&&(a=a.substring(b.length))});return a}
var Qb=["http://edit.local/","http://preview.optimizely.com/","http://","https://","www."];function C(a,b,c,d){var c=c===!0,d=d===!0,e=F(a);if(e&&(d||!ab(e))){if(d&&ab(e))for(d=0;d<x.length;d++)x[d].h===e&&x.splice(d,1);x.push({h:e,id:a,source:b});c&&(U=U||[],U.push(e));ia[e]=!0;ja();B("Plan","Added experiment "+e+" and variation id "+a+" to the plan, source is "+b,!0)}}function ab(a){return a in w||a in ia}
function wb(a){a===h?a=[]:k(a)&&(a=[a]);var b=va(a),c=[],d=[],e=[],f=[];n(a,function(a){Rb(a,c,e,d,f)});n(b,function(a){for(var a=Qa(a),a=a.split("\n"),b=[],c=!0,e=0,$b=a.length;e<$b;e++){var q=$.trim(a[e]);if(q==="/* _optimizely_variation_url_end */")c=!0;else if(q!==""){var m=lb.exec(q);if(m&&m.length===11){var N=m[2]?m[2].split(" "):[],q=m[4]?m[4].split(" "):[],O=m[6]?m[6]:"substring",u=m[8]?m[8].split(" "):[],m=m[10]?m[10].split(" "):[];N.length>0&&(c=Sb(N,u,O),c=cb(c));c&&q.length>0&&(c=Sb(q,
m,O),c=!cb(c))}else c&&b.push(q)}}a=b.join("\n");Tb(a,d,f)});a=[];a.push.apply(a,d);a.push.apply(a,e);a.push.apply(a,f);a.push.apply(a,c);return a}function tb(a){var b=i;n(x,function(c){if(a==c.h)b=c.id});return b}function va(a){var b=[],c=!Ha(a),a=a||[];n(x,function(d){(c||z(a,d.h))&&b.push(d.id)});return b}function ub(a){var b;if(b===!0||!ab(a))w[a]=!0,ja()}function ea(){var a={};n(x,function(b){var c=F(b.id);a[c]=b.id});n(w,function(b){a[b]="0"});P("optimizelyBuckets",Fb(a),31536E4)}
function ja(){n(Ub,function(a){a()})}
function Rb(a,b,c,d,e){var f=t(a,"events")||{};n(f,function(c,d){b.push({j:d,f:c,type:"event '"+d+"' (experiment "+a+")",i:!0})});var f=t(a,"css")||"",g=t(a,"code")||"",l=t(a,"html")||"";l&&c.push({code:'$("body").append("<div style=\'display:none\'>'+l.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</div>");',f:"body",type:"global html (experiment "+a+")",i:!0});f&&c.push({code:'$("body").append("<style>'+f.replace(/([\f\n\r\t\\'"])/g,"\\$1")+'</style>");',f:"body",type:"global css (experiment "+a+")",i:!0});
g&&Tb(g,d,e)}
function Tb(a,b,c){if(a.indexOf("_optimizely_redirect")!==-1)b.push({code:a,type:"code forced (redirect)"});else{for(var a=a.split("\n"),d=!1,e=[],f=[];a.length>0;){var g=La(a.shift()),l=f.length>0;if(g)if(g.indexOf("_optimizely_evaluate=force")!==-1)d=!0;else if(g.indexOf("_optimizely_evaluate=safe")!==-1)d=!1;else if(d)e.push(g);else{if(!l){var p=Vb.exec(g),Na=[];p?(Na.push(p[1]),(p=Wb.exec(g))&&p.length>4&&Na.push(p[4]),c.push({code:g,f:Na,type:"safe jquery",i:!0})):l=!0}l&&f.push(g)}}e.length>0&&
b.push({code:e.join("\n"),type:"forced evaluation"});f.length>0&&c.push({code:f.join("\n"),type:"safe non-jquery",M:!0})}}function Sb(a,b,c){for(var d={values:[]},e=0,f=a.length;e<f;e++)d.values.push({value:a[e],match:b[e]||c});return d}var Ub=[],w={},Vb=/^\$j?\(['"](.+?)['"]\)\..+;\s*$/,Wb=/^\$j?\(['"](.+?)['"]\)\.detach\(\)\.(appendTo|insertAfter|insertBefore|prependTo)\(['"](.+?)['"]\);\s*$/,ia={},x=[];function B(a,b,c){Xb.push({z:new Date,w:a,message:b,m:c||!1});Yb&&ra()}function ra(){H&&(n(Xb,function(a){if(!a.F&&(!a.m||a.m===sb)){var b=+a.z;G(a.w,a.message+(" [time "+(Zb?b-Zb:0)+" +"+(ac?b-ac:0)+"]"));ac=b;Zb||(Zb=b);a.F=!0}}),Yb=!0)}var ac=i,Zb=i,Xb=[],Yb=!1;var v={};v.r=function(a,b){var c={},c=b&&k(b)?{revenue:Number(b)}:b;v.e(a,"custom",c)};v.e=function(a,b,c){c=c||{};S&&(k(c.revenue)?qa(a,{value:c.revenue}):qa(a));na&&(v.k.push({name:a,type:b,options:c}),v.q&&v.n(),B("Tracker","Tracking event '"+a+"'"))};v.A=function(){$("html").one("mousedown",Ga(v.e,"engagement"))};v.B=function(a){return function(){v.I(a)}};
v.l=function(){var a=L("optimizelyPendingLogEvents")||"[]",b=[];try{b=M(a)}catch(c){}if(D(b))for(var a=0,d=b.length;a<d;a++){var e=b[a];if(typeof e!=="string"){b=[];break}else try{M(e);b=[];break}catch(f){}}else b=[];return b};v.G=function(a,b){var c=new Image,d=Sa("log_host");c.onload=b;c.src=d+"/event?"+a};v.I=function(a){for(var b=v.l(),c=0,d=b.length;c<d;c++)if(b[c]===a){b.splice(c,1);break}v.p(b)};v.k=[];v.q=!1;
v.n=function(){var a=["a="+I("id"),"y="+!!I("ip_anonymization")];ha&&a.push("override=true");n(va(),function(b){var c=F(b);a.push("x"+c+"="+b)});a.push("f="+Ma().join(","));var b=a.join("&"),c=[];n(v.k,function(a){var b=[];a.name&&b.push("n="+encodeURIComponent(a.name));a.options.revenue&&b.push("v="+encodeURIComponent(a.options.revenue));a.options.anonymous!==!0&&b.push("u="+hb());b.push("t="+ +new Date);c.push(b.join("&"));if(a.type==="custom")try{v.L(a.name)}catch(d){}});var d=c.concat(v.l());
v.p(d);d=v.o?c:d;v.o=!0;for(var e=0,f=d.length;e<f;e++){var g=d[e];v.G(b+"&"+g,v.B(g))}v.k=[];v.q=!0};v.p=function(a){for(var b=Fb(a);b.length>1536;)a=a.slice(0,-1),b=Fb(a);P("optimizelyPendingLogEvents",b,15)};
v.L=function(a){var b=hb(),c=L("optimizelyCustomEvents")||"{}";try{c=M(c)}catch(d){c={}}var e=c[b]||(c[b]=[]),e=D(e)?e:[];$.inArray(a,e)!==-1&&e.splice($.inArray(a,e),1);e.push(a);e.length>10&&e.shift();c[b]=e;var a=0,e=i,f=0,g;for(g in c)if(c.hasOwnProperty(g)&&(a++,c[g].length>f&&g!==b))e=g,f=c[g].length;a>10&&e!==i&&delete c[e];P("optimizelyCustomEvents",Fb(c),31536E4)};v.o=!1;var X;function eb(){function a(){return X.u}X=X||pb();eb=a;return a()}function ib(){var a="";try{a=navigator.userLanguage||window.navigator.language,a=a.toLowerCase()}catch(b){a=""}return a}function fb(){function a(){return X.v}X=X||pb();fb=a;return a()}function hb(){var a=L("optimizelyEndUserId");a||(a="oeu"+ +new Date+"r"+Math.random(),P("optimizelyEndUserId",a,31536E4));return a}function gb(){function a(){return X.H}X=X||pb();gb=a;return a()}var jb=h;function bc(a){return function(b){if(typeof b==="object"&&cc()){var c=i,d;for(d in b)b.hasOwnProperty(d)&&(c=a.call(this,d,b[d]));return c}else return a.apply(this,arguments)}}function cc(){for(var a in{})return!0;return!1};var Y=$;Y.fn.attr=bc(Y.fn.attr);Y.fn.css=bc(Y.fn.css);Y.fn.extend=bc(Y.fn.extend);Y.each=function(){var a=Y.each;return function(b,c,d){if((b.length===h||Y.isFunction(b))&&cc())if(d)for(var e in b){if(b.hasOwnProperty(e)&&c.apply(b[e],d)===!1)break}else for(e in b){if(b.hasOwnProperty(e)&&!c.call(b[e],e,b[e])===!1)break}else a.apply(this,arguments);return b}}();
Y.fn.D=function(){var a=Y.fn.D;return function(b,c,d){return typeof b==="string"&&c&&Y.type(c)==="object"&&cc()?(b=new a(b,h,d),b.attr(c),b):new a(b,c,d)}}();B("Main","Started, revision "+I("revision"));
(function(){var a=Xa(),b=/x(\d+)/,c=!1;n(a,function(a,d){var g=b.exec(a);if(g&&(c=!0,g=g[1],d!=="-1")){var l=Ya(g,d.split("_"));C(l,"query",!0);Va.push(g)}});if(a.opt_out==="true"||a.opt_out==="false")P("optimizelyOptOut",a.opt_out,31536E4),P("optimizelyBuckets",a.opt_out,31536E4),a.opt_out==="true"&&alert("You have successfully opted out of Optimizely for this domain.");j=a.disable!=="true"&&a.opt_out!=="true"&&L("optimizelyOptOut")!=="true";S=(a.preview||S)&&j&&!a.cross_browser;T=a.load_script;
H=a.log==="true";sb=a.verbose==="true";na=!c||a.force_tracking==="true";a.client==="false"&&(j=!1,T="js/"+I("id")+".js");if(T){var d=!1;n(Za,function(a){if(T.substring(0,a.length)==a)return d=!0});d||(T="")}})();var dc=document.location.hostname,Z=dc.split("."),ec=dc,fc=Z[Z.length-1];Z.length>2&&Z[Z.length-2]==="appspot"&&fc==="com"?ec=Z[Z.length-3]+".appspot.com":Z.length>1&&Ia(fc,kb)&&(ec=Z[Z.length-2]+"."+fc);Q=ec;G("Cookie","Guessed public suffix: %s",Q);
I("public_suffix")&&(R=L("optimizelyPublicSuffix")||"",G("Cookie","Public suffix (from cookie): %s",R),R||(G("Cookie","Making request for public suffix on DOM ready"),$(Ga(ob,dc))));var gc=L("optimizelyBuckets"),jb=gc!==h&&gc!==i;
(function(){var a=L("optimizelyBuckets");if(a){try{a=M(a)}catch(b){a={}}var c={};n(a,function(a,b){var b=String(b),f=F(b);y(f).length>1&&b.indexOf("_")===-1?(c[f]=c[f]||{},c[f][a]=b):b!=="0"?C(b,"cookie",!1):ub(a)});n(c,function(a,b){var c;a:{c=[];for(var g=y(a),l=0;l<g.length;l++){var p=b[g[l]];if(p==="0"){c="";break a}c.push(p)}c=c.join("_")}c.length>0?C(c,"cookie",!1):ub(a)})}})();
(function(){Ub.push(sa);var a={$:$,activeExperiments:za||[],allExperiments:Aa(),all_experiments:Aa(),allVariations:I("variations")||{},revision:I("revision"),variationIdsMap:ta,variation_map:E,variationMap:E,variationNamesMap:ua},b={},c=Ga(oa,b);ya(b,{acknowledgePreviewMode:Ua,activate:aa,bucketUser:ga,delayDomReadyEval:Db,delayPageviewTracking:Ba,disable:ma,integrationPrefix:Mb,push:c,sc_activate:Gb,sc_svar:Nb,skipPageTracking:Da,trackEvent:v.r});ya(a,b);b=window.optimizely;D(b)&&n(b,function(a){c(a)});
window.optimizely=a})();B("Info","Is enabled: "+j);B("Info","Is previewing: "+S);B("Info","Script to load: "+(T||"none"));B("Info","Browser type: "+eb());B("Info","Browser version: "+fb());var hc=gb();hc!=="unknown"&&B("Info","Mobile browser type: "+hc);B("Info","Visitor type: "+(jb?"returning":"new"));B("Info","User ID: "+hb());T&&Ka(T);
j&&(n(o(),function(a){if(!Ia(a,U)&&ba(a)){B("Distributor","Going to distribute "+J(a));var b=ca(a),c=!1;S&&Va.length>0&&!z(Va,a)&&(B("Distributor","Not going to evaluate because of preview mode, for "+J(a)),c=!0,K[a]="it is not being previewed");b&&!c&&(U=U||[],U.push(a))}}),ea(),v.A(),Ea||(Ca>0?setTimeout(function(){v.e(document.location.href)},Ca):v.e(document.location.href)),v.n(),fa(),Lb());
H&&(n(w,function(a){var b=t(a,"name")||"";B("Plan","Ignore experiment '"+b+"' ("+a+")")}),n(x,function(a){var b=F(a.id),c=xa(a.id);B("Plan",J(b)+' in variation "'+c+'" ('+a.id+")")}));j&&(da(),sa(),ra());
if(S)window.optimizelyPreview=window.optimizelyPreview||[],B("Preview","Will load preview script"),$(document).ready(function(){var a="//optimizely.s3.amazonaws.com/js/"+I("id")+"_preview.js?account_id="+I("id")+"&no_cache="+Math.floor(1E9*Math.random());Ka(a);B("Preview","Now loading preview script "+a)});

optly.Cleanse.finish();
})();

