<style>
/* Scroller Box */
#scroller_container2 {
 height: 250px;
 overflow: hidden;
}
/* Scoller Box */

/* CSS Hack Safari */
#dummy {;# }

#scroller_container2 {
 overflow: auto;
}
</style>
<table width="250" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
     	 <td width="72%" align="left" class="subtitle"></td>
        <td width="28%"><a href="updatelist" >All</a> <span class="td">|</span> <a href="pastupdates" class="fnav">Past</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td style="padding-left:20px;">
	<?php
	if(count($updates)>0){
	?>
	<div id="scroller_container2" >
 		<div class="jscroller2_up jscroller2_speed-50 jscroller2_mousemove">
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" style="padding:10px 0px;">
      
	  <?php 
	  foreach($updates as $update){
	  ?>
	  <tr>
        <td class="date-txt"><?php echo date('d.m.Y',strtotime($update->startdate))?></td>
      </tr>
      <tr>
        <td class="news-txt"><a href="#" onclick="gotolink_updt('updatedetails','<?php echo $update->id;?>')"><?php echo $update->title?>.</a></td>
      </tr>
      <tr>
        <!--<td align="right" class="news-txt"><em>- by <?php //echo $update->member?></em></td>-->
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <?php
	  }
	  ?>
    </table>
	</div></div>
	<?php }else{echo "Not Available";}?>
	</td>
  </tr>
</table>
<form name="frmupdt_incl" id="frmupdt_incl" method="post">
<input type="hidden" id="update_id" name="update_id" />
</form>
<script>
function gotolink_updt(u,update_id)
{
	document.frmupdt_incl.update_id.value=update_id;
	document.frmupdt_incl.action = u;
	
	document.frmupdt_incl.submit();
}
</script>