Codice PHP:
for (var a=0a<cards.lengtha++) { 
ad occhio... c'è qualche errorino di battitura..