<div align="center"><?php     $tam_ancho = 246;

include('concha.php');
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

$sql = "SELECT * FROM publicidades_swf WHERE lugar = '1001';";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID = $row["ID"];

$swf = $row["swf"];

$ancho = $row["ancho"];

$alto = $row["alto"];

$lugar = $row["lugar"];


 
	
	$tam_alto = $alto * $tam_ancho / $ancho;
	
	
	
    
    ?>
   
   
      <object  width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>">
          <param name="src" value="http://www.radiosnet.com.ar/upload/<?php echo $swf ?>" />
          <embed src="http://www.radiosnet.com.ar/upload/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"></embed>
      </object>
      <br>

      <?
	  }
mysql_free_result($consulta);

?></div>