function Log(msg){
    try{
      if(window.console.log)
          window.console.log(msg);
    } catch(e){}       
}
