function Log(Message)
{
   if(IsDebugMode==true)
   {  //mode debugging from config file, show logs
      var OldMessage= $('#log').html();
      AddHtmlToContainer('log', OldMessage+'<br/>'+Message+' result:'+SystemResult);
      //AddHtmlToContainer('log', OldMessage+'<br/>ScoreWin:'+ScoreWin);
   }
}
/*
  * Add html to log container if debbug
  *
  * @param  string (html)
  *
  */
Add html to log container if debbug
@param  string (html)
Add html to log container if debbug @param string ( html )
function Log(Message)
{
   if(IsDebugMode==true)
   {  
      var OldMessage= $('#log').html();
      AddHtmlToContainer('log', OldMessage+'<br/>'+Message+' result:'+SystemResult);
   }
}
function Log ( Message ) { if ( IsDebugMode == true ) { var OldMessage = $ ( '#log' ) . html ( ) ; AddHtmlToContainer ( 'log' , OldMessage + '<br/>' + Message + ' result:' + SystemResult ) ; } }
Add html to log container if debbug
 @param  string (html)
Add html to log container if debbug @param string ( html )
//mode debugging from config file, show logs //AddHtmlToContainer('log', OldMessage+'<br/>ScoreWin:'+ScoreWin);