
function createFlashcode(sourse, flashVars, version, width, hight, flash_id){
  
  var tag = new FlashTag(sourse, width, hight); // last two arguments are height and width
  tag.setId(flash_id);
  if(version && version != null){
    tag.setVersion(version);  
  }
  if(flashVars && flashVars != null){
    tag.setFlashvars(flashVars);
  }
  //alert(tag);
  tag.write(document);  
  /*if (version == null) {
    tag.write(document);  
  } else {
    tag.write_div(version);  
  }*/
  return;
}



function fuckMe(w, h, id) {
  
  if (id) {
    //alert(w + '  ' + h + ' ' + id);
    $('#'+id).attr('width', w);
    $('#'+id).attr('height', h);
    
    $('#'+id).attr('width', w);
    $('#'+id).attr('height', h);
  }
}





