function icon(platform){

  if(platform=="CODECHEF")          return "img/cc32.jpg";
  else if (platform=="HACKEREARTH") return "img/he32.png";
  else if (platform=="CODEFORCES")  return "img/cf32.png"; 
  else if(platform=="TOPCODER")     return "img/tc32.gif";
  else if(platform=="HACKERRANK")   return "img/hr36.png";
  else if(platform=="GOOGLE")   return "img/google32.png";
  else return "img/other32.png";
}
// corresponding to the platform of each post
corresponding to the platform of each post
corresponding to the platform of each post
function icon(platform){
  if(platform=="CODECHEF")          return "img/cc32.jpg";
  else if (platform=="HACKEREARTH") return "img/he32.png";
  else if (platform=="CODEFORCES")  return "img/cf32.png"; 
  else if(platform=="TOPCODER")     return "img/tc32.gif";
  else if(platform=="HACKERRANK")   return "img/hr36.png";
  else if(platform=="GOOGLE")   return "img/google32.png";
  else return "img/other32.png";
}
function icon ( platform ) { if ( platform == "CODECHEF" ) return "img/cc32.jpg" ; else if ( platform == "HACKEREARTH" ) return "img/he32.png" ; else if ( platform == "CODEFORCES" ) return "img/cf32.png" ; else if ( platform == "TOPCODER" ) return "img/tc32.gif" ; else if ( platform == "HACKERRANK" ) return "img/hr36.png" ; else if ( platform == "GOOGLE" ) return "img/google32.png" ; else return "img/other32.png" ; }
corresponding to the platform of each post
corresponding to the platform of each post