Overview

I used my Python version of Blackjack as a refrence for the Javascript version.

Still need to make it better OO in Javascipt.

Current code has Firebug's console.log() for debug.

/** 
 *	Class diagram 
**/

Blackjack
	function deal
    function restart
    function playerHit
    function playerStand
    function checkHand
    function coundHand
	
Deck
	object  cardsvalue
	object  cardsnames
    array   playingcardsIds
    array   playingcards
	
	function shuffel
	fucntion getCard
	
Card
	var id
	var name
	var points
    
    function getName
    function getPoints
    function getId
	
Player
	array cards
	var points

    function addCard
    function getCards
    function isBusted
    function isBlackjack