function tab() 
{
$("#det").load("home.php?id=1");
$("#ma_liste-1").attr({src : "images/tabs2_06.gif"});
}
function tab_1() 
{
$("#det").load("home.php?id=1");
$("#ma_liste-1").attr({src : "images/tabs2_06.gif"});
$("#ma_liste-2").attr({src : "images/tabs_05.gif"});
$("#ma_liste-3").attr({src : "images/tabs_03.gif"});
}
function tab_2() 
{
$("#det").load("home.php?id=2");
$("#ma_liste-2").attr({src : "images/tabs2_05.gif"});
$("#ma_liste-1").attr({src : "images/tabs_06.gif"});
$("#ma_liste-3").attr({src : "images/tabs_03.gif"});
}
function tab_3() 
{
$("#det").load("home.php?id=3");
$("#ma_liste-3").attr({src : "images/tabs2_03.gif"});
$("#ma_liste-2").attr({src : "images/tabs_05.gif"});
$("#ma_liste-1").attr({src : "images/tabs_06.gif"});
}


<!--

function updateClock ( )
{
  var currentTime = new Date ( );

  var currentHours = currentTime.getHours ( );
  var currentMinutes = currentTime.getMinutes ( );
  var currentSeconds = currentTime.getSeconds ( );
  var weekday=new Array(7);
		weekday[0]="الأحد";
		weekday[1]="الأثنين";
		weekday[2]="الثلاثاء";
		weekday[3]="الأربعاء";
		weekday[4]="الخميس";
		weekday[5]="الجمعة";
		weekday[6]="السبت";

  var currentDay = weekday[currentTime.getDay( )];
  var currentDateday = currentTime.getDate ( );
  var month=new Array(12);
month[0]="يناير";
month[1]="فبراير";
month[2]="مارس";
month[3]="أبريل";
month[4]="مايو";
month[5]="يونيه";
month[6]="يوليو";
month[7]="أغسطس";
month[8]="سبتمبر";
month[9]="أكتوبر";
month[10]="نوفمبر";
month[11]="ديسمبر";

  var currentMonth = month[currentTime.getMonth( )];
  var currentYear = currentTime.getYear();

  // Pad the minutes and seconds with leading zeros, if required
  currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
  currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;

  // Choose either "AM" or "PM" as appropriate
  var timeOfDay = ( currentHours < 12 ) ? "ص" : "م";

  // Convert the hours component to 12-hour format if needed
  currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;

  // Convert an hours component of "0" to "12"
  currentHours = ( currentHours == 0 ) ? 12 : currentHours;

  // Compose the string for display
  var currentTimeString = currentDay + " " + currentDateday + "  " + currentMonth + "  " + currentYear + "   " + currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + timeOfDay;


  // Update the time display
  document.getElementById("clock").firstChild.nodeValue = currentTimeString;
}

// -->
