Código PHP:
<div id="featured" >
<ul class="ui-tabs-nav">
<?php
$SQL=SqlNoticia();
$SQL .=" and DestacHome=1";
$SQL .=" group by CodNotic,TitNotic,ResumnNotic,FecNotic order by FecNotic Desc Limit 5";
$SQL=SQLSeguro($SQL);
$Datos = mysql_query($SQL);
if ($Datos) {
$num=mysql_num_rows($Datos);
$i=0;
while ($i < $num) {
include("datosnoticia.php");
$Altura=70;//$Altura=140; OJO PARA subir y bajar las flechas
?>
<li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1"><img src="<?php echo $RutaFotos?>/1.jpg" alt="" width="80" height="50" /><span><?php echo $TitNotic?></span></a></li>
<?php
++$i;
} //do while
}//if Datos
?>
</ul>
<?php
$SQL=SqlNoticia();
$SQL .=" and DestacHome=1";
$SQL .=" group by CodNotic,TitNotic,ResumnNotic,FecNotic order by FecNotic Desc Limit 5";
$SQL=SQLSeguro($SQL);
$Datos = mysql_query($SQL);
if ($Datos) {
$num=mysql_num_rows($Datos);
$i=0;
while ($i < $num) {
include("datosnoticia.php");
$Altura=70;
?>
<!-- First Content -->
<div id="fragment-1" class="ui-tabs-panel" style="">
<img src="<?php echo $RutaFotos?>/1.jpg" alt="" width="400" height="250" />
<div class="info" >
<h2><a target="_parent" title="<?php echo $TitNotic?>" href="detnotic.php?CodNotic=<?php echo $CodNotic ?>"><?php echo $TitNotic?></a></h2>
<p><?php echo $ResumnNotic?></p>
</div>
</div>
<?php
++$i;
} //do while
}//if Datos
?>
</div>
<li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1">
<div id="fragment-1" class="ui-tabs-panel" style="">
desde ya gracias por sus respuestas.