HQ:Results.js



$(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 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( "
"+awards_set[x].section+"
" + awards_set[x].team_name +"
" );

}

//append nomination to their award if (trim == 19 ) {

$("#"+award_name+"_nominations").append( "<a href='https://2018.igem.org/Team:"+awards_set[x].team_name+"'>
"+awards_set[x].section+"
" + awards_set[x].team_name + "
</a>" );

} }



//medals // to use this function send the "source page" and then send the div's id to where you want to send it

load_these_items ( "https://2017.igem.org/Dev/Awards #demo_gold", "gold_medals"); load_these_items ( "https://2017.igem.org/Dev/Awards #demo_silver", "silver_medals"); load_these_items ( "https://2017.igem.org/Dev/Awards #demo_bronze", "bronze_medals");



$(".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() + "\'>" ); });


});

//wrap medals in a hrefs function load_these_items ( source_page , destination_div ) { $("#"+destination_div ).load( source_page , function() { $( "li" ).each(function( index ) { // $(this).wrap( "<a href=\'https://2017.igem.org/Team:" + $( this ).text() + "\'>" ); }); }); }