function roll_over(img_name, img_src)
   {
   document[img_name].src = img_src;
   }
   
   
   
   
   
function DateDemo()
{
  var d, day, x, s = "Today is: ";
  var x = new Array("الأحد", "الإثنين", "الثلاثاء");
  var x = x.concat("الأربعاء","الخميس", "الجمعة");
  var x = x.concat("السبت");
  d = new Date();
  day = d.getDay();
  return(x[day]);
}

<!-- W3e JAVAScript Preset/Date
var DDMMYY =0
var MMDDYY =1
function getdate(mode)
{
   var now = new Date();
   var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();
   if (mode==DDMMYY)
      var MonthDayYear =(dayNr+"/"+(now.getMonth()+1)+"/"+now.getYear());
   else
      var MonthDayYear =((now.getMonth()+1)+"/"+dayNr+"/"+now.getYear());
   return MonthDayYear;
}
function gettime()
{
   var now = new Date();
   var ampm = (now.getHours() >= 12) ? " مساءً" : " صباحاً"
   var hours = now.getHours();
       hours = ((hours > 12) ? hours - 12 : hours);
   var minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();
   var seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();
   var TimeValue =(" " + hours + minutes +" " + ampm);
   return TimeValue;
}
