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

if ($hostdom == NULL) {$hostdom = "http://www.radiosnet.com.ar";} else {};

if ($rutadom == NULL) {$rutadom = "/home/content/90/7626090/html";} else {};


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

$sql = "SELECT * FROM publicidades_swf WHERE ID = '$ID_publicidad';";

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

$swf = $row["swf"];

$ancho = $row["ancho"];

$alto = $row["alto"];

$lugar1 = $row["lugar"];

$carpetafoto = $row["carpetafoto"];



 
	
	$tam_alto = $alto * $tam_ancho / $ancho;
	
	
	
    
    ?>
   
   
      <object  width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>">
          <param name="src" value="<?php echo $dom ?>/<?php echo $carpetafoto ?>/<?php echo $swf ?>" />
          <embed src="<?php echo $dom ?>/<? echo $carpetafoto ?>/<?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>