function Top()
{
var Stop= "";
Stop+= "<table border=0 width=855 cellpadding=0 cellspacing=0>";
Stop+= "<tr>";
Stop+= "<td class=banner_logo height=53><script type=text/javascript>date();</script></td>";
Stop+= "</tr>";
Stop+= "<tr>";
Stop+= "<td><img src=/caa/images/freq-SLAIS_04.gif width=855 height=95></td>";
Stop+= "</tr>";
Stop+= "</table>";
document.write(Stop);
}

function date()
{
var monthNames = new Array( "يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write( "تاريخ اليوم: " + now.getDate() + "/ " + monthNames[now.getMonth()] + thisYear);
}

function Buttom()
{
var sBut= "";

sBut+= "<table border=0 cellpadding=0 cellspacing=0 width=100% align=center>";

sBut+= "<tr>";
sBut+= "<td class=back-buttom></td>";
sBut+= "</tr>";
sBut+= "<tr>";
sBut+= "<td class=back-buttom>©  جميع الحقوق محفوظة لإدارة الأرصاد الجوية القطرية</td>";
sBut+= "</tr>";
sBut+= "</table>";

document.write(sBut);
}


function menuPage()
{
var menu= "";
menu+= "<table border=0 width=100% id=table1 align=right>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Histroy/index.html class=links>نبذه تاريخية</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/President/index.html class=links>كلمة رئيس الهيئة</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Reports/index.html class=links>تقارير وتوصيات</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Quality/index.html class=links>سياسة الجودة</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Paper/index.html class=links>أوراق عمل</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Works/index.html class=links>أعمال الكترونية</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/contactus/index.html class=links>إتصل بنا</a></td>";
menu+= "</tr>";
menu+= "</table>";
document.write(menu);
}


function menuSubPage()
{
var menu= "";
menu+= "<table border=0 width=100% id=table1 align=right>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/index.html class=links>الصفحة الرئيسية</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Histroy/index.html class=links>نبذه تاريخية</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/President/index.html class=links>كلمة رئيس الهيئة</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Reports/index.html class=links>تقارير وتوصيات</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Quality/index.html class=links>سياسة الجودة</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Paper/index.html class=links>أوراق عمل</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/Works/index.html class=links>أعمال الكترونية</a></td>";
menu+= "</tr>";
menu+= "<tr>";
menu+= "<td align=right ><img src=/caa/images/5_22.png width=28 height=17><a href=/caa/contactus/index.html class=links>إتصل بنا</a></td>";
menu+= "</tr>";
menu+= "</table>";
document.write(menu);
}


function slogos()
{
var slogos= "";
slogos += " <table border=0 width=100% id=table10 align=center>";
slogos += " <tr><td align=center><img src=/caa/images/2.png width=124 height=87></td></tr>";
slogos += " <tr><td align=center><img src=/caa/images/3.png width=112 height=99></td></tr>";
slogos += " <tr><td align=center height=25></td></tr>";
//slogos += " <tr><td align=center><iframe src=http://www.isoarab.com/online/useronline.php width=140 frameborder=0 height=35 scrolling=no></iframe></td></tr>";


slogos += "</table>";
document.write(slogos);
}




function menuPage2()
{
var menu= "";
menu+= "<table border=0 width=700 id=table1 align=center dir=ltr style='BORDER-RIGHT: #c9c9c9 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #c9c9c9 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 1px; BORDER-LEFT: #c9c9c9 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #c9c9c9 1px solid'>";
menu+= "<tr>";
menu+= "<td align=center><a href=/caa/contactus/index.html class=links>إتصل بنا</a></td>";
//menu+= "<td align=center><a href=/caa/book/index.html class=links>سجل الزوار</a></td>";
menu+= "<td align=center><a href=/caa/Works/index.html class=links>أعمال الكترونية</a></td>";
menu+= "<td align=center><a href=/caa/Paper/index.html class=links>أوراق عمل</a></td>";
menu+= "<td align=center><a href=/caa/Quality/index.html class=links>سياسة الجودة</a></td>";
menu+= "<td align=center><a href=/caa/Reports/index.html class=links>تقارير وتوصيات</a></td>";
menu+= "<td align=center><a href=/caa/Histroy/index.html class=links>نبذه تاريخية</a></td>";
menu+= "<td align=center><a href=/caa/index.html class=links>الصفحة الرئيسية</a></td>";
menu+= "</tr>";
menu+= "</table>";
document.write(menu);
}



//Marquee
function moveMrqueeForward()
{
	scroller.direction='right'
}
function moveMrqueeBackward()
{
	scroller.direction='left'
}
function stopMarquee()
{
	scroller.stop()
}
function startMarquee()
{
	scroller.start()
}

function Marquee()
{
var sMarquee = "";
sMarquee += "<table border='0' width='550' id='table3' cellspacing='0' cellpadding='0' height='23' dir=ltr>";
sMarquee += "<tr>";
//sMarquee += "<td width='464' class='marquee'><marquee direction='right' onmouseover='this.stop()' onmouseout='this.start()' id='scroller'><a href=/caa/news/index1.html>تقرير وتوصيات فريق عمل الجودة لخدمات الأرصاد الجوية في اجتماعهُ الثاني </a></marquee></td>";
sMarquee += "<td width='464' class='marquee'><marquee direction='right' onmouseover='this.stop()' onmouseout='this.start()' id='scroller'><a target=_blank href=/caa/pdf/2010-04-29.pdf>تقرير وتوصيات اللجنة العربية الدائمة للأرصاد الجوية في دورتها السادسة والعشرين</a> :::<a target=_blank href=/caa/pdf/qualitymanagementsystem.pdf>دليل نظام دقة بيانات الأرصاد الجوية لخدمات الطيران</a> :::<a href=/caa/news/index1.html>الإجتماع الثاني لفريق عمل جودة خدمات الأرصاد الجوية</a> ::: <a href=/caa/pdf/isoarabmetting.pdf target=_blank>تقرير وتوصيات فريق عمل الجودة لخدمات الأرصاد الجوية في اجتماعهُ الثاني</a></marquee></td>";
sMarquee += "<td width='36' align='center'>";
sMarquee += "<img style='cursor:hand' src='/caa/images/left.gif' border='0' border='0' onmouseover=scroller.direction='left'>";
sMarquee += "<img style='cursor:hand' src='/caa/images/puase.gif' border='0' onmouseover='stopMarquee()' onmouseout='startMarquee()'>";
sMarquee += "<img style='cursor:hand' src='/caa/images/right.gif' border='0' onmouseover=scroller.direction='right'>";
sMarquee += "</td>";
sMarquee += "</tr></table>";
document.write(sMarquee);
}
//Marquee




function ViewImage(ifile,ix,iy,ititle) { 
var win;
var sWidth;
var sHeight;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,left=100,top=60,toolbar=no,scrollbars=no");

win.document.open();
win.document.write("<html><head><title>"+ititle+"</title>");
win.document.write("</head><body topmargin=0 leftmargin=0>");
win.document.write("<table border=0 cellpadding=0 cellspacing=0><tr><td width=100% valign=top>");
win.document.write("<img border=0 src="+ifile+"></td></tr></table>");
win.document.write("</body></html>");
win.document.close();
}

function ViewImage(ifile,ix,iy,ititle) { 
var win;
var sWidth;
var sHeight;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,left=100,top=60,toolbar=no,scrollbars=no");

win.document.open();
win.document.write("<html><head><title>"+ititle+"</title>");
win.document.write("</head><body topmargin=0 leftmargin=0>");
win.document.write("<table border=0 cellpadding=0 cellspacing=0><tr><td width=100% valign=top>");
win.document.write("<img border=0 src="+ifile+"></td></tr></table>");
win.document.write("</body></html>");
win.document.close();
}



