﻿function getEnglishDate()
{
    var months = new Array( "يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر");
    var now = new Date();
    var y = now.getFullYear();
    var m = now.getMonth();
    var d = now.getDate();
    
    //document.write( "<a href='/e/index.php'>English</a> | ");
    document.write( y + "/" + months[m] + "/" + d );
}



function printCopyright()
{
    var years = new Date().getFullYear() + " " ;
 
    document.write("." + "جميع الحقوق محفوظة" +  " ©");
}

function printGalleryTop()
{
document.write( '<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="740">' );
document.write( '  <tr>' );
document.write( '    <td class=top_menu width="50%" align="center"><script>printCopyright()</script></td>' );
document.write( '    <td class=top_menu width="50%" align="right" valign="top">' );
document.write( '    <a href="javascript:window.close();">Close</a></td>' );
document.write( '  </tr>' );
document.write( '</table>' );
}

function printTop()
{

document.write( '<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="740" id="AutoNumber1" height="140">' );
document.write( '  <tr>' );
document.write( '    <td class=top_menu width="282" background="/images/e-top1.jpg">&nbsp;</td>' );
document.write( '    <td class=top_menu width="458" background="/images/top2.jpg" align="right" valign="top">' );
document.write( '    <img border="0" src="images/space.gif" width="1" height="15"><br><script>printTopToolbarMenu();</script><img border="0" src="/images/space.gif" width="30" height="1"></td>' );
document.write( '  </tr>' );
document.write( '</table>' );

}

function printTopToolbarMenu()
{
    document.write( "<a href='objectives_ar.php'>الأهداف</a>" );
    document.write( " | " );

      //document.write( "<a href='/a/about.php'>من نحن</a>" );
    //document.write( " | " );

    document.write( "<a href='contact_ar.php'>أتصل بنا</a>" );

       

}

function printBottomMenu(dir)
{
    //document.write( "<a href='/newsletter/index.php?lang=ar'>نشرات أخبارية</a>" );
    //document.write( " | " );

    //document.write( "<a href='/a/study.php'>دراسات عليا</a>" );
    //document.write( " | " );

    document.write( "<a href='help_ar.php'>مساعدة</a>" );
    document.write( " | " );

    document.write( "<a href='privacy_ar.php'>خصوصية</a><img src='/images/space.gif' border=0 height=1 width=5>" );
}


function printRightMenu()
{
  //document.write( "<a href='http://www.imbh.net/suwar/thumbnails.php?album=9'><img src='/images/ref_photos_120X_59.jpg' border=0 width=120 height=59></a><br>" );

  //document.write( "<a href='http://www.fsrn.org/news/audio/20050525.ra?&proto=rtsp&start=20:10&end=23:19'><img src='/images/ref_fsrn_120X_59.jpg' border=0 width=120 height=59></a><br>" );




  document.write( "<img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/a/index.php'>رئيسى</a>" );

  document.write( "<br><img hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/getSection.php?lang=ar&section=1'>الأخبار</a>" );

  document.write( "<br><img hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/getSection.php?lang=ar&section=10'>مقالات و اَراء</a>" );

  document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/getSection.php?lang=ar&section=14'>حقوق الأنسان</a>" );


  document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/getSection.php?lang=ar&section=3'>مراسالات</a>" );

  document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/getSection.php?lang=ar&section=18'>من كل مكان</a>" );


  document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/a/reading.php'>قراءات</a>" );
  


document.write( "<br><br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/aldaftar/comics_ar.php'>ساخر</a>" );

document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a href='/a/audio.php'>تسجيلات</a>" );

  document.write( "<br><img  hspace=3 valign='middle' src='/images/3dots.gif' border=0><a onclick='return openPhotoWindow();' href='#'>البوم الصور</a>" );

document.write( "<br><br>" );

  document.write( "<a href='/a/no.php'><img  hspace=3 valign='middle' src='/images/say_no_2_mubarak.jpg' border=0></a><br>" );


document.write( "" );
}

function openPhotoWindow()
{
   window.open( "/suwar/index.php?theme=alfa", "", "width=760, height=400, resizable=yes,scrollbars=yes,titlebar =no,toolbar=no,status=no,menubar=no,screenX=300,screenY=300,location=yes" );
   return false;
}

