Line 684: | Line 684: | ||
} | } | ||
+ | if(teams_medals[x].medal_awarded == "Silver"){ | ||
+ | $("#silver_medals").append("<li>"+teams_medals[x].team_name+"</li>"); | ||
+ | } | ||
+ | |||
+ | if(teams_medals[x].medal_awarded == "Bronze"){ | ||
+ | $("#bronze_medals").append("<li>"+teams_medals[x].team_name+"</li>"); | ||
+ | } | ||
} | } | ||
Revision as of 15:12, 24 October 2018
$(document).ready(function() {
// awards set
var awards_set = [
{'award':'Best Diagnostics Project, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Diagnostics Project, Overgrad','team_name':'Munich','section':'Overgrad'},
{'award':'Best Diagnostics Project','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Diagnostics Project','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best Diagnostics Project','team_name':'Hong Kong-CUHK','section':'Undergrad'}, {'award':'Nominated for Best Diagnostics Project','team_name':'Oxford','section':'Undergrad'},
{'award':'Best Energy Project','team_name':'Macquarie Australia','section':'-'}, {'award':'Nominated for Best Energy Project','team_name':'Macquarie Australia','section':'-'}, {'award':'Nominated for Best Energy Project','team_name':'SDU-Denmark','section':'-'},
{'award':'Best Environment Project, Overgrad','team_name':'Exeter','section':'Overgrad'}, {'award':'Nominated for Best Environment Project, Overgrad','team_name':'Aachen','section':'Overgrad'}, {'award':'Nominated for Best Environment Project, Overgrad','team_name':'Exeter','section':'Overgrad'}, {'award':'Nominated for Best Environment Project, Overgrad','team_name':'Manchester','section':'Overgrad'},
{'award':'Best Environment Project','team_name':'NCKU Tainan','section':'Undergrad'}, {'award':'Nominated for Best Environment Project','team_name':'British Columbia','section':'Undergrad'}, {'award':'Nominated for Best Environment Project','team_name':'NCKU Tainan','section':'Undergrad'}, {'award':'Nominated for Best Environment Project','team_name':'Rice','section':'Undergrad'}, {'award':'Nominated for Best Environment Project','team_name':'Virginia','section':'Undergrad'}, {'award':'Nominated for Best Environment Project','team_name':'WashU StLouis','section':'Undergrad'},
{'award':'Best Food & Nutrition Project','team_name':'Glasgow','section':'-'}, {'award':'Nominated for Best Food & Nutrition Project','team_name':'CSMU NCHU Taiwan','section':'-'}, {'award':'Nominated for Best Food & Nutrition Project','team_name':'Glasgow','section':'-'}, {'award':'Nominated for Best Food & Nutrition Project','team_name':'IONIS-PARIS','section':'-'},
{'award':'Best Foundational Advance Project, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best Foundational Advance Project, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best Foundational Advance Project, Overgrad','team_name':'Cologne-Duesseldorf','section':'Overgrad'}, {'award':'Nominated for Best Foundational Advance Project, Overgrad','team_name':'TU Dresden','section':'Overgrad'},
{'award':'Best Foundational Advance Project','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Foundational Advance Project','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Foundational Advance Project','team_name':'Shanghaitech','section':'Undergrad'}, {'award':'Nominated for Best Foundational Advance Project','team_name':'SUSTech Shenzhen','section':'Undergrad'}, {'award':'Nominated for Best Foundational Advance Project','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Foundational Advance Project','team_name':'William and Mary','section':'Undergrad'},
{'award':'Best Information Processing Project','team_name':'INSA-UPS France','section':'-'}, {'award':'Nominated for Best Information Processing Project','team_name':'INSA-UPS France','section':'-'}, {'award':'Nominated for Best Information Processing Project','team_name':'Peking','section':'-'},
{'award':'Best Manufacturing Project, Overgrad','team_name':'Uppsala','section':'Overgrad'}, {'award':'Nominated for Best Manufacturing Project, Overgrad','team_name':'Uppsala','section':'Overgrad'},
{'award':'Best Manufacturing Project','team_name':'SZU-China','section':'Undergrad'}, {'award':'Nominated for Best Manufacturing Project','team_name':'Calgary','section':'Undergrad'}, {'award':'Nominated for Best Manufacturing Project','team_name':'SZU-China','section':'Undergrad'}, {'award':'Nominated for Best Manufacturing Project','team_name':'UCSC','section':'Undergrad'},
{'award':'Best New Application Project, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best New Application Project, Overgrad','team_name':'TUDelft','section':'Overgrad'},
{'award':'Best New Application Project','team_name':'KU Leuven','section':'Undergrad'}, {'award':'Nominated for Best New Application Project','team_name':'KU Leuven','section':'Undergrad'}, {'award':'Nominated for Best New Application Project','team_name':'SCUT-FSE-CHINA','section':'Undergrad'}, {'award':'Nominated for Best New Application Project','team_name':'TU-Eindhoven','section':'Undergrad'}, {'award':'Nominated for Best New Application Project','team_name':'USTC','section':'Undergrad'},
{'award':'Best Therapeutics Project, Overgrad','team_name':'Edinburgh OG','section':'Overgrad'}, {'award':'Nominated for Best Therapeutics Project, Overgrad','team_name':'Edinburgh OG','section':'Overgrad'}, {'award':'Nominated for Best Therapeutics Project, Overgrad','team_name':'ETH Zurich','section':'Overgrad'},
{'award':'Best Therapeutics Project','team_name':'Fudan','section':'Undergrad'}, {'award':'Nominated for Best Therapeutics Project','team_name':'Cardiff Wales','section':'Undergrad'}, {'award':'Nominated for Best Therapeutics Project','team_name':'Fudan','section':'Undergrad'}, {'award':'Nominated for Best Therapeutics Project','team_name':'Greece','section':'Undergrad'}, {'award':'Nominated for Best Therapeutics Project','team_name':'SDU CHINA','section':'Undergrad'},
{'award':'Best Hardware Project','team_name':'BostonU HW','section':'-'}, {'award':'Nominated for Best Hardware Project','team_name':'BostonU HW','section':'-'},
{'award':'Best Software Project','team_name':'SYSU-Software','section':'-'}, {'award':'Nominated for Best Software Project','team_name':'SYSU-Software','section':'-'}, {'award':'Best Wiki, High_school','team_name':'TAS Taipei','section':'High School'}, {'award':'Nominated for Best Wiki, High_school','team_name':'BNDS China','section':'High School'}, {'award':'Nominated for Best Wiki, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Wiki, High_school','team_name':'Judd UK','section':'High School'}, {'award':'Nominated for Best Wiki, High_school','team_name':'Shenzhen SFLS','section':'High School'}, {'award':'Nominated for Best Wiki, High_school','team_name':'TAS Taipei','section':'High School'}, {'award':'Best Wiki, Overgrad','team_name':'Wageningen UR','section':'Overgrad'}, {'award':'Nominated for Best Wiki, Overgrad','team_name':'Edinburgh OG','section':'Overgrad'}, {'award':'Nominated for Best Wiki, Overgrad','team_name':'Freiburg','section':'Overgrad'}, {'award':'Nominated for Best Wiki, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Wiki, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Wiki, Overgrad','team_name':'Wageningen UR','section':'Overgrad'}, {'award':'Best Wiki','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'CSMU NCHU Taiwan','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'Glasgow','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Wiki','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Best Presentation, High_school','team_name':'Shenzhen SFLS','section':'High School'}, {'award':'Best Presentation, High_school','team_name':'SMS Shenzhen','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'BNDS China','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'Shenzhen SFLS','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'SHSBNU China','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'SMS Shenzhen','section':'High School'}, {'award':'Nominated for Best Presentation, High_school','team_name':'TAS Taipei','section':'High School'}, {'award':'Best Presentation, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'Arizona State','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'Berlin diagnostX','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'Cologne-Duesseldorf','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Presentation, Overgrad','team_name':'Wageningen UR','section':'Overgrad'}, {'award':'Best Presentation','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Presentation','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Presentation','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Presentation','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Presentation','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Presentation','team_name':'William and Mary','section':'Undergrad'}, {'award':'Best Poster, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best Poster, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best Poster, High_school','team_name':'East Chapel Hill','section':'High School'}, {'award':'Nominated for Best Poster, High_school','team_name':'Shenzhen SFLS','section':'High School'}, {'award':'Nominated for Best Poster, High_school','team_name':'SMS Shenzhen','section':'High School'}, {'award':'Nominated for Best Poster, High_school','team_name':'TAS Taipei','section':'High School'}, {'award':'Best Poster, Overgrad','team_name':'ETH Zurich','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'ETH Zurich','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'Newcastle','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'Sydney Australia','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Poster, Overgrad','team_name':'TU Dresden','section':'Overgrad'}, {'award':'Best Poster','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Best Poster','team_name':'Kent','section':'Undergrad'}, {'award':'Nominated for Best Poster','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Poster','team_name':'Kent','section':'Undergrad'}, {'award':'Nominated for Best Poster','team_name':'Valencia UPV','section':'Undergrad'}, {'award':'Nominated for Best Poster','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Poster','team_name':'William and Mary','section':'Undergrad'}, {'award':'Best Integrated Human Practices, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Integrated Human Practices, High_school','team_name':'BNDS China','section':'High School'}, {'award':'Nominated for Best Integrated Human Practices, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Integrated Human Practices, High_school','team_name':'Mingdao','section':'High School'}, {'award':'Nominated for Best Integrated Human Practices, High_school','team_name':'SMS Shenzhen','section':'High School'}, {'award':'Nominated for Best Integrated Human Practices, High_school','team_name':'TAS Taipei','section':'High School'},
{'award':'Best Integrated Human Practices, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'Berlin diagnostX','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'Georgia State','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'Lethbridge','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Integrated Human Practices, Overgrad','team_name':'Wageningen UR','section':'Overgrad'},
{'award':'Best Integrated Human Practices','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Integrated Human Practices','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best Integrated Human Practices','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Integrated Human Practices','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Integrated Human Practices','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Integrated Human Practices','team_name':'Utrecht','section':'Undergrad'},
{'award':'Best Education & Public Engagement, High_school','team_name':'Judd UK','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'BNDS China','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'Judd UK','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'Mingdao','section':'High School'}, {'award':'Nominated for Best Education & Public Engagement, High_school','team_name':'SMS Shenzhen','section':'High School'},
{'award':'Best Education & Public Engagement, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'Berlin diagnostX','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'IONIS-PARIS','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'Lethbridge','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'Newcastle','section':'Overgrad'}, {'award':'Nominated for Best Education & Public Engagement, Overgrad','team_name':'TUDelft','section':'Overgrad'},
{'award':'Best Education & Public Engagement','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best Education & Public Engagement','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best Education & Public Engagement','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Education & Public Engagement','team_name':'Shanghaitech','section':'Undergrad'}, {'award':'Nominated for Best Education & Public Engagement','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Education & Public Engagement','team_name':'William and Mary','section':'Undergrad'},
{'award':'Best Model, High_school','team_name':'Judd UK','section':'High School'}, {'award':'Nominated for Best Model, High_school','team_name':'BNDS China','section':'High School'}, {'award':'Nominated for Best Model, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Model, High_school','team_name':'Judd UK','section':'High School'}, {'award':'Nominated for Best Model, High_school','team_name':'SHSBNU China','section':'High School'},
{'award':'Best Model, Overgrad','team_name':'ETH Zurich','section':'Overgrad'}, {'award':'Best Model, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'Cologne-Duesseldorf','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'ETH Zurich','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'Lund','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Model, Overgrad','team_name':'Wageningen UR','section':'Overgrad'},
{'award':'Best Model','team_name':'William and Mary','section':'Undergrad'}, {'award':'Nominated for Best Model','team_name':'British Columbia','section':'Undergrad'}, {'award':'Nominated for Best Model','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Model','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Model','team_name':'SYSU-Software','section':'Undergrad'}, {'award':'Nominated for Best Model','team_name':'William and Mary','section':'Undergrad'},
{'award':'Best Measurement, High_school','team_name':'East Chapel Hill','section':'High School'}, {'award':'Nominated for Best Measurement, High_school','team_name':'East Chapel Hill','section':'High School'},
{'award':'Best Measurement, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Measurement, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Measurement, Overgrad','team_name':'Newcastle','section':'Overgrad'}, {'award':'Nominated for Best Measurement, Overgrad','team_name':'TUDelft','section':'Overgrad'},
{'award':'Best Measurement','team_name':'William and Mary','section':'Undergrad'}, {'award':'Nominated for Best Measurement','team_name':'Edinburgh UG','section':'Undergrad'}, {'award':'Nominated for Best Measurement','team_name':'Glasgow','section':'Undergrad'}, {'award':'Nominated for Best Measurement','team_name':'William and Mary','section':'Undergrad'},
{'award':'Best Entrepreneurship, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Entrepreneurship, Overgrad','team_name':'Macquarie Australia','section':'Overgrad'}, {'award':'Nominated for Best Entrepreneurship, Overgrad','team_name':'Stockholm','section':'Overgrad'}, {'award':'Nominated for Best Entrepreneurship, Overgrad','team_name':'TUDelft','section':'Overgrad'},
{'award':'Best Entrepreneurship','team_name':'Cornell','section':'Undergrad'}, {'award':'Nominated for Best Entrepreneurship','team_name':'CCU Taiwan','section':'Undergrad'}, {'award':'Nominated for Best Entrepreneurship','team_name':'Cornell','section':'Undergrad'}, {'award':'Nominated for Best Entrepreneurship','team_name':'CSMU NCHU Taiwan','section':'Undergrad'}, {'award':'Nominated for Best Entrepreneurship','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Entrepreneurship','team_name':'SECA NZ','section':'Undergrad'},
{'award':'Best Applied Design, High_school','team_name':'Mingdao','section':'High School'}, {'award':'Nominated for Best Applied Design, High_school','team_name':'Mingdao','section':'High School'},
{'award':'Best Applied Design, Overgrad','team_name':'Exeter','section':'Overgrad'}, {'award':'Best Applied Design, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Applied Design, Overgrad','team_name':'Aalto-Helsinki','section':'Overgrad'}, {'award':'Nominated for Best Applied Design, Overgrad','team_name':'Exeter','section':'Overgrad'}, {'award':'Nominated for Best Applied Design, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Applied Design, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Applied Design, Overgrad','team_name':'Wageningen UR','section':'Overgrad'},
{'award':'Best Applied Design','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Applied Design','team_name':'Glasgow','section':'Undergrad'}, {'award':'Nominated for Best Applied Design','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best Applied Design','team_name':'Oxford','section':'Undergrad'}, {'award':'Nominated for Best Applied Design','team_name':'SYSU-Software','section':'Undergrad'}, {'award':'Nominated for Best Applied Design','team_name':'Valencia UPV','section':'Undergrad'},
{'award':'Best Software Tool, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best Software Tool, High_school','team_name':'CLSB-UK','section':'High School'},
{'award':'Best Software Tool, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Software Tool, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best Software Tool, Overgrad','team_name':'Lethbridge','section':'Overgrad'}, {'award':'Nominated for Best Software Tool, Overgrad','team_name':'Munich','section':'Overgrad'},
{'award':'Best Software Tool','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Software Tool','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best Software Tool','team_name':'Fudan','section':'Undergrad'}, {'award':'Nominated for Best Software Tool','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Software Tool','team_name':'Valencia UPV','section':'Undergrad'}, {'award':'Best Hardware, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Best Hardware, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Hardware, Overgrad','team_name':'Aachen','section':'Overgrad'}, {'award':'Nominated for Best Hardware, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best Hardware, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Hardware, Overgrad','team_name':'Wageningen UR','section':'Overgrad'}, {'award':'Best Hardware','team_name':'Shanghaitech','section':'Undergrad'}, {'award':'Nominated for Best Hardware','team_name':'IISc-Bangalore','section':'Undergrad'}, {'award':'Nominated for Best Hardware','team_name':'Shanghaitech','section':'Undergrad'}, {'award':'Nominated for Best Hardware','team_name':'SUSTech Shenzhen','section':'Undergrad'}, {'award':'Nominated for Best Hardware','team_name':'UMaryland','section':'Undergrad'}, {'award':'Nominated for Best Hardware','team_name':'WashU StLouis','section':'Undergrad'}, {'award':'Best Plant Synthetic Biology','team_name':'UESTC-China','section':'Undergrad'}, {'award':'Nominated for Best Plant Synthetic Biology','team_name':'UESTC-China','section':'Undergrad'}, {'award':'Best New Basic Part, High_school','team_name':'Mingdao','section':'High School'}, {'award':'Best New Basic Part, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best New Basic Part, Overgrad','team_name':'Arizona State','section':'Overgrad'}, {'award':'Nominated for Best New Basic Part, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best New Basic Part, Overgrad','team_name':'ETH Zurich','section':'Overgrad'}, {'award':'Nominated for Best New Basic Part, Overgrad','team_name':'Freiburg','section':'Overgrad'}, {'award':'Nominated for Best New Basic Part, Overgrad','team_name':'TU Dresden','section':'Overgrad'}, {'award':'Best New Basic Part','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'EPFL','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'HZAU-China','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'INSA-UPS France','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'OUC-China','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'SUSTech Shenzhen','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best New Basic Part','team_name':'Virginia','section':'Undergrad'}, {'award':'Best New Composite Part, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best New Composite Part, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best New Composite Part, High_school','team_name':'CLSB-UK','section':'High School'}, {'award':'Nominated for Best New Composite Part, High_school','team_name':'Mingdao','section':'High School'}, {'award':'Nominated for Best New Composite Part, High_school','team_name':'Worldshaper-XSHS','section':'High School'}, {'award':'Best New Composite Part, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best New Composite Part, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best New Composite Part, Overgrad','team_name':'IONIS-PARIS','section':'Overgrad'}, {'award':'Nominated for Best New Composite Part, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best New Composite Part, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best New Composite Part, Overgrad','team_name':'Wageningen UR','section':'Overgrad'}, {'award':'Best New Composite Part','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best New Composite Part','team_name':'Fudan','section':'Undergrad'}, {'award':'Nominated for Best New Composite Part','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best New Composite Part','team_name':'Shanghaitech','section':'Undergrad'}, {'award':'Nominated for Best New Composite Part','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best New Composite Part','team_name':'William and Mary','section':'Undergrad'},
{'award':'Best Part Collection, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best Part Collection, High_school','team_name':'CCA San Diego','section':'High School'}, {'award':'Nominated for Best Part Collection, High_school','team_name':'SHSBNU China','section':'High School'}, {'award':'Nominated for Best Part Collection, High_school','team_name':'TAS Taipei','section':'High School'},
{'award':'Best Part Collection, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Part Collection, Overgrad','team_name':'Bielefeld-CeBiTec','section':'Overgrad'}, {'award':'Nominated for Best Part Collection, Overgrad','team_name':'Munich','section':'Overgrad'}, {'award':'Nominated for Best Part Collection, Overgrad','team_name':'Newcastle','section':'Overgrad'}, {'award':'Nominated for Best Part Collection, Overgrad','team_name':'TUDelft','section':'Overgrad'}, {'award':'Nominated for Best Part Collection, Overgrad','team_name':'TU Dresden','section':'Overgrad'},
{'award':'Best Part Collection','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Part Collection','team_name':'Fudan','section':'Undergrad'}, {'award':'Nominated for Best Part Collection','team_name':'Glasgow','section':'Undergrad'}, {'award':'Nominated for Best Part Collection','team_name':'Heidelberg','section':'Undergrad'}, {'award':'Nominated for Best Part Collection','team_name':'Vilnius-Lithuania','section':'Undergrad'}, {'award':'Nominated for Best Part Collection','team_name':'William and Mary','section':'Undergrad'}
];
var teams_medals = [ {'team_name':'Aachen','medal_awarded':'Gold'}, {'team_name':'AFCM-Egypt','medal_awarded':'Gold'}, {'team_name':'Aix-Marseille','medal_awarded':'Gold'}, {'team_name':'AQA Unesp','medal_awarded':'Gold'}, {'team_name':'Arizona State','medal_awarded':'Gold'}, {'team_name':'Austin UTexas','medal_awarded':'Gold'}, {'team_name':'Berlin diagnostX','medal_awarded':'Gold'}, {'team_name':'Bielefeld-CeBiTec','medal_awarded':'Gold'}, {'team_name':'BIT','medal_awarded':'Gold'}, {'team_name':'BNDS China','medal_awarded':'Gold'}, {'team_name':'BostonU HW','medal_awarded':'Gold'}, {'team_name':'Calgary','medal_awarded':'Gold'}, {'team_name':'CLSB-UK','medal_awarded':'Gold'}, {'team_name':'Cornell','medal_awarded':'Gold'}, {'team_name':'CPU CHINA','medal_awarded':'Gold'}, {'team_name':'CSMU NCHU Taiwan','medal_awarded':'Gold'}, {'team_name':'ECUST','medal_awarded':'Gold'}, {'team_name':'Edinburgh OG','medal_awarded':'Gold'}, {'team_name':'Edinburgh UG','medal_awarded':'Gold'}, {'team_name':'EPFL','medal_awarded':'Gold'}, {'team_name':'ETH Zurich','medal_awarded':'Gold'}, {'team_name':'Evry Paris-Saclay','medal_awarded':'Gold'}, {'team_name':'Exeter','medal_awarded':'Gold'}, {'team_name':'Freiburg','medal_awarded':'Gold'}, {'team_name':'Fudan','medal_awarded':'Gold'}, {'team_name':'Greece','medal_awarded':'Gold'}, {'team_name':'Grenoble-Alpes','medal_awarded':'Gold'}, {'team_name':'Groningen','medal_awarded':'Gold'}, {'team_name':'GZHS-United','medal_awarded':'Gold'}, {'team_name':'Heidelberg','medal_awarded':'Gold'}, {'team_name':'HFUT-China','medal_awarded':'Gold'}, {'team_name':'Hong Kong-CUHK','medal_awarded':'Gold'}, {'team_name':'Hong Kong HKUST','medal_awarded':'Gold'}, {'team_name':'HUST-China','medal_awarded':'Gold'}, {'team_name':'HZAU-China','medal_awarded':'Gold'}, {'team_name':'IISc-Bangalore','medal_awarded':'Gold'}, {'team_name':'INSA-UPS France','medal_awarded':'Gold'}, {'team_name':'IONIS-PARIS','medal_awarded':'Gold'}, {'team_name':'Lethbridge','medal_awarded':'Gold'}, {'team_name':'Macquarie Australia','medal_awarded':'Gold'}, {'team_name':'Manchester','medal_awarded':'Gold'}, {'team_name':'Michigan Software','medal_awarded':'Gold'}, {'team_name':'Mingdao','medal_awarded':'Gold'}, {'team_name':'Munich','medal_awarded':'Gold'}, {'team_name':'NAU-CHINA','medal_awarded':'Gold'}, {'team_name':'NCKU Tainan','medal_awarded':'Gold'}, {'team_name':'NCTU Formosa','medal_awarded':'Gold'}, {'team_name':'NEFU China','medal_awarded':'Gold'}, {'team_name':'Newcastle','medal_awarded':'Gold'}, {'team_name':'NKU China','medal_awarded':'Gold'}, {'team_name':'NTNU Trondheim','medal_awarded':'Gold'}, {'team_name':'NTU SINGAPORE','medal_awarded':'Gold'}, {'team_name':'NUDT CHINA','medal_awarded':'Gold'}, {'team_name':'NUS Singapore','medal_awarded':'Gold'}, {'team_name':'NU Kazakhstan','medal_awarded':'Gold'}, {'team_name':'NYMU-Taipei','medal_awarded':'Gold'}, {'team_name':'NYU Abu Dhabi','medal_awarded':'Gold'}, {'team_name':'OUC-China','medal_awarded':'Gold'}, {'team_name':'Oxford','medal_awarded':'Gold'}, {'team_name':'Paris Bettencourt','medal_awarded':'Gold'}, {'team_name':'Peking','medal_awarded':'Gold'}, {'team_name':'Queens Canada','medal_awarded':'Gold'}, {'team_name':'Rice','medal_awarded':'Gold'}, {'team_name':'SCU-WestChina','medal_awarded':'Gold'}, {'team_name':'SCUT-China A','medal_awarded':'Gold'}, {'team_name':'SCUT-FSE-CHINA','medal_awarded':'Gold'}, {'team_name':'SCU China','medal_awarded':'Gold'}, {'team_name':'SDU-Denmark','medal_awarded':'Gold'}, {'team_name':'Shanghaitech','medal_awarded':'Gold'}, {'team_name':'Sheffield','medal_awarded':'Gold'}, {'team_name':'SHSBNU China','medal_awarded':'Gold'}, {'team_name':'SJTU-BioX-Shanghai','medal_awarded':'Gold'}, {'team_name':'SMS Shenzhen','medal_awarded':'Gold'}, {'team_name':'SSTi-SZGD','medal_awarded':'Gold'}, {'team_name':'Stockholm','medal_awarded':'Gold'}, {'team_name':'SUSTech Shenzhen','medal_awarded':'Gold'}, {'team_name':'Sydney Australia','medal_awarded':'Gold'}, {'team_name':'SYSU-Software','medal_awarded':'Gold'}, {'team_name':'SZU-China','medal_awarded':'Gold'}, {'team_name':'TAS Taipei','medal_awarded':'Gold'}, {'team_name':'Tec-Chihuahua','medal_awarded':'Gold'}, {'team_name':'TecCEM','medal_awarded':'Gold'}, {'team_name':'TECHNION-ISRAEL','medal_awarded':'Gold'}, {'team_name':'TokyoTech','medal_awarded':'Gold'}, {'team_name':'Tsinghua','medal_awarded':'Gold'}, {'team_name':'TU-Eindhoven','medal_awarded':'Gold'}, {'team_name':'TUDelft','medal_awarded':'Gold'}, {'team_name':'TUST China','medal_awarded':'Gold'}, {'team_name':'TU Dresden','medal_awarded':'Gold'}, {'team_name':'UAlberta','medal_awarded':'Gold'}, {'team_name':'UCAS','medal_awarded':'Gold'}, {'team_name':'UCL','medal_awarded':'Gold'}, {'team_name':'UESTC-China','medal_awarded':'Gold'}, {'team_name':'UNebraska-Lincoln','medal_awarded':'Gold'}, {'team_name':'Uppsala','medal_awarded':'Gold'}, {'team_name':'USP-Brazil','medal_awarded':'Gold'}, {'team_name':'USTC-Software','medal_awarded':'Gold'}, {'team_name':'US AFRL CarrollHS','medal_awarded':'Gold'}, {'team_name':'Utrecht','medal_awarded':'Gold'}, {'team_name':'Valencia UPV','medal_awarded':'Gold'}, {'team_name':'Vilnius-Lithuania','medal_awarded':'Gold'}, {'team_name':'Virginia','medal_awarded':'Gold'}, {'team_name':'Wageningen UR','medal_awarded':'Gold'}, {'team_name':'WashU StLouis','medal_awarded':'Gold'}, {'team_name':'William and Mary','medal_awarded':'Gold'}, {'team_name':'Worldshaper-XSHS','medal_awarded':'Gold'}, {'team_name':'XJTLU-CHINA','medal_awarded':'Gold'}, {'team_name':'XMU-China','medal_awarded':'Gold'}, {'team_name':'ZJU-China','medal_awarded':'Gold'}, {'team_name':'Aalto-Helsinki','medal_awarded':'Silver'}, {'team_name':'Amazonas Brazil','medal_awarded':'Silver'}, {'team_name':'AshesiGhana','medal_awarded':'Silver'}, {'team_name':'BGIC-Union','medal_awarded':'Silver'}, {'team_name':'BIT-China','medal_awarded':'Silver'}, {'team_name':'BOKU-Vienna','medal_awarded':'Silver'}, {'team_name':'BostonU','medal_awarded':'Silver'}, {'team_name':'British Columbia','medal_awarded':'Silver'}, {'team_name':'Bulgaria','medal_awarded':'Silver'}, {'team_name':'CCU Taiwan','medal_awarded':'Silver'}, {'team_name':'Chalmers-Gothenburg','medal_awarded':'Silver'}, {'team_name':'ColumbiaNYC','medal_awarded':'Silver'}, {'team_name':'CU-Boulder','medal_awarded':'Silver'}, {'team_name':'DTU-Denmark','medal_awarded':'Silver'}, {'team_name':'Franconia','medal_awarded':'Silver'}, {'team_name':'Fudan China','medal_awarded':'Silver'}, {'team_name':'Georgia State','medal_awarded':'Silver'}, {'team_name':'Glasgow','medal_awarded':'Silver'}, {'team_name':'Hamburg','medal_awarded':'Silver'}, {'team_name':'HBUT-China','medal_awarded':'Silver'}, {'team_name':'HFLS H2Z Hangzhou','medal_awarded':'Silver'}, {'team_name':'IISER-Pune-India','medal_awarded':'Silver'}, {'team_name':'IIT-Madras','medal_awarded':'Silver'}, {'team_name':'Jilin China','medal_awarded':'Silver'}, {'team_name':'Judd UK','medal_awarded':'Silver'}, {'team_name':'Kobe','medal_awarded':'Silver'}, {'team_name':'Kyoto','medal_awarded':'Silver'}, {'team_name':'Lethbridge HS','medal_awarded':'Silver'}, {'team_name':'Linkoping Sweden','medal_awarded':'Silver'}, {'team_name':'Missouri Rolla','medal_awarded':'Silver'}, {'team_name':'MSU-Michigan','medal_awarded':'Silver'}, {'team_name':'NAWI Graz','medal_awarded':'Silver'}, {'team_name':'NJU-China','medal_awarded':'Silver'}, {'team_name':'Northwestern','medal_awarded':'Silver'}, {'team_name':'NTHU Taiwan','medal_awarded':'Silver'}, {'team_name':'Peshawar','medal_awarded':'Silver'}, {'team_name':'Pittsburgh','medal_awarded':'Silver'}, {'team_name':'Purdue','medal_awarded':'Silver'}, {'team_name':'SDSZ-China','medal_awarded':'Silver'}, {'team_name':'SVCE CHENNAI','medal_awarded':'Silver'}, {'team_name':'Tartu_TUIT','medal_awarded':'Silver'}, {'team_name':'Tianjin','medal_awarded':'Silver'}, {'team_name':'TMMU-China','medal_awarded':'Silver'}, {'team_name':'Tongji China','medal_awarded':'Silver'}, {'team_name':'Tsinghua-A','medal_awarded':'Silver'}, {'team_name':'TU Darmstadt','medal_awarded':'Silver'}, {'team_name':'UCC Ireland','medal_awarded':'Silver'}, {'team_name':'UNIFI','medal_awarded':'Silver'}, {'team_name':'uOttawa','medal_awarded':'Silver'}, {'team_name':'USTC','medal_awarded':'Silver'}, {'team_name':'Washington','medal_awarded':'Silver'}, {'team_name':'WHU-China','medal_awarded':'Silver'}, {'team_name':'Amsterdam','medal_awarded':'Bronze'}, {'team_name':'ASIJ TOKYO','medal_awarded':'Bronze'}, {'team_name':'Austin UTexas LASA','medal_awarded':'Bronze'}, {'team_name':'ASTWS-China','medal_awarded':'Bronze'}, {'team_name':'Baltimore Bio-Crew','medal_awarded':'Bronze'}, {'team_name':'Bilkent-UNAMBG','medal_awarded':'Bronze'}, {'team_name':'BNU-China','medal_awarded':'Bronze'}, {'team_name':'Bordeaux','medal_awarded':'Bronze'}, {'team_name':'Botchan Lab Tokyo','medal_awarded':'Bronze'}, {'team_name':'Bristol','medal_awarded':'Bronze'}, {'team_name':'Cadets2Vets','medal_awarded':'Bronze'}, {'team_name':'CGU Taiwan','medal_awarded':'Bronze'}, {'team_name':'CMUQ','medal_awarded':'Bronze'}, {'team_name':'CSU_Fort_Collins','medal_awarded':'Bronze'}, {'team_name':'Cologne-Duesseldorf','medal_awarded':'Bronze'}, {'team_name':'Dalhousie','medal_awarded':'Bronze'}, {'team_name':'DEIAGRA','medal_awarded':'Bronze'}, {'team_name':'Emory','medal_awarded':'Bronze'}, {'team_name':'EpiphanyNYC','medal_awarded':'Bronze'}, {'team_name':'FAFU-CHINA','medal_awarded':'Bronze'}, {'team_name':'Florida Atlantic','medal_awarded':'Bronze'}, {'team_name':'FSU','medal_awarded':'Bronze'}, {'team_name':'Gifu','medal_awarded':'Bronze'}, {'team_name':'Harvard','medal_awarded':'Bronze'}, {'team_name':'HK SKHLPSS','medal_awarded':'Bronze'}, {'team_name':'HokkaidoU Japan','medal_awarded':'Bronze'}, {'team_name':'Hong Kong HKU','medal_awarded':'Bronze'}, {'team_name':'ICT-Mumbai','medal_awarded':'Bronze'}, {'team_name':'IISER-Mohali-INDIA','medal_awarded':'Bronze'}, {'team_name':'IIT Delhi','medal_awarded':'Bronze'}, {'team_name':'ITB Indonesia','medal_awarded':'Bronze'}, {'team_name':'iTesla-SoundBio','medal_awarded':'Bronze'}, {'team_name':'JNFLS','medal_awarded':'Bronze'}, {'team_name':'KAIT JAPAN','medal_awarded':'Bronze'}, {'team_name':'Kent','medal_awarded':'Bronze'}, {'team_name':'Kingsborough NY','medal_awarded':'Bronze'}, {'team_name':'KUAS Korea','medal_awarded':'Bronze'}, {'team_name':'KU Leuven','medal_awarded':'Bronze'}, {'team_name':'Lambert GA','medal_awarded':'Bronze'}, {'team_name':'Lanzhou','medal_awarded':'Bronze'}, {'team_name':'LUBBOCK TTU','medal_awarded':'Bronze'}, {'team_name':'Lund','medal_awarded':'Bronze'}, {'team_name':'ManhattanCol Bronx','medal_awarded':'Bronze'}, {'team_name':'McMasterU','medal_awarded':'Bronze'}, {'team_name':'McMaster II','medal_awarded':'Bronze'}, {'team_name':'Michigan','medal_awarded':'Bronze'}, {'team_name':'MIT','medal_awarded':'Bronze'}, {'team_name':'Nagahama','medal_awarded':'Bronze'}, {'team_name':'NEU-China','medal_awarded':'Bronze'}, {'team_name':'NortheasternU-Boston','medal_awarded':'Bronze'}, {'team_name':'NPU-China','medal_awarded':'Bronze'}, {'team_name':'NWU-CHINA','medal_awarded':'Bronze'}, {'team_name':'NYU Shanghai','medal_awarded':'Bronze'}, {'team_name':'Pasteur Paris','medal_awarded':'Bronze'}, {'team_name':'RDFZ-China','medal_awarded':'Bronze'}, {'team_name':'REC-CHENNAI','medal_awarded':'Bronze'}, {'team_name':'RPI Troy NY','medal_awarded':'Bronze'}, {'team_name':'SDU CHINA','medal_awarded':'Bronze'}, {'team_name':'Shenzhen SFLS','medal_awarded':'Bronze'}, {'team_name':'SiCAU-China','medal_awarded':'Bronze'}, {'team_name':'SJTU-Software','medal_awarded':'Bronze'}, {'team_name':'Stanford-Brown','medal_awarded':'Bronze'}, {'team_name':'Stony Brook','medal_awarded':'Bronze'}, {'team_name':'Stuttgart','medal_awarded':'Bronze'}, {'team_name':'SIAT-SCIE','medal_awarded':'Bronze'}, {'team_name':'SUIS Alpha Shanghai','medal_awarded':'Bronze'}, {'team_name':'TecMonterrey GDA','medal_awarded':'Bronze'}, {'team_name':'Tel-Hai','medal_awarded':'Bronze'}, {'team_name':'Toronto','medal_awarded':'Bronze'}, {'team_name':'Tuebingen','medal_awarded':'Bronze'}, {'team_name':'UChicago','medal_awarded':'Bronze'}, {'team_name':'UCLouvain','medal_awarded':'Bronze'}, {'team_name':'UConn','medal_awarded':'Bronze'}, {'team_name':'UCopenhagen','medal_awarded':'Bronze'}, {'team_name':'UCSC','medal_awarded':'Bronze'}, {'team_name':'UC San Diego','medal_awarded':'Bronze'}, {'team_name':'UGA-Georgia','medal_awarded':'Bronze'}, {'team_name':'UiOslo Norway','medal_awarded':'Bronze'}, {'team_name':'UIOWA','medal_awarded':'Bronze'}, {'team_name':'UMaryland','medal_awarded':'Bronze'}, {'team_name':'UNBC-Canada','medal_awarded':'Bronze'}, {'team_name':'UNOTT','medal_awarded':'Bronze'}, {'team_name':'UPMC_PARIS','medal_awarded':'Bronze'}, {'team_name':'UrbanTundra Edmonton','medal_awarded':'Bronze'}, {'team_name':'USMA-West Point','medal_awarded':'Bronze'}, {'team_name':'UST Beijing','medal_awarded':'Bronze'}, {'team_name':'Warwick','medal_awarded':'Bronze'}, {'team_name':'WLC-Milwaukee','medal_awarded':'Bronze'}, {'team_name':'Worldshaper-Wuhan','medal_awarded':'Bronze'}, {'team_name':'Worldshaper-Nanjing','medal_awarded':'Bronze'}, {'team_name':'WPI Worcester','medal_awarded':'Bronze'}, {'team_name':'York','medal_awarded':'Bronze'}, {'team_name':'ZJUT-China','medal_awarded':'Bronze'} ];
var award_name; var trim;
////////////////////////////////////////////////////////////////////
//sort awards
for( x=0; x< awards_set.length; x++) {
//reset variables award_name=""; trim = 0;
// is this a nomination or a winner? if ( (awards_set[x].award).substring(0,9) == "Nominated" ) { trim = 19; } else if ( (awards_set[x].award).substring(0,4) == "Best" ) { trim = 5; }
//remove from the beginning of the string ( "Best or Nominated for Best" ) award_name = (awards_set[x].award).substring( trim, (awards_set[x].award).length );
//check if the award is a track if ( award_name.indexOf('Project') > -1) { //its a track, trim at the first empty space award_name = award_name.substring( 0 , award_name.indexOf(' ') ) +"_TA"; } else if ( award_name.indexOf('Basic') > -1 ) { award_name = "Basic_SA"; } else if ( award_name.indexOf('Composite') > -1 ) { award_name = "Composite_SA"; } else if ( award_name.indexOf('Collection') > -1 ) { award_name = "Collection_SA"; }
else if (awards_set[x].section == "High School" || awards_set[x].section == "Overgrad") { //trim to the first comma if the team is overgrad or high school to standardize award_name = award_name.substring( 0 , award_name.indexOf(',') ) +"_SA"; } else { award_name = award_name+"_SA"; }
//if its more than one word if ( award_name.indexOf(' ') >= 0 ) { award_name = award_name.substring( 0 , award_name.indexOf(' ') )+"_SA"; }
//after the award_name has been trimmed to append - //append winner to their section if (trim == 5 ) {
$("#"+award_name).append( "}
//append nomination to their award if (trim == 19 ) {
$("#"+award_name+"_nominations").append( "<a href='https://2018.igem.org/Team:"+awards_set[x].team_name+"'>} }
//MEDALS
///////////////////////////////////////////////////////////////
for( x=0; x< teams_medals.length; x++) {
if(teams_medals[x].medal_awarded == "Gold"){
$("#gold_medals").append("}
if(teams_medals[x].medal_awarded == "Silver"){
$("#silver_medals").append("}
if(teams_medals[x].medal_awarded == "Bronze"){
$("#bronze_medals").append("} }
//FUNCTIONALITY OF THE TOOGLE /////////////////////////////////////////////////////////////
$(".display_nominees").click(function(){
$(this).toggleClass("showing");
$(this).next().fadeToggle(400);
});
$(".display_all_nominees").click(function(){
$(".display_all_nominees").toggleClass("showing");
$(".display_nominees").toggleClass("showing");
$(".display_nominees").next().fadeToggle(400);
});
$( ".award_winner" ).each(function( index ) { // $(this).wrap( "<a href=\'https://2017.igem.org/Team:" + $( this ).text() + "\'>" ); });
});