On Feb 25, 10:43*pm, "Alexey Smirnov" <alexey.smir...@gmail.com>
wrote:
On Feb 25, 8:21 pm, "althafex...@gmail.com" <althafex...@gmail.com>
wrote:
hi everyone
Im trying to include an external js in my aspx page under the head
tag, it doesn't load or it displays an object expected error whenver
the function from the .js is called. Actually for repeated html im
using the external js, i mean the TOP, BOTTOM they are repeated in
every page, so i include them as functions in the external js and call
them. Why it doesn't work?
Please help me, i'm trying to find many resources but nothing helped
me. i even tried using registerclientscriptblock, the same error
happens.
post your js here
hi boss,
Below is my code for the main page which is calling the external .JS
just have a look at it. The same code if i make it a html page and
call the .JS files its fine, but if i make it as aspx page it doesn't
work.
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1256">
<LINK href="../css/Style.css" type="text/css" rel="stylesheet">
<script language="javascript" src="../js/include.js"></script>
<script language="javascript" src="../menuGen.js"></script>
<script language="javascript" src="../menus.js"></script>
<TITLE>الجزيرة الرياضية</TITLE>
</head>
<body>
<script language="javascript">createMenus()</script>
<!----------Start Top---------->
<script type="text/javascript">Top();</script>
<!----------End Top---------->
<table border="0" width="780" id="table1" cellspacing="0"
cellpadding="0" align="center">
<tr>
<td width="10" valign="top" background="../images/top_line_3.gif"
rowspan="2"><img border="0" src="../images/left_crv_3.gif"></td>
<td class="MainContent" rowspan="2" width="600">
<!----------Start Main Content---------->
<table cellspacing="0" cellpadding="0" width="410" border="0"
align="center">
<tr>
<td width="10" rowspan="3"><img border="0" src="../images/
marquee_crv_1.gif"></td>
<td width="354" background="../images/marquee_line_1.gif"><img
border="0" src="../images/trick.gif" width="1" height="5"></td>
<td width="46" rowspan="3"><img border="0" src="../images/
marquee_control.gif" usemap="#FPMap0"></td>
</tr>
<tr>
<td width="354">
<script language="Javascript">generateMarquee()</script>
</td>
</tr>
<tr>
<td width="354" background="../images/marquee_line_2.gif"><img
border="0" src="../images/trick.gif" width="1" height="4"></td>
</tr>
<tr>
<td width="410" background="../images/top_line_5.gif"
colspan="3"><img border="0" src="../images/trick.gif" width="1"
height="11"></td>
</tr>
</table>
<table border="0" width="590" id="table4" cellspacing="0"
cellpadding="0">
<!--CMS Bread Crumb depend on channels-->
<tr>
<td class="NewsBreadCrumb"><a class="BreadCrumbLink" href="../
index.html">الصف*ة الرئيسة </a>/ <a class="BreadCrumbLink" href="../
index.html">الأخبار</a><span lang="ar-qa">/كرة القدم</span></td>
</tr>
<!--End of Bread Crumb-->
<!--CMS Title-->
<tr>
<td width="590"><img border="0" src="../images/
news_title.gif"></td>
</tr>
<!--End Cms Title-->
</table>
<!--CMS Top News-->
<table border="0" width="590" id="table4" cellspacing="0"
cellpadding="0">
<tr>
<td width="590" colspan="4" align="right"><h2> <a
class="Mainnewsbody1_hyperlink2" href="../News/football/
article8507.html">رونالدو بين الريال والميلان</a></h2></td>
</tr>
<tr>
<td width="170" valign="top">
<iframe name='I1' WIDTH='170' height='160' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='.../
live/frame6.html'></iframe>
</td>
<td width="10"><img src="../images/trick.gif" border="0"
width="10" height="1"></td>
<td width="130" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="130">
<tr><td width="130"><img src="../images/body_crv_1.gif"
border="0"></td></tr>
<tr><td class="NewsArticleDesc" height="154"><lang="ar-
qa"><span lang="ar-qa">ذكرت ص*يفة "آس" الرياضية أن نادي ريال
مدريد عرض انتقال كلاً من رونالدو وأنطونيو كاسانو إلى ميلان الذي رفض
"في الوقت ال*اضر" هذا العرض.</span></td></tr>
<tr><td width="130" bgcolor="#C1DCFB"><a href="../News/
football/article8507.html"><img src="../images/body_more.gif"
border="0"></a></td></tr>
<tr><td width="130"><img src="../images/body_crv_2.gif"
border="0"></td></tr>
</table>
</td>
<td width="280" valign="top">
<img border="0" src="../football/images/ronaldo02_m.jpg"
width="280" height="185"></td>
</tr>
<tr><td width="590" colspan="4"><img src="../images/trick.gif"
border="0" width="1" height="10"></td></tr>
</table>
<!--end of Top-->
<table border="0" width="590" id="table4" cellspacing="0"
cellpadding="0">
<tr>
<td width="400" style="border-bottom: solid 1px
#D8D4D4"> </td>
<td width="190">
<img src="../images/football_title_01.gif" border="0"></td>
</tr>
<tr>
<td colspan="2"><img src="../images/trick.gif" border="0"
width="1" height="10"></td>
</tr>
</table>
<!--CMS Double news-->
<table border="0" width="590" id="Table3" cellspacing="0"
cellpadding="0">
<tr>
<td class="News_LatestNewsTitle" style="width: 50%"><a
href="../News/football/article8508.html">كان ينهي مسيرته في 2008</a></
td>
<td width="5" rowspan="3" background="../images/
news_line.gif"> </td>
<td class="News_LatestNewsTitle" style="width: 50%"><span
lang="ar-qa"><a href="../News/football/article8509.html">ديوغو يلتمس
المسام*ة </a></span></td>
</tr>
<tr>
<td class="News_LatestNewsDesc" valign="top" style="width:
50%"><lang="ar-qa"><span lang="ar-qa"><img border="0" src="images/
kahn01_s.jpg" align="right" width="85" height="68">أكدال*ارس الدولي
الألماني السابق أوليفر كان للص*افة أنه سينهي مسيرته في الملاعب في عام
2008 مع انتهاء عقده ال*الي مع فريقه بايرن ميونيخ.</span></td>
<td class="News_LatestNewsDesc" valign="top" style="width:
50%"><span lang="ar-qa"><img border="0" src="images/diogo_s.jpg"
align="right" width="85" height="68"></span>أمل نجم ريال سرقسطة
الأورغوياني كارلوس ديوغو, المعار من ريال مدريد<span lang="ar-qa">
الإسباني</spanألا يتعرض<span lang="ar-qa">للإيقاف</spanلفترة طويلة
عن اللعب<span lang="en-us">.</span></td>
</tr>
<tr>
<td class="News_LatestNewsDesc" valign="top" style="width:
50%; text-align: left" height="18"><a href="../News/football/
article8508.html"><img border="0" src="../images/main_more.gif"
width="40" height="17" style="margin-left:5px;"></a></td>
<td class="News_LatestNewsDesc" valign="top" style="width:
50%; text-align: left" height="18"><a href="../News/football/
article8509.html"><img border="0" src="../images/main_more.gif"
width="40" height="18" style="margin-left:5px;"></a></td>
</tr>
<!--End of Double news-->
<tr><td colspan="3">
<table border='0' width='100%' id='Table5' cellspacing='0'
cellpadding='0'>
<tr><td width='580' align='right'><img border='0' src='../images/
other_news_title.gif'></td></tr>
<tr><td width='580' align='right'>
<table border='0' width='100%' id='table189' cellspacing='0'
cellpadding='0' bgcolor='#F3F3F3'>
<tr><td colspan='2'><img src='../images/news_crv_3.gif'
border='0'></td></tr>
<tr>
<td valign='middle' class='News_OtherNewsLinks' height="23"
width="98%"><a href="../News/football/article8495.html">سلتيك إلى
الدور الرابع لكأس اسكتلندا</a></td>
<td width='2%' align='center' style='padding-top: 8px;'
valign='top' height="23"><img src='../images/icon_1.gif' border='0'></
td>
</tr>
</table>
<table border='0' width='100%'id='table25' cellspacing='0'
cellpadding='0' bgcolor='#F3F3F3'><tr><td></td></tr>
</table>
<table border='0' width='100%' id='table19' cellspacing='0'
cellpadding='0' bgcolor='#F3F3F3'>
</table>
</td></tr><tr><td width='100%'><img src='../images/
news_crv_11.gif' border='0' width='580' height=15></td></tr></table>
<!---->
</td></tr>
</table>
<!----------End Main Content---------->
</td>
<td width="10" valign="top" rowspan="2"><img border="0" src="../
images/left_crv_2.gif"></td>
<td class="RightNav" width="161">
<!----------Start Right---------->
<script type="text/javascript">Right();</script>
<!----------End Right---------->
</td>
</tr>
<tr><td class="RightNav2" valign=bottom width="161" ><script
language="javascript">Right_()</script>
</td></tr>
</table>
<!----------Start Bottom---------->
<script type="text/javascript">Bottom();</script>
<!----------End Bottom---------->
</body>
</html>
And this is one of the .JS file.
//document.write("<meta http-equiv=Page-Enter
content=revealtrans(duration=2,transition=12)>");
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j+
+].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i+
+) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function openWindow2(windowName,windowPath,winWidth,winHeig ht)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=no,resize=no ,menubar=no')
NewWindow.focus()
}
function openWindow3(windowName,windowPath,winWidth,winHeig ht)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=no,resize=no ,menubar=no')
NewWindow.focus()
}
function openWindow4(windowName,windowPath,winWidth,winHeig ht)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=no,resize=no ,menubar=no')
NewWindow.focus()
}
function openWindow_10(windowName,windowPath,winWidth,winHe ight)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=no,resize=no ,menubar=no')
NewWindow.focus()
}
function openWindow_gallery(windowName,windowPath,winWidth, winHeight)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=no,resize=no ,menubar=no')
NewWindow.focus()
}
//window.onResize=mess();
window.onresize = resize;
function resize()
{
//alert("resize event detected!");
locateMenu("menuLogo",1,document.body.clientWidth) ;
}
function Top()
{
var sTop = "";
sTop += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center>";
sTop += "<tr><td width=630 valign=top><object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='630'
height='95'><param name='movie' value='../flash/01.swf'><param
name='quality' value='High'><param name=wmode value=transparent><embed
src='../flash/top/01.swf' pluginspage='http://www.macromedia.com/go/
getflashplayer' type='application/x-shockwave-flash' name='obj1'
width='780' height='95' quality='High' wmode=transparent></object></
td>";
sTop += "<td style='background-image:url(../flash/newtop.jpg);width:
150;' OnClick=mess();></td>";
sTop += "</tr>";
sTop += "<tr>";
sTop += "<td colspan=2 width=780 valign=top align=right
bgcolor=#002E97><a href=/arabic/index.html><img border=0 src=../images/
top_logo_1.gif></a></td>";
sTop += "</tr></table>";
locateMenu('menuLogo',1,document.body.clientWidth) ;
/*
sTop += "<table border=0 width=780 id=table1 cellspacing=0
cellpadding=0 align=center>";
sTop += "<tr><td width=780 valign=top><object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='780'
height='95'><param name='movie' value='/arabic/flash/top.swf'><param
name='quality' value='High'><param name=wmode value=transparent><embed
src='/arabic/flash/top.swf' pluginspage='http://www.macromedia.com/go/
getflashplayer' type='application/x-shockwave-flash' name='obj1'
width='780' height='95' quality='High' wmode=transparent></object></
td>";
sTop += "</tr>";
sTop += "<tr>";
sTop += "<td width=780 valign=top align=right bgcolor=#002E97><a href=/
arabic/index.html><img border=0 src=../images/top_logo_1.gif></a></
td>";
sTop += "</tr></table>";
*/
sTop += "<table border=0 id=TopLinks cellspacing=0 cellpadding=0
class=TopLinks align=center><tr>";
sTop += "<td width=65><img border=0 src=../images/left_top_crv_1.gif></
td>";
sTop += "<td class=TopLinksCell><!--img border=0 width=105 height=28
src=../images/top_link_3.gif onclick=window.location='/arabic/
england_Summary/League_news/index.html' style='cursor:hand;'--></td>";
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/F1_LINK1.gif onclick=window.location='/Formula1/news/
Formula_1__index.asp' style='cursor:hand;'></td>";
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_1.gif onclick=window.location='/arabic/
Portugoal_Summary/League_news/index.html' style='cursor:hand;'></td>";
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_2.gif onclick=window.location='/arabic/
Calcio_Summary/League_news/index.html' style='cursor:hand;'></td>";
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_4.gif onclick=window.location='/arabic/
La_Liga_Summary/League_news/index.html' style='cursor:hand;'></td>";
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_5.gif onclick=window.location='/arabic/
Qatar_Summary/League_news/index.html' style='cursor:hand;'></td>";
sTop += "<td class=TopLinksCell><table border=0 cellpadding=0
cellspacing=0 width=185><tr><td><img border=0 src=../images/
top_logo_2_3.gif></td><td><a href=/arabic/index.html><img border=0
src=../images/top_logo_2_2.gif border=0></a></td><td><img border=0
src=../images/top_logo_2_1.gif></td></tr></table></td>";
//<img border=0 src=../images/top_logo_2.gif>
sTop += "</tr></table>";
sTop += "<table border=0 width=780 id=table1 cellspacing=0
cellpadding=0 align=center><tr>";
sTop += "<td width=64 valign=top><img border=0 src=../images/
left_top_crv_2.gif></td>";
sTop += "<td width=716 valign=top background=../images/top_line_2.gif
align=right><a href='/arabic/index.html'><img border=0 src=../images/
top_logo_3.gif></a></td>";
sTop += "</tr></table>";
document.write(sTop);
}
function Top2()
{
var sTop = "";
sTop += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center>";
sTop += "<tr><td width=630 valign=top><object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='630'
height='95'><param name='movie' value='../flash/top/01.swf'><param
name='quality' value='High'><param name=wmode value=transparent><embed
src='../flash/top/01.swf' pluginspage='http://www.macromedia.com/go/
getflashplayer' type='application/x-shockwave-flash' name='obj1'
width='780' height='95' quality='High' wmode=transparent></object></
td>";
sTop += "<td style='background-image:url(../flash/newtop.jpg);width:
150;' OnClick=mess();></td>";
sTop += "</tr>";
sTop += "<tr>";
sTop += "<td colspan=2 width=780 valign=top align=right
bgcolor=#002E97><a href=/arabic/index.html><img border=0 src=../images/
top_logo_1.gif></a></td>";
sTop += "</tr></table>";
locateMenu('menuLogo',1,document.body.clientWidth) ;
/*
sTop += "<table border=0 width=780 id=table1 cellspacing=0
cellpadding=0 align=center><tr>";
sTop += "<td width=780 valign=top><!--img border=0 src=../images/
top_img.jpg--><object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='780'
height='95'><param name='movie' value='/arabic/flash/top.swf'><param
name='quality' value='High'><param name=wmode value=transparent><embed
src='/arabic/flash/top.swf' pluginspage='http://www.macromedia.com/go/
getflashplayer' type='application/x-shockwave-flash' name='obj1'
width='780' height='95' quality='High' wmode=transparent></object></
td>";
sTop += "</tr>";
sTop += "<tr>";
sTop += "<td width=780 valign=top align=right bgcolor=#002E97><img
border=0 src=../images/top_logo_1.gif></td>";
sTop += "</tr></table>";
*/
sTop += "<table border=0 id=TopLinks cellspacing=0 cellpadding=0
class=TopLinks align=center><tr>";
sTop += "<td width=65><img border=0 src=../images/left_top_crv_1.gif></
td>";
if(linkline==6)
{
sTop += "<td class=TopLinksCell style=padding-left:5;><img border=0
width=105 height=28 src=../images/F1_LINK2.gif></td>";
}
else
{
sTop += "<td class=TopLinksCell style=padding-left:5;><img border=0
width=105 height=28 src=../images/F1_LINK1.gif
onclick=window.location='/Formula1/news/Formula_1__index.asp'
style='cursor:hand;'></td>";
}
if(linkline==4)
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_3_.gif></td>";
}
else
{
sTop += "<td class=TopLinksCell><!--img border=0 width=105 height=28
src=../images/top_link_3.gif onclick=window.location='/arabic/
england_Summary/League_news/index.html' style='cursor:hand;'--></td>";
}
if(linkline==3)
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_1_.gif></td>";
}
else
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_1.gif onclick=window.location='/arabic/
Portugoal_Summary/League_news/index.html' style='cursor:hand;'></
td>";
}
if(linkline==2)
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_2_.gif ></td>";
}
else
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_2.gif onclick=window.location='/arabic/
Calcio_Summary/League_news/index.html' style='cursor:hand;'></td>";
}
if(linkline==1)
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_4_.gif ></td>";
}
else
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_4.gif onclick=window.location='/arabic/
La_Liga_Summary/League_news/index.html' style='cursor:hand;'></td>";
}
if(linkline==5)
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_5_.gif></td>";
}
else
{
sTop += "<td class=TopLinksCell><img border=0 width=105 height=28
src=../images/top_link_5.gif onclick=window.location='/arabic/
Qatar_Summary/League_news/index.html' style='cursor:hand;'></td>";
}
sTop += "<td class=TopLinksCell><table border=0 cellpadding=0
cellspacing=0 width=185><tr><td><img border=0 src=../images/
top_logo_2_3.gif></td><td><a href=/arabic/index.html><img border=0
src=../images/top_logo_2_2.gif border=0></a></td><td><img border=0
src=../images/top_logo_2_1.gif></td></tr></table></td>";
sTop += "</tr></table>";
sTop += "<table border=0 width=780 id=table1 cellspacing=0
cellpadding=0 align=center><tr>";
sTop += "<td width=64 valign=top><img border=0 src=../images/
left_top_crv_2.gif></td>";
sTop += "<td width=716 valign=top background=../images/top_line_2.gif
align=right><a href='/arabic/index.html'><img border=0 src=../images/
top_logo_3.gif></a></td>";
sTop += "</tr></table>";
document.write(sTop);
}
function openWindow_1(windowName,windowPath,winWidth,winHei ght)
{
NewWindow = window.open(windowPath,windowName,'toolbar=no,widt h=' +
winWidth + ',height=' + winHeight +
',directories=no,status=no,scrollbars=yes,resize=n o,menubar=no,top=14
0px,left=150px')
NewWindow.focus()
}
var d = new Date();
var curr_day = d.getDay();
var curr_date = d.getDate();
var s=d.getSeconds ();
var n=new String(curr_day)+new String(curr_date)
+new String(s);
function Left()
{
var sLeft = "";
sLeft += "<table border=0 width=170 id=table2 cellspacing=0
cellpadding=0>";
sLeft += "<tr><td>";
sLeft += "<object classid='clsid:D27CDB6E-AE6D-11-96B8-444553540000'
id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,40,0' border='0' width='170'
height='90'><param name='movie' value='../flash/HOW.swf'><param
name='quality' value='High'><embed src='../flash/HOW.swf'
pluginspage='http://www.macromedia.com/go/getflashplayer'
type='application/x-shockwave-flash' name='obj1' ></object>";
sLeft += "</td></tr>";
sLeft += "<tr><td style=padding-top:5px;>";
sLeft += "<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000'
id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,40,0' border='0' width='170'
height='157'><param name='movie' value='../flash/outside1.swf'><param
name='quality' value='High'><embed src='../flash/outside1.swf'
pluginspage='http://www.macromedia.com/go/getflashplayer'
type='application/x-shockwave-flash' name='obj1' ></object>";
sLeft += "</td></tr>";
//sLeft += "<tr><td style=padding-top:8px;padding-bottom:2px;>";
// sLeft += "<object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='170'
height='110'><param name='movie' value='/arabic/fiba/flash/
link2.swf'><param name='quality' value='High'><embed src='/arabic/fiba/
flash/link2.swf' pluginspage='http://www.macromedia.com/go/
getflashplayer' type='application/x-shockwave-flash' name='obj1' ></
object>";
//sLeft += "</td></tr>";
// program
sLeft += "<tr><td style=padding-top:5;>";
sLeft += "<iframe name='I1' WIDTH='170' height='163' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='.../
LIVE/frame6.html'></iframe>";
sLeft += "</td></tr>";
/*
//live sccore services
sLeft += "<tr><td style=padding-top:10;>";
sLeft += "<iframe name='I1' WIDTH='170' height='180' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/LIVE/frame4.html'></iframe>";
sLeft += "</td></tr>";
*/
//sLeft += "<tr><td style='padding-top:10;'>";
//sLeft += "<img onclick=window.location='/arabic/WestAsianGames/
index.html' style='cursor:hand;' src=../images/west-asia.jpg>";
//sLeft += "</td></tr>";
//sLeft += "<tr><td width=170><NOBR><A id='gbPop_2' href=# name='gbPop|
he|gbPopDiv_2'><img border=0 src=../images/left_adv_1.jpg id=IMG1></
A></NOBR></td>";
sLeft += "<tr>";
sLeft += "<td width=170><img border=0 src=../images/trick.gif width=1
height=5></td>";
sLeft += "</tr></table>";
//sLeft += "<table width=100% ID='Table1' cellspacing='0'
cellpadding='0'><tr><td class=tdata></td></tr></table>";
//sLeft += "<iframe name='I1' WIDTH='170' height='157' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/watchingnow/counter.asp'></iframe>";
//sLeft += "<iframe name='I1' WIDTH='170' height='157' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/LIVE/frame.html'></iframe>";
sLeft += "<table border=0 cellpadding=0 cellspacing=0 >";
/*
sLeft += "<tr><td>";
sLeft += "<table border='0' width='170' id='Table4' cellspacing='0'
cellpadding='0'>";
sLeft += "<tr><td width='170'><img border='0' src='../images/
yearender1.jpg'></td></tr>";
//sLeft += "<tr><td class='SportsCourtTitle' style='direction:
rtl;background-color: #AFCEEE;width: 170px;text-align: right;font-
weight: bold;font-family: Arabic Transparent;font-size: 14px;color:
#002E97;padding: 3px;'> </td></tr>";
//sLeft += "<tr><td class='SportsCourtTitle' style='direction:
rtl;background-color: #AFCEEE;width: 170px;text-align: right;font-
weight: bold;font-family: Arabic Transparent;font-size: 14px;color:
#002E97;padding: 3px;height:6;'></td></tr>";
sLeft += "<tr><td width='170' bgcolor=#AFCEEE align=center
style='border:solid #000080 1px;'><object classid='clsid:D27CDB6E-
AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,40,0' border='0' width='168'
height='76'><param name='movie' value='/arabic/YearEnder/flash/
YearEnder.swf'><param name='quality' value='High'><embed src='/arabic/
YearEnder/flash/YearEnder.swf' pluginspage='http://www.macromedia.com/
go/getflashplayer' type='application/x-shockwave-flash' name='obj1'
width='160' height='160'></object></td></tr>";
//sLeft += "<tr><td class='SportsCourtDesc' style='direction:
rtl;background-color: #AFCEEE;width: 170px;text-align: justify;font-
weight: bold;font-family: Arabic Transparent;font-size: 14px;color:
#002E97;padding: 3px;'> </td></tr>";
sLeft += "<tr><td width='170' ><img border='0' src='/Arabic/
leftMenuIframes/images/left_crv_5.gif'></td></tr>";
sLeft += "</table>";
sLeft += "</td></tr>";
*/
sLeft += "<tr><td style=padding-bottom:5;>";
sLeft += "<iframe name='I2' WIDTH='170' height='235' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/leftMenuIframes/sportIssue.html'></iframe>";
sLeft += "</td></tr>";
//maradona program
//sLeft += "<tr><td >";
//sLeft += "<iframe name='I4' WIDTH='170' height='278' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/live/prog.html'></iframe>";
//sLeft += "</td></tr>";
//sLeft += "<tr><td>";
//sLeft += "<iframe name='I3' WIDTH='170' height='70' marginwidth='1'
marginheight='1' scrolling='no' border='0' frameborder='0' src='/
Arabic/leftMenuIframes/ads.html'></iframe>";
//sLeft += "</td></tr>";
sLeft += "<tr><td align=center>";
sLeft += "<table border=0 cellpadding=0 cellspacing=0 >";
sLeft += "<tr><td>";
sLeft += "<img src=../images/UPCOMMING.jpg>";
sLeft += "</td></tr>";
sLeft += "<tr><td>";
//sLeft += "<img src=1.jpg?"+n+" >";
sLeft += "<object classid=clsid:D27CDB6E-AE6D-11CF-96B8-444553540000
id=Object1 codebase=http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,40,0 border=0 width='170' height='400'
VIEWASTEXT><param name=movie value=../flash/Upcoming.swf?"+n+" ><param
name=quality value=High><param name=wmode value=transparent><embed
src=../flash/Upcoming.swf?"+n+" pluginspage=http://www.macromedia.com/
go/getflashplayer type=application/x-shockwave-flash name=obj2
width='170' height='400' quality=High wmode=transparent></object>";
sLeft += "</td></tr>";
sLeft += "</table>";
sLeft += "</td></tr>";
sLeft += "</table>";
//sLeft += "<br>";
sLeft += "<!--div style=padding-left:3;><a href='http://
www.aljazeera.net' target='_blank'><img src=../images/right_adv_1.gif
></a></div-->";
document.write(sLeft);
}
function Right()
{
var sRight = "";
sRight += "<table border=0 width=170 id=table2 cellspacing=0
cellpadding=0 ><tr>";
sRight += "<td width=170><img border=0 src=../images/bground-logo.jpg
height=49 style='margin-left:0;'></td>";
sRight += "</tr></table>";
sRight += "<table border=0 width=160 id=table2 cellspacing=0
cellpadding=0 align=center style='position:relative;top:-3;'><tr>";
sRight += "<td width=160 background=../images/menu_bg_.gif
height=200>";
sRight += "<table border=0 width=150 id=table5 cellspacing=0
cellpadding=0 align=center><tr>";
sRight += "<td width=150 style=cursor:hand;
onmouseover=MM_swapImage('Image1','','../images/menu_1_over.gif',
1);locateMenu('menu1',1,document.body.clientWidth) ;
onmouseout=MM_swapImgRestore();hideMenu('menu1');> <img name=Image1
id=Image1 border=0 src=../images/menu_1.gif></td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td width=150><A onmouseover=MM_swapImage('Image2','','.../
images/menu_2_over.gif',2);locateMenu('menu2',
1,document.body.clientWidth);
onmouseout=MM_swapImgRestore();hideMenu('menu2'); href='#'><img
border=0 name=Image2 id=Image2 src=../images/menu_2.gif></a></td>";
sRight += "</tr>";
//
//days porgram
//
var d = new Date()
theDay=d.getDay()
switch (theDay)
{
case 6:
//alert("Sat - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D1Sat.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 5:
//alert("Fri - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D7Fri.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 4:
//alert("Thu - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D6Thu.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 3:
//alert("Wed - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D5Wed.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 2:
//alert("Tue - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D4Tue.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 1:
//alert("Mon - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D3Mon.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
case 0:
//alert("Sun - 6");
sRight += "<tr>";
sRight += "<td width=150><A href='/arabic/Transmission_Schedule/
D2Sun.html'><img onmouseover=MM_swapImage('Image3','','../images/
menu_3_over.gif',3); onmouseout=MM_swapImgRestore(); border=0
name=Image3 id=Image3 src=../images/menu_3.gif></a></td>";
sRight += "</tr>";
break
//default:
//document.write("I'm looking forward to this weekend!")
}
//
//days porgram
//
sRight += "<tr>";
sRight += "<td width=150 onmouseover=MM_swapImage('Image4','','../
images/menu_4_over.gif',4) onmouseout=MM_swapImgRestore();><a href=/
arabic/Programs_Grid/index.html><img border=0 name=Image4 id=Image4
src=../images/menu_4.gif ></a></td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td width=150><A onmouseover=MM_swapImage('Image6','','.../
images/menu_6_over.gif',6); onmouseout=MM_swapImgRestore(); href='/
arabic/Contact_Us/index.html'><img border=0 name=Image6 id=Image6
src=../images/menu_6.gif></a></td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td width=150><A onmouseover=MM_swapImage('Image7','','.../
images/01-over.gif',7); onmouseout=MM_swapImgRestore(); href='/arabic/
Job_Vacancy/index.html'><img border=0 name=Image7 id=Image7 src=../
images/01.gif></a></td>";
sRight += "</tr>";
sRight += "</table>";
sRight += "</td>";
sRight += "</tr></table>";
sRight += "<table border='0' width='170' id='Table7' cellspacing='0'
cellpadding='0'>";
sRight += "<tr><td align='center'>";
sRight += "<img src='../images/trik.gif' border='0' width='1'
height='6'></td></tr>";
sRight += "<tr><td align='center'><!--a href='/Arabic/
remark.html'><img src='../images/remarks_button.gif' border='0'></a--
></td></tr>";
sRight += "<tr><td align='center'><img src='../images/trik.gif'
border='0' width='1' height='6'></td></tr>";
sRight += "</table>";
//sRight += "<table border=2 width=160 id=table2 cellspacing=0
cellpadding=0 align=center>";
sRight += "<table border=0 width=160 id=table2 cellspacing=0
cellpadding=0 align=center><tr>";
sRight += "<td width=160><!--img border=0 src=../images/
poll_title.gif--></td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td><!-- class=PollBG-->";
sRight += "<!--table border=0 width=100% id=table3 cellspacing=0
cellpadding=0><tr>";
sRight += "<td colspan=2 class=PollQues>كرة قدم < من هو أفضل
لاعب<br>لعام 2005؟</td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td colspan=2 class=PollQues>ديكو<input type=radio
value=V1 checked name=R1><br>زيدان<input type=radio value=V1 checked
name=R2><br>رونالدينهو<input type=radio value=V1 checked name=R3></
td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td class=PollResultنتائج التصويت</td><td><img border=0
src=../images/poll_button.gif></td>";
sRight += "</tr></table-->";
sRight += "</td>";
sRight += "</tr>";
sRight += "<tr>";
sRight += "<td width=160><!--img border=0 src=../images/
right_crv_1.gif--></td>";
sRight += "</tr></table>";
sRight += "<table border=0 width=170 id=table2 cellspacing=0
cellpadding=0><tr>";
sRight += "<td width=170 height=100> </td>";
sRight += "</tr>";
//if(home==1)
if(window.document.title == "الصف*ة الرئيسة - الجزيرة الرياضية")
{
//sRight += "<tr>";
//sRight += "<td width=170 align=center><a target='_blank'
href='http://www.aljazeera.net'><img border=0 src=../images/
right_adv_1.gif></a></td>";
//sRight += "</tr>";
}
else
{
}
//sRight += "<tr><td>";
//sRight += "</td></tr>";
sRight += "</table>";
//sRight += "<iframe name='I1' WIDTH='170' height='163'
marginwidth='1' marginheight='1' scrolling='no' border='0'
frameborder='0' src='/Arabic/scroll/glide-scroll-h.html'></iframe>";
document.write(sRight);
}
function Right_()
{
//aljazeera link online
//document.write("<div align=center valign=bottom ><a href='http://
www.aljazeera.net' target='_blank'><img src=../images/right_adv_1.gif
border=0></a></div>");
document.write("<table border='0' width='170' id='Table7'
cellspacing='0' cellpadding='0'>");
document.write("<tr><td align='center'>");
//document.write("<iframe name='I1' WIDTH='70' height='0'
marginwidth='1' marginheight='1' scrolling='no' border='0'
frameborder='0' src='/formula1/live/visitors/visitor.asp'></
iframe>");
document.write("<img src='../images/trik.gif' border='0' width='1'
height='6'></td></tr>");
document.write("<tr><td align='center'><a href='/Arabic/
remark.html'><img src='../images/remarks_button.gif' border='0'></a></
td></tr>");
document.write("<tr><td align='center'><img src='../images/trik.gif'
border='0' width='1' height='6'></td></tr>");
document.write("</table>");
}
function Right_2()
{
//aljazeera link online
//document.write("<div align=center valign=bottom ><a href='http://
www.aljazeera.net' target='_blank'><img src=../images/right_adv_1.gif
border=0></a></div>");
document.write("<table border='0' width='170' id='Table7'
cellspacing='0' cellpadding='0'>");
document.write("<tr><td align='center'>");
//document.write("<iframe name='I1' WIDTH='70' height='0'
marginwidth='1' marginheight='1' scrolling='no' border='0'
frameborder='0' src='/formula1/live/visitors/visitor.asp'></
iframe>");
document.write("<img src='../images/trik.gif' border='0' width='1'
height='6'></td></tr>");
document.write("<tr><td align='center'><a
href='mailto:in**@aljazeerasport.net'><img src='../images/Help.jpg'
border='0'></a></td></tr>");
document.write("<tr><td align='center'><img src='../images/trik.gif'
border='0' width='1' height='6'></td></tr>");
document.write("</table>");
}
function Bottom1()
{
var sBottom = "";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center><tr>";
sBottom += "<td width=22 valign=top><img border=0 src=../images/
bottom_crv_2.gif></td>";
sBottom += "<td width=569 valign=top><img src=/arbic/images/
bottom_crv_1.gif width=0 height=0></td>";
sBottom += "<td width=19 valign=top><img border=0 src=../images/
bottom_crv_1.gif></td>";
sBottom += "<td width=170 valign=top bgcolor=#002E97><img src=/arbic/
images/bottom_crv_1.gif width=0 height=0></td>";
sBottom += "</tr>";
sBottom += "<tr>";
sBottom += "<td width=780 valign=top colspan=4 bgcolor=#002E97
height=20> </td>";
sBottom += "</tr>";
sBottom += "<tr><td colspan=4><img border=0 src=../images/trick.gif
width=1 height=1></td></tr>";
sBottom += "<tr><td colspan=4 bgcolor=#9B9B9B><img border=0 src=.../
images/trick.gif width=1 height=5></td></tr></table>";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center><tr>";
sBottom += "<tr><td colspan=4 height='10'></td></tr></table>";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center>";
sBottom += "<tr>";
sBottom += "<td width='110' style=padding-left:35;><!--b><font
face='Arabic Transparent' size='2' تصميم وتطوير </font></b--></td>";
sBottom += "<td colspan=2
class=pbottom> <a
href='/arabic/index.html'>الصف*ة الرئيسة</a> | <a href=/
arabic/Al_jazeera_Sports/Al_jazeera_Sports_Channel/index.html>الجزيرة
الرياضية</a> | <a href='#'>الأخبار</a> | ";
//
//days porgram
//
var d = new Date()
theDay=d.getDay()
switch (theDay)
{
case 6:
//alert("Sat - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D1Sat.html'>جدول
البث</a>";
break
case 5:
//alert("Fri - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D7fri.html'>جدول
البث</a>";
break
case 4:
//alert("Thu - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D6thu.html'>جدول
البث</a>";
break
case 3:
//alert("Wed - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D5wed.html'>جدول
البث</a>";
break
case 2:
//alert("Tue - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D4tue.html'>جدول
البث</a>";
break
case 1:
//alert("Mon - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D3mon.html'>جدول
البث</a>";
break
case 0:
//alert("Sun - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D2sun.html'>جدول
البث</a>";
break
//default:
//document.write("I'm looking forward to this weekend!")
}
//
//days porgram
//
sBottom += " | <a href='/arabic/Programs_Grid/
index.html'>البرامج</a> | <a href='/arabic/Contact_Us/
index.html'>اتصل بنا</a></td>";
sBottom += "</tr>";
sBottom += "<tr>";
sBottom += "<td ><!--a href='http://www.afkaronline.com'
target='_blank'><img border=0 src=../images/afkarlogo.gif></a--></
td>";
sBottom += "<td
class=pbottom1>   ;
جميع ال*قوق م*فوظة <img src=../images/JSSCLogo.gif2006م
&n bsp;</td>";
sBottom += "<td width=50></td>";
sBottom += "</tr>";
sBottom += "</table>";
document.write(sBottom);
}
function Bottom()
{
var sBottom = "";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center><tr>";
sBottom += "<td width=22 valign=top><img border=0 src=../images/
bottom_crv_2.gif></td>";
sBottom += "<td width=569 valign=top><img src=/arbic/images/
bottom_crv_1.gif width=0 height=0></td>";
sBottom += "<td width=19 valign=top><img border=0 src=../images/
bottom_crv_1.gif></td>";
sBottom += "<td width=170 valign=top bgcolor=#002E97><img src=/arbic/
images/bottom_crv_1.gif width=0 height=0></td>";
sBottom += "</tr>";
sBottom += "<tr>";
sBottom += "<td width=780 valign=top colspan=4 bgcolor=#002E97
height=20> </td>";
sBottom += "</tr>";
sBottom += "<tr><td colspan=4><img border=0 src=../images/trick.gif
width=1 height=1></td></tr>";
sBottom += "<tr><td colspan=4 bgcolor=#9B9B9B><img border=0 src=.../
images/trick.gif width=1 height=5></td></tr></table>";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center><tr>";
sBottom += "<tr><td colspan=4 height='10'></td></tr></table>";
sBottom += "<table border=0 width=780 cellspacing=0 cellpadding=0
align=center>";
sBottom += "<tr>";
sBottom += "<td width='110' style=padding-left:35;><!--b><font
face='Arabic Transparent' size='2' تصميم وتطوير </font></b--></td>";
sBottom += "<td colspan=2
class=pbottom> <a
href='/arabic/index.html'>الصف*ة الرئيسة</a> | <a href=/
arabic/Al_jazeera_Sports/Al_jazeera_Sports_Channel/index.html>الجزيرة
الرياضية</a> | <a href='#'>الأخبار</a> | ";
//
//days porgram
//
var d = new Date()
theDay=d.getDay()
switch (theDay)
{
case 6:
//alert("Sat - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D1Sat.html'>جدول
البث</a>";
break
case 5:
//alert("Fri - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D7fri.html'>جدول
البث</a>";
break
case 4:
//alert("Thu - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D6thu.html'>جدول
البث</a>";
break
case 3:
//alert("Wed - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D5wed.html'>جدول
البث</a>";
break
case 2:
//alert("Tue - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D4tue.html'>جدول
البث</a>";
break
case 1:
//alert("Mon - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D3mon.html'>جدول
البث</a>";
break
case 0:
//alert("Sun - 6");
sBottom += "<a href='/arabic/Transmission_Schedule/D2sun.html'>جدول
البث</a>";
break
//default:
//document.write("I'm looking forward to this weekend!")
}
//
//days porgram
//
sBottom += " | <a href='/arabic/Programs_Grid/
index.html'>البرامج</a> | <a href='/arabic/Contact_Us/
index.html'>اتصل بنا</a></td>";
sBottom += "</tr>";
sBottom += "<tr>";
sBottom += "<td ><!--a href='http://www.afkaronline.com'
target='_blank'><img border=0 src=../images/afkarlogo.gif></a--></
td>";
sBottom += "<td
class=pbottom1>   ;
جميع ال*قوق م*فوظة <img src=../images/JSSCLogo.gif2006م
&n bsp;</td>";
sBottom += "<td width=50></td>";
sBottom += "</tr>";
sBottom += "</table>";
document.write(sBottom);
}
function Marquee()
{
var sMarquee = "";
sMarquee += "<table cellspacing=0 cellpadding=0 width=410
border=0><tr>";
sMarquee += "<td width=10 rowspan=3><img border=0 src=../images/
marquee_crv_1.gif></td>";
sMarquee += "<td width=354 background=../images/
marquee_line_1.gif><img border=0 src=../images/trick.gif width=1
height=5></td>";
sMarquee += "<td width=46 rowspan=3><img border=0 src=../images/
marquee_control.gif></td>";
sMarquee += "</tr>";
sMarquee += "<tr>";
sMarquee += "<td width=354 height=21>";
//sMarquee += "<marquee id=scoller direction=right scrolldelay=160
onMouseOver=this.stop() onMouseOut=this.start() width=354 style=font-
size: 10px>";
//sMarquee += "<a class=marLink href=#>مونديال الشباب : تركيا تنعش
آمالها في التأهل للدور الثاني بفوزها على بنما بهدف نظيف</
a> <a
class=marLink href=#>المنتخب المصري يخسر بهدفين نظيفين</a>";
//sMarquee += "</marquee>";
sMarquee += "</td>";
sMarquee += "</tr>";
sMarquee += "<tr>";
sMarquee += "<td width=354 background=../images/
marquee_line_2.gif><img border=0 src=../images/trick.gif width=1
height=4></td>";
sMarquee += "</tr>";
sMarquee += "<tr>";
sMarquee += "<td width=410 background=../images/top_line_5.gif
colspan=3><img border=0 src=../images/trick.gif width=1 height=11></
td>";
sMarquee += "</tr></table>";
document.write(sMarquee);
}
//DEVELOPERS CODE
function PageQuery(q) {
if(q.length 1) this.q = q.substring(1, q.length);
else this.q = null;
this.keyValuePairs = new Array();
if(q) {
for(var i=0; i < this.q.split("&").length; i++) {
this.keyValuePairs[i] = this.q.split("&")[i];
}
}
this.getKeyValuePairs = function() { return this.keyValuePairs; }
this.getValue = function(s) {
for(var j=0; j < this.keyValuePairs.length; j++) {
if(this.keyValuePairs[j].split("=")[0] == s)
return this.keyValuePairs[j].split("=")[1];
}
return false;
}
this.getParameters = function() {
var a = new Array(this.getLength());
for(var j=0; j < this.keyValuePairs.length; j++) {
a[j] = this.keyValuePairs[j].split("=")[0];
}
return a;
}
this.getLength = function() { return this.keyValuePairs.length; }
}
function queryString(key){
var page = new PageQuery(window.location.search);
return unescape(page.getValue(key));
}
function displayItem(key){
if(queryString(key)=='false')
{
//document.write("you didn't enter a ?name=value querystring item.");
}else{
return queryString(key);
}
}
function test()
{
var names=new Array();
names[0]='جوزيف سيب بلاتر';
names[1]='لينارت يوهانسون';
names[2]='فرانتس بيكنباور';
names[3]='جواو هافيلانج';
names[4]='عيسى *ياتو';
names[5]='م*مد بن همام ';
names[6]='داني جوردان';
names[7]='جاك روغ';
names[8]='خوان أنطونيو سامارانش';
names[9]='سلطان بن فهد بن عبد العزيز';
names[10]='الساعدي معمر القذافي';
names[11]='الشيخ أ*مد فهد الأ*مد الصبا*';
names[12]='العميد فاروق بوظو';
names[13]='أ*مد العفيفي';
names[14]='سليم شيبوب';
names[15]='أدهم شرارة';
names[16]='لامين دياك';
names[17]='روني روك';
names[18]='ارسين فينغر';
names[19]='ايمي جاكيه';
names[20]='دونا ديفارونا';
names[21]='تريسي إدواردز';
names[22]='برونو هينادي';
names[23]='بورا ميلو تينو فيتش';
names[24]='برونو ميتسو';
names[25]='جيرزينيو';
names[26]='سيباستيان كو';
names[27]='*سن مصطفى';
names[28]='زين الدين زيدان';
names[29]='نور الدين نيبت';
names[30]='هشام القروج';
names[31]='رونالدينيو';
names[32]='كارل لويس';
names[33]='أ*مد بن *شر آل مكتوم';
names[34]='مصطفى العرفاوي';
names[35]='فرانك لوبوف';
names[36]='كرم جابر';
var html=new Array();
html[0]='1.html';
html[1]='9.html';
html[2]='14.html';
html[3]='21.html';
html[4]='20.html';
html[5]='19.html';
html[6]='22.html';
html[7]='24.html';
html[8]='23.html';
html[9]='25.html';
html[10]='26.html';
html[11]='6.html';
html[12]='5.html';
html[13]='4.html';
html[14]='27.html';
html[15]='7.html';
html[16]='28.html';
html[17]='29.html';
html[18]='12.html';
html[19]='11.html';
html[20]='10.html';
html[21]='30.html';
html[22]='8.html';
html[23]='13.html';
html[24]='33.html';
html[25]='32.html';
html[26]='31.html';
html[27]='15.html';
html[28]='2.html';
html[29]='3.html';
html[30]='18.html';
html[31]='17.html';
html[32]='16.html';
html[33]='36.html';
html[34]='35.html';
html[35]='34.html';
html[36]='37.html';
var
fullname=document.hform.namelist[document.hform.namelist.selectedIndex].value;
var found,pagename='';
found=999;
for(i=0;i<=names.length;i++)
{
if(names[i]==fullname)
{
found=i;
break;
}
}
if(found!=999)
{
if(found>=0 && found<=8)
pagename='index1.html';
else if(found>=8 && found<=17)
pagename='index2.html';
else if(found>=17 && found<=26)
pagename='index3.html';
else if(found>=26 && found<=35)
pagename='index4.html';
else if(found==36)
pagename='index5.html';
}
//alert(pagename);
if(pagename!='')
{
window.location=pagename+'?html='+html[found];
}
}
function test1()
{
var names=new Array();
names[0]='إسبانيا';
names[1]='الأردن';
names[2]='الب*رين';
names[3]='السودان';
names[4]='العراق';
names[5]='المغرب';
names[6]='اليمن';
names[7]='اليونان';
names[8]='إنجلترا';
names[9]='إيران';
names[10]='إيطاليا';
names[11]='البرتغال';
names[12]='تونس';
names[13]='روسيا';
names[14]='سلطنة عمان';
names[15]='سوريا';
names[16]='فلسطين';
names[17]='لبنان';
names[18]='ليبيا';
names[19]='مصر';
names[20]='موريتانيا';
var
fullname=document.hform.namelist[document.hform.namelist.selectedIndex].value;
var found,pagename='';
found=999;
for(i=0;i<=names.length;i++)
{
if(names[i]==fullname)
{
found=i;
break;
}
}
if(found!=999)
{
if(found>=0 && found<=8)
pagename='index.html';
else if(found>=8 && found<=17)
pagename='index_1.html';
else if(found>=17 && found<=20)
pagename='index_2.html';
}
//alert(pagename);
if(pagename!='')
{
window.location=pagename;
}
}
function test2()
{
var names=new Array();
names[0]='شبكة المراسلين';
names[1]='سؤال في الرياضة';
names[2]='*صيلة الدوري الاسباني';
names[3]='النشرة الاقتصادية ';
names[4]='الدوري الألماني';
names[5]='الرياضة قضية ';
names[6]='الكرة العربية';
names[7]='ال*كم الخامس';
names[8]='*صيلة الدوري القطري';
names[9]='ملاعب ';
names[10]='ألوان الرياضة ';
names[11]='ليغا ';
names[12]='اليد';
names[13]='الأمل';
names[14]='ريبورتاج';
names[15]='مبعوث خاص';
names[16]='مشاهير غير رياضيين';
names[17]='في – أي – بي VIP';
names[18]='جرأة ورياضة';
names[19]='*صيلة الدوري البرتغالي';
names[20]='ثلاثون دقيقة كالشيو';
names[21]='استوديو الدوري الإسباني';
names[22]='استوديو الدوري الإيطالي';
names[23]='استوديو الدوري البرتغالي';
var html=new Array();
html[0]='pop1.html';
html[1]='pop2.html';
html[2]='pop3.html';
html[3]='pop4.html';
html[4]='pop5.html';
html[5]='pop6.html';
html[6]='pop7.html';
html[7]='pop8.html';
html[8]='pop9.html';
html[9]='pop10.html';
html[10]='pop11.html';
html[11]='pop12.html';
html[12]='pop00.html';
html[13]='pop00.html';
html[14]='pop00.html';
html[15]='pop00.html';
html[16]='pop00.html';
html[17]='pop18.html';
html[18]='pop19.html';
html[19]='pop20.html';
html[20]='pop21.html';
html[21]='pop22.html';
html[22]='pop23.html';
html[23]='pop00.html';
var
fullname=document.hform.namelist[document.hform.namelist.selectedIndex].value;
var found,pagename='';
found=999;
for(i=0;i<=names.length;i++)
{
if(names[i]==fullname)
{
found=i;
break;
}
}
if(found!=999)
{
if(found>=0 && found<=8)
pagename='index.html';
else if(found>=8 && found<=17)
pagename='index2.html';
else if(found>=17 && found<=23)
pagename='index3.html';
}
//alert(pagename);
if(pagename!='')
{
window.location=pagename+'?html='+html[found];
}
}
function generateMarquee()
{
document.write ("<map name='FPMap0'>");
document.write ("<area href='#'
onmouseover='window.frames.marqueeIframe.moveMrque eForward()'
shape='rect' coords='28, 10, 40, 24'>");
document.write ("<area href='#'
onmouseover='window.frames.marqueeIframe.stopMarqu ee()'
onmouseout='window.frames.marqueeIframe.startMarqu ee()' shape='rect'
coords='18, 12, 26, 23'>");
document.write ("<area href='#'
onmouseover='window.frames.marqueeIframe.moveMrque eBackward()'
shape='rect' coords='5, 11, 16, 24'>");
/*
document.write ("<area href='#' shape='rect' coords='28, 10, 40,
24'>");
document.write ("<area href='#' shape='rect' coords='18, 12, 26,
23'>");
document.write ("<area href='#' shape='rect' coords='5, 11, 16,
24'>");
*/
document.write ("</map>");
//document.write('<iframe name="marqueeIframe" src="/arabic/marquee/
Marquee.xml" width="354" height="22" marginwidth="1" marginheight="1"
scrolling="no" border="0" frameborder="0"></iframe>');
document.write('<iframe name="marqueeIframe" src="" width="354"
height="22" marginwidth="1" marginheight="1" scrolling="no" border="0"
frameborder="0"></iframe>');
//document.write("<marquee id='scroller' onmouseover='this.stop()'
style='FONT-SIZE: 10px' onmouseout='this.start()' scrollDelay='160'
direction='right' width='354'><A class=marLink href='#'>مونديال
الشباب : تركيا تنعش آمالها في التأهل للدور الثاني بفوزها على بنما بهدف
نظيف</A>********<IMG src='../images/logo.gif' border=0<A
class=marLink href='#'>المنتخب المصري يخسر بهدفين نظيفين <IMG src='../
images/logo.gif' border='0'></marquee>")
}
function scroll()
{
document.write("<table cellspacing='0' cellpadding='0' width='410'
border='0'>");
document.write("<tr>");
document.write("<td width='10' rowspan='3'><img border='0' src='../
images/m_7.gif'></td>");
document.write("<td width='354' background='../images/
marquee_line_1.gif'><img border='0' src='../images/trick.gif'
width='1' height='5'></td>");
document.write("<td width='46' rowspan='3'>");
//document.write("<map name='FPMap0'>");
//document.write("<area href='#1' shape='rect' coords='17, 6, 29, 16'
onMouseOver=scroller.stop() onMouseOut=scroller.start()>");
//document.write("<area href='#2' shape='rect' coords='30, 5, 37, 17'
onmouseover=scroller.direction='right'>");
//document.write("<area href='#3' shape='rect' coords='6, 6, 16, 17'
onmouseover=scroller.direction='left'>");
//document.write("</map>");
document.write("<table border=0 cellpadding=0 cellspacing=0>");
document.write("<tr><td colspan=3><img src=../images/m_1.gif></td></
tr>");
document.write("<tr><td><img style=cursor:hand;
onmouseover=scroller.direction='left' src=../images/m_5.gif></
td><td><img style=cursor:hand; onmouseover=scroller.stop()
onMouseOut=scroller.start() src=../images/m_4.gif></td><td><img
style=cursor:hand; onmouseover=scroller.direction='right' src=../
images/m_3.gif></td></tr>");
document.write("<tr><td colspan=3><img src=../images/m_2.gif></td></
tr>");
document.write("</table>");
//document.write("<IMG SRC='../images/marquee_control.gif' WIDTH=46
HEIGHT=37 ALT='' usemap='#FPMap0' border='0'></td>");
document.write("</tr>");
document.write("<tr><td width='354'>");
document.write("<marquee id='scroller' direction='right'
scrolldelay='160' onMouseOver='this.stop()' onMouseOut='this.start()'
width='354' style='font-size: 10px'>");
document.write("<a class='marLink' href='#'>مونديال الشباب : تركيا
تنعش آمالها في التأهل للدور الثاني بفوزها على بنما بهدف نظيف</
a> <img src='images/
logo.gif' border='0'<a class='marLink' href='#'>المنتخب المصري يخسر
بهدفين نظيفين <img src='images/logo.gif' border='0'></a>");
document.write("</marquee>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='354' background='../images/
marquee_line_2.gif'><img border='0' src='../images/trick.gif'
width='1' height='4'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='410' background='../images/top_line_5.gif'
colspan='3'><img border='0' src='../images/trick.gif' width='1'
height='11'></td>");
document.write("</tr>");
document.write("</table>");
}
// cursor - \\\\\\\\\\\\\\\\\
function af()
{
document.write("<table border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td><a href='/arabic/groups/roundup.asp'><img border=0
src='/arabic/news/images/t1.jpg'></a></td>");
document.write("<td><img border=0 src='/arabic/news/images/t2.jpg'></
td>");
document.write("<td><a href='/arabic/groups/player.html'><img border=0
src='/arabic/news/images/t3.jpg'></a></td>");
document.write("<td><img border=0 src='/arabic/news/images/t4.jpg'></
td>");
document.write("<td><a href='/arabic/groups/
africacup_egypt2006.asp'><img border=0 src='/arabic/news/images/
t5.jpg'></a></td>");
document.write("</tr>");
document.write("</table>");
}