About TourTeaming Up
SponsorshipLiving Red
About ADAFundraising Tools
FAQ
Donate to a participant:
Donate to a team:
Donate directly to ADA
Search By State:
Search By Event
Error: Invalid Login. Please try again.
forgot password?
About TourTeaming Up
SponsorshipLiving Red
About ADAFundraising Tools
FAQ
Donate to a participant:
Donate to a team:
Donate directly to ADA
Search By State:
Error: Invalid Login. Please try again.
forgot password?
Over 30 years Connected and Mission Fuels our Passion to Find a Cure
Research
Committed to innovation and breakthrough research that will improve the lives of all people living with diabetes.
Learn more
Advocacy
Transforming lives with action. Learn about our advocacy priorities at the state and federal levels
Learn more
Resources
Providing resources on the latest diabetes research, treatment and technology advancements.
Learn more
Education
Promoting quality education for people with diabetes and professionals who care for those living with diabetes.
Learn more
Donate to your favorite participant or team!
Tour de Cure® fundraising has supported our efforts to advocate on behalf of over 37.3 million Americans living with diabetes, fund research to bring us closer to a cure and provide resources to health care professionals and anyone impacted by this disease. Your donation will have an impact for years to come.
Find a Team
Find a Rider
Tour de Cure is the American Diabetes Association’s premiere cycling and fundraising event. With health and safety in mind, the 2023 Tour de Cure will be in person at locations around the country.
Red Riders
Our Living Red initiative recognizes and supports individuals living with diabetes (Red Riders) participating in our virtual events. They are our heroes and our reason why!
Learn more
National Teams
Teams that have committed to engaging their employees in multiple virtual events nationwide, fundraising to support our mission.
Learn more
Teaming Up
Create a virtual team with your colleagues, friends and family members. Together, you can fundraise and join us in making an impact.
Learn more
About
About Tour
Teaming Up
Sponsorship
Living Red
Learn More
About ADA
Fundraising Tools
FAQ
© 2023 American Diabetes Association
All rights reserved. Use of this Web site constitutes acceptance of our Terms of Use and Privacy Policy.
The American Diabetes Association is the nation's leading 501(C)3 nonprofit charity providing diabetes research, information and advocacy.
Tour de Cure is the premier fundraising campaign of the American Diabetes Association ®, now with virtual engagement designed for anyone and everyone to participate. The campaign has been expanded to include more members of our community and bring them together to learn about diabetes, healthy living and to support people living with diabetes. Tour de Cure is a unique opportunity for businesses, clubs, friends and families to form virtual teams with the vision of a life free of diabetes and all its burdens.
Credit Card Verification Code
The Verification Code is imprinted on credit cards to help merchants verify transactions when the actual card is not present, such as Internet purchases or donations. The merchant uses this number as part of the authorization process with the card issuer.
Please use the images below to locate the verification code for your card type.
Visa, Master Card, and Discover
The verification code for Visa, Master Card, and Discover is a 3-digit number printed on the back of your card. It appears after the account number or last 4-digits of your account number, in the signature panel.
American Express
The American Express verification code is a 4-digit number printed on the front of your card. It appears above and to the right of the embossed account number.
Register
CREATE a new team
Become a captain of a new team.
JOIN a team
Join a team already registered for this event.
REGISTER as an individual
Participate without associating with a team.
Create a Team
You can create a team either through the "Register" button above where you'll first find the nearby event or by visiting the list of events associated with national company below.
Do not forget to associate your newly created team with this company.
Participant and Team Resources:
We are here to provide support and to start you off, here are some resources to help you be a successful fundraiser.
- We have made fundraising easy. This Fundraising Guide has great ideas to help you reach your goal personally and with your team.
- Interested in becoming a Team Captain? The Team Captain Guide has information about how to lead a successful fundraising team, recruit team members and engage your company for support.
![American Diabetes Association's Tour de Cure (14) American Diabetes Association's Tour de Cure (14)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/so/so2014/img/co-img.jpg)
');jQADA('#NatComActualContent').html(jQADA('#fr_html_container').html());jQADA('#logo_container').prependTo(jQADA('#NatComActualContent'));//jQADA('#logo_container').append('
![American Diabetes Association's Tour de Cure (15) American Diabetes Association's Tour de Cure (15)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/tr/tr2021/img/HANDSHAKE.png)
Click here to see top fundraising teams
').insertAfter(jQADA('#top_teams_title_container'));var custtopncteamlink = jQADA('#bannerctacompanyjointeamlink').prop('href')+'&ldrboard=y&sortOptions=raisedamt';jQADA('#adapatchtopteamnclink').prop('href',custtopncteamlink);}FindEvtListener();}); //end doc readyfunction FindEvtListener(){jQADA('#selectedStateVal').on('change', function(){findEvtResponse('#selectedStateVal');});jQADA('#selectedStateValCTA').on('change', function(){findEvtResponse('#selectedStateValCTA');});jQADA('#selectedStateValCTAMobile').on('change', function(){findEvtResponse('#selectedStateValCTAMobile');});var currLoc = getURLParameter('pagename');var isDevHomepage = getURLParameter('showHomepage');if(stateval != "null"){if((currLoc.toLowerCase().indexOf("tc_homepage")!= -1)||((currLoc.toLowerCase().indexOf("tc_dev_dh")!=-1)&&(isDevHomepage === "yes"))) {luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByStateCallback,data: 'method=getTeamraisersByInfo&county='+stateval.toUpperCase()+'&list_sort_column=state&response_format=json&event_type=Tour%20de%20Cure'});} else {window.location = 'SPageServer?pagename=TC_homepage&stateval='+stateval;}}jQADA('#stateSearch').on('change', function(){luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByStateCallback,data: 'method=getTeamraisersByInfo&county='+ jQADA('#stateSearch option:selected').text().toUpperCase() +'&list_sort_column=state&response_format=json&event_type=Tour%20de%20Cure'});});jQADA('#stateSearchCTA').on('change', function(){if((currLoc.toLowerCase().indexOf("tc_homepage")!= -1)||((currLoc.toLowerCase().indexOf("tc_dev_dh")!=-1)&&(isDevHomepage === "yes"))) { statefromtopnav = 1;luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByStateCallback,data: 'method=getTeamraisersByInfo&county='+ jQADA('#stateSearchCTA option:selected').text().toUpperCase() +'&list_sort_column=state&response_format=json&event_type=Tour%20de%20Cure'}); } else {window.location = 'SPageServer?pagename=TC_homepage&stateval='+jQADA('#stateSearchCTA option:selected').text().toUpperCase();}});jQADA('#stateSearchCTAMobile').on('change', function(){if((currLoc.toLowerCase().indexOf("tc_homepage")!= -1)||((currLoc.toLowerCase().indexOf("tc_dev_dh")!=-1)&&(isDevHomepage === "yes"))) { statefromtopnav = 1;luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByStateCallback,data: 'method=getTeamraisersByInfo&county='+ jQADA('#stateSearchCTAMobile option:selected').text().toUpperCase() +'&list_sort_column=state&response_format=json&event_type=Tour%20de%20Cure'});} else {window.location = 'SPageServer?pagename=TC_homepage&stateval='+jQADA('#stateSearchCTAMobile option:selected').text().toUpperCase();}});}function DFHandler(){//Look for checked radio button to create pre-selected button on pageloadjQADA('div.donation-level-label-input-container input[checked="checked"]').closest('.donation-level-input-container').find('.donation-level-label-container').addClass('active');//Add active class to selected donation level (button)jQADA('.donation-level-amount-container, .donation-level-label-container').click(function() { jQADA('div.donation-level-input-container .active').removeClass('active'); jQADA(this).addClass('active'); });//Add active class to corresponding 'Other' button on input focusjQADA('.donation-level-user-entered input[type="text"]').focus(function(){ jQADA('div.active').removeClass('active'); jQADA(this).parent('div.donation-level-user-entered').siblings('label').children('.donation-level-label-container').addClass('active');})//Add '$' in front of other amount input fields//jQADA('div.donation-level-user-entered').prepend('$');jQADA('label[for=gdpr_consent_dropdown]').hide();jQADA('label[for=gdpr_consent_radio]').hide();jQADA('#gdpr_consent_radio').hide();if(jQADA('#billing_addr_country').length){checkMYGDPR();jQADA('#billing_addr_country').on('change', function(){checkMYGDPR();});}}function retrieveCompanyTeamParticipantAPI(){luminateExtend.api.request({ api: 'teamraiser', callback: getCompanyTeamsCallback, data: 'method=getTeamsByInfo&response_format=json&fr_id='+getURLParameter("fr_id")+'&list_page_size=1000&team_company_id='+getURLParameter("company_id"), requestType: 'GET' });}function getCompanyTeamsCallback(data){if (data.errorResponse) { alert("Error: "+data.errorResponse.message); } else if (data.getTeamSearchByInfoResponse.team) { var teamsListing = luminateExtend.utils.ensureArray(data.getTeamSearchByInfoResponse.team);var teamsListingSortedRaised = _.sortBy(teamsListing,function(teamsListing){return Number(teamsListing.amountRaised);}).reverse();var renderTeamInstances = ""; jQADA.each(teamsListingSortedRaised, function(){ var amtRaised = this.amountRaised; if(amtRaised != "0"){ amtRaised = amtRaised.slice(0,-2) } if(this.divisionName != "null"){ var whatDiv = this.divisionName; if(whatDiv.indexOf("Family") != -1){ var whatDivColor = "#558000"; var whatDivClass = "FamilyTeam"; } if (whatDiv.indexOf("Corporate") != -1){ var whatDivColor = "#ff9900"; var whatDivClass = "CorporateTeam"; } if (whatDiv.indexOf("Club") != -1){ var whatDivColor = "#ffcccc"; var whatDivClass = "ClubTeam"; } if (whatDiv.indexOf("School") != -1){ var whatDivColor = "#cc99ff"; var whatDivClass = "SchoolTeam"; } } renderTeamInstances += "Team Name
"+this.name+"
Team Captain
"+this.captainFirstName+" "+this.captainLastName+"
Team Members
"+this.numMembers+"
Join
Umbrella Teams
';var counter=1;jQADA.each(allcompanies, function(){/*luminateExtend.api.request({ api: 'CRTeamraiserAPI', callback: getTopUmbrellaTeamCB, //data: 'method=getCompaniesByInfo&fr_id='+getURLParameter('fr_id'), data: 'method=getCompanyTeams&fr_id='+getURLParameter('fr_id')+'&company_id='+this.companyId, requestType: 'POST',requiresAuth: true, useHTTPS: true });*/if(counter < 6){var amtRaised = this.amountRaised;if(amtRaised != '0'){amtRaised = amtRaised.slice(0,-2);}listContent += ''+this.companyName+'
$'+numberWithCommas(amtRaised)+'
'+counter4+'
');counter4++;});}}function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");}function getTopUmbrellaTeamCB(data){console.log(data);//allUmbrellaTeamsListing}//perform login via AJAX requestfunction login(whatForm) { luminateExtend.api.request({ api: 'CRConsAPI', callback: loginCallback, data: 'method=login', form: whatForm, requestType: 'POST', useHTTPS: true });}//callback function after loginfunction loginCallback(data) { if (data.errorResponse) { alert("Invalid login"); } else if (data.loginResponse) { location.reload(); //window.location.href="https://donations.diabetes.org/site/SPageServer?pagename=TC_tourcenter"; }}function truncate(str, n){ return (str.length > n) ? str.substr(0, n-1) + '…' : str;};//getMyZipEventsfunction getMyZipEvents(fromWhere,selectedDistance) {var currLoc = getURLParameter('pagename');var isDevHomepage = getURLParameter('showHomepage');if((currLoc.toLowerCase().indexOf("tc_homepage")!= -1)||((currLoc.toLowerCase().indexOf("tc_dev_dh")!=-1)&&(isDevHomepage === "yes"))){ if(fromWhere === 'topnav'){if((isNaN(jQADA('#zipSearchValCTA').val())==true) || (!jQADA('#zipSearchValCTA').val())){alert("Please provide correct zipcode!");} else {console.log('location is homepage or DEV homepage with homepage mode from topnav');myZip = jQADA('#zipSearchValCTA').val();luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByDistanceCallback,data: 'method=getTeamraisersByDistance&starting_postal=' + jQADA('#zipSearchValCTA').val() + '&search_distance=' + selectedDistance + '&list_sort_column=distance&response_format=json&event_type=Tour%20de%20Cure'});} } else if(fromWhere === 'topnavmobile') { if((isNaN(jQADA('#zipSearchValCTAMobile').val())==true) || (!jQADA('#zipSearchValCTAMobile').val())){alert("Please provide correct zipcode!");} else {console.log('location is homepage or DEV homepage with homepage mode from topnavmobile');myZip = jQADA('#zipSearchValCTAMobile').val();luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByDistanceCallback,data: 'method=getTeamraisersByDistance&starting_postal=' + jQADA('#zipSearchValCTAMobile').val() + '&search_distance=' + selectedDistance + '&list_sort_column=distance&response_format=json&event_type=Tour%20de%20Cure'});} } else { if(fromWhere==='homepageauto'){ console.log('location is homepage or DEV homepage with homepage mode from zipval url parameter'); if(isNaN(zipval)==true){ alert("Invalid zipcode"); window.location = 'SPageServer?pagename=TC_homepage' //window.location = 'SPageServer?pagename=TC_DEV_DH&showHomepage=yes'; } else { luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByDistanceCallback,data: 'method=getTeamraisersByDistance&starting_postal=' + zipval + '&search_distance=' + selectedDistance + '&list_sort_column=distance&response_format=json&event_type=Tour%20de%20Cure'}); } } else {if((isNaN(jQADA('#zipSearchVal').val())==true) || (!jQADA('#zipSearchVal').val())){alert("Please provide correct zipcode!");} else {console.log('location is homepage or DEV homepage with homepage mode from homepage zipsearch');myZip = jQADA('#zipSearchVal').val();luminateExtend.api.request({api: 'teamraiser',callback: getTeamraisersByDistanceCallback,data: 'method=getTeamraisersByDistance&starting_postal=' + jQADA('#zipSearchVal').val() + '&search_distance=' + selectedDistance + '&list_sort_column=distance&response_format=json&event_type=Tour%20de%20Cure'});} } }} else {if(fromWhere === 'topnav'){if((isNaN(jQADA('#zipSearchValCTA').val())==true) || (!jQADA('#zipSearchValCTA').val())){alert("Please provide correct zipcode!");} else {console.log('search from outside homepage from topnav');window.location = 'SPageServer?pagename=TC_homepage&zipval='+jQADA('#zipSearchValCTA').val();//window.location = 'SPageServer?pagename=TC_DEV_DH&showHomepage=yes&zipval='+jQADA('#zipSearchValCTA').val();}} else {if((isNaN(jQADA('#zipSearchValCTAMobile').val())==true) || (!jQADA('#zipSearchValCTAMobile').val())){alert("Please provide correct zipcode!");} else {console.log('search from outside homepage from topnavmobile');window.location = 'SPageServer?pagename=TC_homepage&zipval='+jQADA('#zipSearchValCTAMobile').val();//window.location = 'SPageServer?pagename=TC_DEV_DH&showHomepage=yes&zipval='+jQADA('#zipSearchValCTAMobile').val();}}}} window.getTeamraisersByDistanceCallback = { error: function(data) { jQADA('#teamraiser-event-search-errors').remove(); jQADA('#teamraiser-event-search-results').html('');jQADA('#teamraiser-event-selected-state').html(''); jQADA('#teamraiser-event-search-results').prepend('' + '
' + data.errorResponse.message + '
' + '
' + '
' + 'No nearby events found within 200 miles of following zipcode:'+myZip +'. Please try another search.' + '
' + '
' + '
' + this.name + '
' + this.city + ', ' + this.state + ' on ' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
Register Explore
' + '
' + this.name + '
' + this.city + ', ' + this.state + ' on ' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
Explore
'+whatTRName+'
'+whatTRDate+'
'+counter1+'
');counter1++;}); var counter2=1;jQADA('#famfriend').find('.indicator-list-row').each(function () {jQADA(this).prepend(''+counter2+'
');counter2++;}); var counter3=1;jQADA('#corpteam').find('.indicator-list-row').each(function () {jQADA(this).prepend(''+counter3+'
');counter3++;}); }function RegHandler(){jQADA('.campaign-banner-container').hide();jQADA('#title_container').show();jQADA('#title_container').css('color','#FFF');jQADA('label').css('max-width','700px');//var shirt_price='100';if(getURLParameter('pg') === 'utype'){jQADA('#user_type_login_container').insertBefore(jQADA('#user_type_new_participant_registration_container'));jQADA('#fr_responsive_register_new_participant_container').text('Register');}if(jQADA('#pg').val() === 'paymentForm'){jQADA('#responsive_payment_typecc_cvv_row').append('**Please check all fields carefully and make sure they match your card to avoid a decline due to inaccuracies.
');}if(getURLParameter('pg') === 'ptype'){if(getURLParameter('vwalk') === 'y'){var radlength = parseInt(jQADA('input[name="fr_part_radio"]').length);var vwalkradloc = radlength-1;fr_part_radio_select(vwalkradloc);}//var shirt_area='$'+shirt_price+'
![American Diabetes Association's Tour de Cure (16) American Diabetes Association's Tour de Cure (16)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/so/so2014/img/100_level_v2.jpg)
Earn an Official Walk T-shirt!
$250
![American Diabetes Association's Tour de Cure (17) American Diabetes Association's Tour de Cure (17)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/so/so2014/img/200level.jpg)
Earn Other Step Out Gear!
$1,000
![American Diabetes Association's Tour de Cure (18) American Diabetes Association's Tour de Cure (18)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/so/so2015/img/2015_champ_jersey_v2.jpg)
Become a Champion to Stop Diabetes and receive exciting perks and gifts!
![American Diabetes Association's Tour de Cure (19) American Diabetes Association's Tour de Cure (19)](https://i0.wp.com/tour.diabetes.org/https://donations.diabetes.org/site/SPageServer?amp;pagename=TC_homepage/../ws/so/so2014/img/level_1000.png)
* Choose your registration category
');jQADA('I\'d like to raise the following amount to help Stop Diabetes!
').insertBefore('div#part_type_fundraising_goal_input_container.input-container > div.manageable-content > label#fund_goal_container');jQADA('You can make an impact right away with your own donation to Stop Diabetes!
').insertBefore('div#part_type_additional_gift_section_header');jQADA('My goal:
').insertBefore('#fr_goal');jQADA('.donation-level-name').css('font-size','1em');var mydfcampaignid = "";jQADA('#head-fr-goal').text('Aim high when you set your fundraising goal!');if(mydfcampaignid==='8762'){jQADA('Most participants go above and beyond the minimum to qualify for our unique recognition gifts. Recognition Gifts are cumulative, and will be received once the fundraising milestones below are met.
Raise $130 ($30 for Youth 17 years of age and under)
"Challenge Accepted" kit featuring performance shirt. If registered as a red rider you will also receive Red Rider Jersey
Raise $500
30th Anniversary Signature Jersey and Finishers Medal
Raise $1000
Exclusive Champions Celebrations Box full of premium gifts
Raise $5000
Invitation Only Virtual Champions Coffee with Tracey Brown, CEO and Dr. Robert Gabbay, Chief Science and Medical Officer and VIP Gift Box
').insertAfter(jQADA('#head-fr-goal'));}jQADA('#head-self-don').text('Make an impact today!');jQADA('#suggested_goal_container').hide();//jQADA('
$340 Fundraising minimum to participate on event day
').insertAfter(jQADA('#fund_goal_container'));jQADA('input[type=text]').prop('style','width:200px !important;');AddGiftRegHandler();}if(getURLParameter('pg') === 'waiver'){jQADA('div.registration-page-container div.section-header').html('Waiver');jQADA('span#agree_container').addClass('bold');}if(getURLParameter('pg') === 'regsummary'){jQADA('div.registration-page-container div.section-header').html('Registration Summary');jQADA('#ut_title_container').html('Review and Complete Registration');jQADA('a.detail-show-link.detail-toggle-link img').attr('src', '../ws/so/so2014/img/arrow-right.png');}if(jQADA('#pg').val() === 'paymentForm'){jQADA('#reg_billing_info_block').insertBefore('#reg_payment_info_block');}if(jQADA('#pg').val() === 'reg'){jQADA('div#additional_questions_container.sub-section-body > div.survey-question-container.field-required > div.form-content > span.input-container > label > span.input-label:contains("Your T-shirt size")').addClass('cstm-shirt-txt');//jQADA('.cstm-shirt-txt').text('Your T-shirt size (You will receive a commemorative Step Out T-shirt when you achieve the fundraising minimum of $'+shirt_price+'!):');jQADA('span#password_hdr_container').html('Choose Your Fundraising Center Log In Information');//jQADA('li.input-container > input').attr('type', 'checkbox');jQADA('.survey-question-container:last').hide();checkMYGDPR();jQADA('#cons_country').on('change', function(){checkMYGDPR();}); }if(getURLParameter('pg') === 'rthanks'){var rthanks_total=jQADA('#total_amt').text();var rthanks_market=jQADA('#fair_market_amt').text();var rthanks_deductible=jQADA('#tax_deductible_amt').text();// build urlvar rthanksbase_url=jQADA('a#part_ctr_container').attr("href");var rthanksbaseURLChecker = setInterval(function () { if((rthanksbase_url != "")&&(typeof rthanksbase_url != "undefined")){if((rthanks_total != "")&&(typeof rthanks_total != "undefined")){rthanksurl=rthanksbase_url+"&typop=y&totalamt="+rthanks_total+"&mrkt="+rthanks_market+"&dedct="+rthanks_deductible;}else {rthanksurl=rthanksbase_url;}if(jQADA.trim(jQADA('#regIsTC').text()).toLowerCase() === 'true'){if(jQADA.trim(jQADA('#regTCLMSGroup').text()).toLowerCase() != 'false'){window.location = rthanksurl;}else{luminateExtend.api.request({api: 'survey',callback: VMSSurveyCallback,data: 'method=submitSurvey&survey_id=30161',requestType: 'POST',requiresAuth:true});}} else {window.location = rthanksurl;}clearInterval(rthanksbaseURLChecker);} }, 1e3);}}window.VMSSurveyCallback = { error: function(data) {}, success: function(data) { window.location = rthanksurl; }};function AddGiftRegHandler(){//Look for checked radio button to create pre-selected button on pageload//jQADA('div.donation-level-row-container input[checked="checked"]').closest('.donation-level-row-container').find('.donation-level-row-decoration-container').addClass('active');//Add active class to selected donation level (button)jQADA('.donation-level-row-decoration-container').click(function() { jQADA('div.donation-level-row-decoration-container').removeClass('active'); jQADA(this).addClass('active'); });//Add active class to corresponding 'Other' button on input focusjQADA('.input-container input[type="text"]').focus(function(){ jQADA('div.active').removeClass('active'); })//make last one width autojQADA('.donation-level-row-decoration-container:last').css({'width':'auto'});}function checkMYGDPR() { if (jQADA('#pg').val()==='reg'){var myGDPRCountry = jQADA('#cons_country').val();} myGDPRCountry = myGDPRCountry.toLowerCase(); switch (myGDPRCountry) { case "austria": case "belgium": case "bulgaria": case "croatia": case "cyprus": case "czech republic": case "denmark": case "estonia": case "finland": case "france": case "germany": case "greece": case "hungary": case "ireland": case "italy": case "latvia": case "lithuania": case "luxembourg": case "malta": case "netherlands": case "poland": case "portugal": case "romania": case "slovakia": case "slovenia": case "spain": case "sweden": case "united kingdom": if (jQADA('#pg').val()==='reg'){jQADA('#next_step').hide();jQADA('#fr_email_opt_in').prop('checked',false);jQADA('#cons_email_opt_in').prop('checked',false);jQADA('#s_rememberMe').prop('checked',false);jQADA('.survey-question-container:last').show();jQADA('.survey-question-container:last').find('select').on('change',function(){if(jQADA(this).val()==='True'){jQADA('#next_step').show();} else {jQADA('#next_step').hide();}})}break;default:if (jQADA('#pg').val()==='reg'){var myGDPRresponse =jQADA('.survey-question-container:last').find('select');myGDPRresponse.val('NOREPLY');jQADA('.survey-question-container:last').hide();jQADA('#next_step').show();jQADA('#fr_email_opt_in').prop('checked',true);jQADA('#cons_email_opt_in').prop('checked',true);jQADA('#s_rememberMe').prop('checked',true);} }}function customizeTeamRoster(){jQADA('#teamRosterBox .team-roster-participant-name a').each(function(){jQADA(this).attr('class','participantLink');jQADA(this).parent().prepend(this); });jQADA('#teamRosterBox .team-roster-star').attr('src','../ws/so/so2013/img/milestone-badges/team_captain.png');jQADA('#teamRosterBox .team-roster-participant-name img').each(function(){ var imgsrc = jQADA(this).attr('src'); var imgalt = jQADA(this).attr('alt'); if (imgalt === 'Team Captain') {imgsrc = '../ws/so/so2013/img/milestone-badges/team_captain.png'; imgalt = 'Team Captain'; } if (imgalt === 'Stop Diabetes'){ imgsrc = '../ws/so/so2013/img/milestone-badges/self_donor.png'; imgalt = 'Made a Personal Donation'; } if (imgalt === 'Hang the Banner'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_350.png'; imgalt = '$350: Hang the Banner'; } if (imgalt === 'Fast Walker'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_200.png'; imgalt = '$200: Fast Walker'; } if (imgalt === 'Shining Bright'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_600.png'; imgalt = '$600: Shining Bright'; } if (imgalt === 'Champion to Stop Diabetes'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_1000.png'; imgalt = '$1,000: Champion to Stop Diabetes'; } if (imgalt === 'Stacking Up'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_2000.png'; imgalt = '$2,000: Stacking Up'; } if (imgalt === 'Leading the Pack'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_3000.png'; imgalt = '$3,000: Leading the Pack'; } if (imgalt === 'Star'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_5000.png'; imgalt = '$5,000: You\'re a Star'; } if (imgalt === 'Trophy Worthy'){ imgsrc = '../ws/so/so2013/img/milestone-badges/level_10000.png'; imgalt = '$10,000: Trophy Worthy'; } jQADA(this).attr('src',imgsrc); jQADA(this).attr('alt',imgalt); });jQADA('#teamRosterBox .team-roster-participant-name').each(function(){var whatLink = jQADA(this).find('a').attr('href');//console.log(whatLink);if(typeof whatLink != "undefined"){whatPX = getStringURLParameter('px',whatLink);var whatDFID = jQADA.trim(jQADA('#whatDFID').text());console.log('whatDFID is '+whatDFID);//console.log("px is "+whatPX);var hrefval = 'https://donations.diabetes.org/site/Donation2?df_id='+whatDFID+'&PROXY_ID='+whatPX+'&PROXY_TYPE=20&FR_ID='+getURLParameter("fr_id");console.log(hrefval);jQADA(this).next().append('Donate');}});jQADA('To make a general donation to the team that will not count toward any individual participant, click here.
').insertAfter('#teamRosterBox');}function getStringURLParameter(searchTerm,searchString){return decodeURI( (RegExp(searchTerm + '=' + '(.+?)(&|$)').exec(searchString) || [, null])[1] );}function findEvtResponse(whatSelID){console.log(whatSelID);var whatSelEvt = jQADA(whatSelID).val();console.log(whatSelEvt);if (whatSelEvt != ""){window.location.href='../site/TR?pg=entry&fr_id='+whatSelEvt;}}function getMyRegisteredEvents(){var myCIDvalue = jQADA.trim(jQADA('#myCIDval').text());luminateExtend.api.request({api: 'teamraiser', callback: getMyRegisteredTR, data: 'method=getRegisteredTeamraisers&cons_id='+myCIDvalue+'&response_format=json&event_type=Tour%20de%20Cure'}); }window.getMyRegisteredTR = { error: function(data) { jQADA('#teamraiser-registered-event-errors').remove(); jQADA('#teamraiser-registered-event-results').html('');jQADA('#loadingRegisteredEvt').hide(); /*jQADA('.teamraiser-registered-event-form').prepend('' + '
' + data.errorResponse.message + '
' + '
' + '
' + '
You may have not currently registered in any current event yet. Register to a nearby event near you.
' + '
' + '
' + '
' + '
You may have not currently registered in any current event yet. Register to a nearvy event near you.
' + '
' + '
' + '
' + this.name + '
Visit Your Center »
' + this.city + ', ' + this.state + '
'+ luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
' + 'You have not registered in any current event yet.' + '
' + '
Redirecting you to your Participant Center. Please wait...
'); window.location.href= jQADA('#VYC0').attr('href'); } else { jQADA('#teamraiser-registered-event-results').prepend('You are currently registered for the following event(s):
'); } } }}function getAllEvents(){luminateExtend.api.request({ api: 'teamraiser', callback: getAllTeamraisersCallback, data: 'method=getTeamraisersByInfo&response_format=json&event_type=Tour%20de%20Cure&country=United%20States&list_page_size=1000&list_page_offset=0&list_sort_column=event_date&list_ascending=false' });}window.getAllTeamraisersCallback = { error: function(data) { jQADA('#results-event-search-errors').remove(); jQADA('#results-event-search-results').html(''); jQADA('.results-event-search-form').prepend('' + '
' + data.errorResponse.message + '
' + '
' + '
' + 'No events found.' + '
' + '
' + '
' + this.name + '
' + this.city + ', ' + this.state + '
' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
Register
' + '
' + '
' + this.name + '
' + this.city + ', ' + this.state + '
' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
View Detail
' + '
Upcoming Events
').insertBefore(jQADA('div.evtisactive:first'));jQADA('Past Events
').insertAfter(jQADA('div.evtisactive:last')); } }}window.getTeamraisersByStateCallback = { error: function(data) { firstLoad = 0; jQADA('#teamraiser-event-search-errors').remove(); jQADA('#teamraiser-event-search-results').html('');jQADA('#teamraiser-event-selected-state').html(''); jQADA('#teamraiser-event-search-results').prepend('' + '
' + data.errorResponse.message + '
' + '
' + '
' + 'No nearby events found. Please try another search.' + '
' + '
2023 Tour de Cure: Nationwide (Virtual)
September 23, 2023
Register Explore
' + '
' + this.name + '
' + this.city + ', ' + this.state + ' on ' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
Register Explore
' + '
' + this.name + '
' + this.city + ', ' + this.state + ' on ' + luminateExtend.utils.simpleDateFormat(this.event_date, 'MMMM d, yyyy') + '
' + '
Explore
Within your selected state:
');if((stateval != "null")||(statefromtopnav===1)){jQADA('html, body').animate({scrollTop: jQADA('#findTourEvent').offset().top - 150}, 1000);} } }//success}