function ShowHideSiteSubServ ()
{
document.getElementById("tblSiteSubServices").style.display="block"
document.getElementById("tblGeneralSearch").style.display="none"
}
function ShowHidegeneralsrch ()
{
document.getElementById("tblSiteSubServices").style.display="none"
document.getElementById("tblGeneralSearch").style.display="block"

}
function getElementLeft(Elem) {
var elem;
if(document.getElementById) {
var elem = document.getElementById(Elem);
} else if (document.all){
var elem = document.all[Elem];
}
xPos = elem.offsetLeft;
tempEl = elem.offsetParent;
while (tempEl != null) {
xPos += tempEl.offsetLeft;
tempEl = tempEl.offsetParent;
}
return xPos;
}
function getElementTop(Elem)
{
if(document.getElementById) {	
var elem = document.getElementById(Elem);
} else if (document.all) {
var elem = document.all[Elem];
}
yPos = elem.offsetTop;
tempEl = elem.offsetParent;
while (tempEl != null) {
yPos += tempEl.offsetTop;
tempEl = tempEl.offsetParent;
}
return yPos;
}
function ShowInnerMemberDiv(Section)
{	
var oDiv = document.getElementById('dvLoginArea');
oDiv.style.position = 'absolute';
oDiv.style.top = getElementTop('Detailsheader') + 15 ;
if (Section==1)
{oDiv.style.left =parseInt(getElementLeft('Detailsheader'))-70;}
else if(Section==0)
{oDiv.style.left =parseInt(getElementLeft('Detailsheader'))  - 250;}
oDiv.style.display='block';
}
function ShowInnerMemberDivEnternalPages(Section)
{	
var oDiv = document.getElementById('dvLoginArea');
oDiv.style.position = 'absolute';
oDiv.style.top = getElementTop('Detailsheader') + 15 ;
if (Section==1)
{oDiv.style.left =parseInt(getElementLeft('Detailsheader'))-70;}
else if(Section==0)
{oDiv.style.left =parseInt(getElementLeft('Detailsheader'))  - 175;}
oDiv.style.display='block';
}
function ShowLogedInnerMemberDiv()
{
if (getElementLeft('Detailsheader')  > 0)
{
var oDiv = document.getElementById('dvLoginArea');
oDiv.style.position = 'absolute';
oDiv.style.top = getElementTop('Detailsheader') - 2;
oDiv.style.left =parseInt(getElementLeft('Detailsheader'))- 26;
oDiv.style.display='block';
}
}
function drawUpdateWindow()
{
var strURL = "/Portal/Aspx/updateAction.aspx";
var strProperties = "width=590,height=450,scrollbars=yes";
window.open(strURL,"", strProperties, false);
}

function drawforgetPW()
{
var strURL = "/Portal/KServices" + "/SupportPages/Registeration/forgetPW.aspx";
var strProperties = "width=590,height=450,scrollbars=yes";
window.open(strURL, "", strProperties, false);
}
function CallErrWindow(errFlag,username,PID,email,cuNo,level)
{
if (errFlag == 1)/*Invalid Password*/
{
var strURL = "/Portal/Aspx/errWindow.aspx/errWindow.aspx?errType=1";
}
if (errFlag == 2)
{
/*Invalid UserName and Password*/
var strURL = "/Portal/Aspx/errWindow.aspx/errWindow.aspx?errType=2";
}
if (errFlag == 3)
{
var strURL = "/Portal/Aspx/errWindow.aspx/errWindow.aspx?errType=3";
} 
if (errFlag == 4)     
{
/*No Activated*/
var strURL = "/Portal/Aspx/errWindow.aspx/errWindow.aspx?errType=4&username=" + username + "&PID=" + PID + "&email=" + email + "&cuNo=" + cuNo + "&level=" + level
}
if (errFlag == 5)
{
/*Blocked*/
var strURL = "/Portal/Aspx/errWindow.aspx/errWindow.aspx?errType=5";
}
if (strURL != null)
{
strProperties = "width=590,status=yes,height=450,scrollbars=no";
var winObject = window.open(strURL, '', strProperties, false);
winObject.focus();
}
}
function checkUserLogged()
{
var personCookie = GetCookie("jazeera-person");
if (personCookie)
{

var personLevelCookie = GetCookieValue("Level");
if (personLevelCookie)
return true;
else
return false;
}
else
return false;
return true;
}
function GetCookie(sName)
{
// cookies are separated by semicolons
var aCookie = document.cookie.split("; ");
for (var i=0; i < aCookie.length; i++)
{
// a name/value pair (a crumb) is separated by an equal sign
var aCrumb = aCookie[i].split("=");
if (sName == aCrumb[0]) 
return unescape(aCrumb[0]);
}
// a cookie with the requested name does not exist
return null;
}
function GetCookieValue(sName)
{
var aCookie = document.cookie.split("; ");
for (var i=0; i < aCookie.length; i++)
{
// a name/value pair (a crumb) is separated by an equal sign
if (aCookie[i].lastIndexOf(sName)> -1) 
{
var aCrumb1 = aCookie[i].split("&");
for (var k=0; k < aCrumb1.length; k++)
{
var aCrumb = aCrumb1[k].split("=");
if (sName == aCrumb[0]) 
return unescape(aCrumb[1]);
}
}
}
// a cookie with the requested name does not exist
return null;
}
function WriteCookie(sName, sValue,days)
{

if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = sName +"=" + sValue +expires+"; Path=/";


}
function GetUserNameCookieValue(sName)
{
var aCookie = document.cookie.split("; ");
for (var i=0; i < aCookie.length; i++)
{
// a name/value pair (a crumb) is separated by an equal sign
if (aCookie[i].lastIndexOf(sName)> -1) 
{
var aCrumb1 = aCookie[i].split("&");
for (var k=0; k < aCrumb1.length; k++)
{
var aCrumb = aCrumb1[k].split("=");
if (sName == aCrumb[1]) 
{
return unescape(aCrumb[2]);
}
}
}
}
// a cookie with the requested name does not exist
return null;
}
//if (!checkUserLogged())
function LoginProcess(CheckHomePage)	
{
if (checkUserLogged())
{

if (CheckHomePage==1)  //Check if This Page HomePage
{	

//var loggedusername = GetUserNameCookieValue("userName");

/* var html="<TABLE class='loggedTbl' id='loggedTbl' height='48' cellSpacing='0' cellPadding='0' width='367' border='0'>";

html += "<TR bgColor='#0833b5'>";
html += "<TD class='RegLoggedTxt' width='160' bgColor='#0833b5'>";
html += "<label id='lblWelcome' tabIndex='6' runat='server'>أهلا " + loggedusername + "</label></TD>";
html += "<TD class='RegLoggedTxt' width='47' bgColor='#0833b5'>";
html += "<img id='btnLogout' onclick='logout();' style='cursor:pointer;' src='/Portal/KServices/images/logout.gif'></TD>";
html += "<TD width='112'>&nbsp;&nbsp;";
html += "<a Class='loginLnks' href='javascript:drawUpdateWindow();' style='color:#FFC700'>تعديل بيانات الاشتراك</a></TD>";
html += "</TR>";
html += "</TABLE>";*/
try
{
if (document.getElementById('lnkMemberShipLink'))
{
document.getElementById('lnkMemberShipLink').innerHTML=''
}
}
catch(err)
{}		
var html='<table id="tblLogged" width="260" height="18" border="3" cellpadding="0" cellspacing="0">'
html +='<tr><td valign="top" class="headerMenu" width="1%" align="left" nowrap=true colspan="3">'
if (document.getElementById('hdMemberShip')) 
{
html +='&nbsp;<a href="javascript:logout();">خروج</a>&nbsp;'
}
else
{
html +='&nbsp;<a href="javascript:logout();">خروج</a>&nbsp;'
}
html +='<font color="black">|</font>'
html +='&nbsp;<a href="javascript:drawUpdateWindow();">تعديل</a>&nbsp;'
html +='</td>'

html +=' '
html +='<td class="welcomeMessage" valign="top" width="100%" style="color:black;font-size: 14px;" nowrap=true align="right" id="tdusername" name="tdusername"></td>'
html +='<td width="1%" style="padding-right:5px" style="color:black;font-size: 14px;" align="right" valign="bottom" class="welcomeMessage" nowrap=true> '
html += ' ...&#1571;&#1607;&#1604;&#1575;&#1611; </td></tr>'

html +='</table>'

if (document.getElementById("loginArea"))
{
document.getElementById("loginArea").innerHTML = html
document.getElementById('tblLogged').style.position = 'absolute';
document.getElementById('tblLogged').style.top=document.getElementById('dvLoginArea').style.top+5
document.getElementById('tblLogged').style.left=document.getElementById('dvLoginArea').style.left+24
if (document.getElementById('hdMemberShip'))
{
if (document.getElementById('hdMemberShip').value==1)
{
ShowLogedInnerMemberDiv();
}
}
else
{
ShowLogedMemberDiv();
}
}

}
else
{
var html='<table width="148" id="tblLogged" height="18" border="0" cellpadding="0" cellspacing="0">'
html +=' <tr>'
html +='<td width="12"><img src="/portal/images/logoutcrv.jpg" width="12" height="18" /></td>'
html +='<td width="71" class="welcomeMessage" bgcolor="#3A77B0" align="right" id="tdusername" name="tdusername"></td>'
html +='<td width="30" align="center" valign="bottom" bgcolor="#3A77B0" class="welcomeMessage">'
html += '...&#1571;&#1607;&#1604;&#1575;&#1611;</td>'

if (document.getElementById('hdMemberShip')) 
{
html +='<td width="35" dir="rtl" align="right"><img src="/portal/images/logoutArea.jpg" width="35" height="18" onclick="logout();"  style="CURSOR: pointer" /></td>'
}
else
{
html +='<td  width="35" align="right"><img src="/portal/images/logoutArea.jpg" width="35" height="18" onclick="logout();"  style="CURSOR: pointer" /></td>'
}
html +='</tr>'
html +='<tr>'
html +='<td colspan="4" align="right" height="5">'
html +='</td>'
html +='</tr>'
html +='<tr>'
html +='<td colspan="4" align="right">'
html +='<a href="javascript:drawUpdateWindow();"><img  src="/Portal/Images/memeber_section.jpg" border="0"/></a>'
html +='</td>'
html +='</tr>'
html +='</table>'

if (document.getElementById("loginArea"))
{
document.getElementById("loginArea").innerHTML = html


if (document.getElementById('hdMemberShip'))
{
if (document.getElementById('hdMemberShip').value==1)
{
ShowLogedInnerMemberDiv();
}
}
else
{
ShowLogedMemberDiv();
}
}
}
}
else // Logged		
{ 
var html ='<table width="311" height="150" border="0" cellpadding="0" cellspacing="0">'
html +='<tr>'
html +='<td height="18" valign="top" bgcolor="#D19E05"><table width="311" border="0" cellspacing="0" cellpadding="0">'
html +='<tr>'
html +='<td width="14"><img src="/Portal/images/closemenuregistration.jpg" style="CURSOR: pointer" onclick="document.getElementById(\'dvLoginArea\').style.display=\'none\'" width="14" height="14" hspace="2" border="0" /></td>'
html +='<td width="297" align="right" class="registrationTitle">&#1575;&#1604;&#1593;&#1590;&#1608;&#1610;&#1577;</td>'
html +='</tr>'
html +='</table></td>'
html +='</tr>'
html +='<tr>'
html +='<td height="32" valign="top" bgcolor="#D8AA0F"><table width="311" border="0" cellspacing="0" cellpadding="0">'
html +='<tr>'
html +='<td height="25" align="right" valign="bottom" class="registrationTitle2">&#1583;&#1582;&#1608;&#1604; &#1575;&#1604;&#1571;&#1593;&#1590;&#1575;&#1569;</td>'
html +='</tr>'
html +='<tr>'
html +='<td><table width="311" border="0" cellspacing="0" cellpadding="0">'
html +='<tr>'
html +=' <td width="227" align="right"><input id="txtUserName" name="txtUserName" type="text" class="registrationtextfields" /></td>'
html +='<td width="84" align="right" class="registrationtext">&#1575;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1578;&#1582;&#1583;&#1605;</td>'
html +='</tr>'
html +='<tr>'
html +='</td><td  width="227"align="right"><input id="txtPassword" name="txtPassword"  type="password" class="registrationtextfields" /></td>'
html +='<td width="84"  align="right" class="registrationtext">&#1603;&#1604;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1608;&#1585;</td>'
html +='</tr>'
html +='</table></td>'
html +='</tr>'
html +='<tr>'
html +='<td background="/Portal/images/bltsLogin.jpg"><a href="javascript:document.getElementById(\'dvLoginArea\').style.display=\'none\'; checkValedations();"><img src="/Portal/images/go_login.jpg" width="51" height="19" hspace="27" vspace="3" border="0" /></a></td>'
html +='</tr>'
html +='<tr>'
html +='<td align="right"><img src="/Portal/images/loginArea.jpg" width="128" height="42" border="0" usemap="#login" /></td>'
html +='</tr>'
html +='</table></td>'
html +='</tr>'
html +='</table>'
html +='<map name="login" id="login">'
html +='<area shape="rect" coords="21, 1, 109, 18" href="/NR/exeres/78061747-569A-4D36-9435-F22E7DD93FCC.htm" />'
html +='<area shape="rect" coords="5, 20, 108, 44" href="javascript:drawforgetPW();" /></map></body>'
if (document.getElementById("loginArea"))
{
document.getElementById("loginArea").innerHTML = html;
document.getElementById("dvLoginArea").style.display="none";
}
}
}
//Modified By Mabueloun @ 07-08-009.
function checkValedations()
{
//Modified By Mabueloun @ 07-08-009.
var userName = document.getElementById("txtUserName").value;
var Password = document.getElementById("txtPassword").value;
//Modified By Mabueloun @ 07-08-009.
if(top.document.getElementById("pw") == null)
{
var html="<input type=hidden id=pw name=pw value=" + Password + ">"
//top.document.body.insertAdjacentHTML("beforeEnd",html) ;
top.document.getElementsByTagName("BODY")[0].innerHTML = top.document.getElementsByTagName("BODY")[0].innerHTML + html;
}
else
top.document.getElementById("pw").setAttribute("value", Password);

if(top.document.getElementById("user") == null)
{

var html="<input type=hidden id=user name=user value=" + userName + ">"
//top.document.body.insertAdjacentHTML("beforeEnd",html) ;
top.document.getElementsByTagName("BODY")[0].innerHTML = top.document.getElementsByTagName("BODY")[0].innerHTML + html;
}
else
top.document.getElementById("user").setAttribute("value",userName);
var url="/Portal/Aspx/loginAction.aspx";
window.open(url,"","width=590,status=yes,height=450,scrollbars=no");
}
function LoginMembershipWeb2()
{
if (document.getElementById('txtUserName').value!='' && document.getElementById('txtPassword').value!='')
{
var userName = document.getElementById("txtUserName").value;
var Password = document.getElementById("txtPassword").value;

if(top.document.getElementById("pw") == null)
{
var html="<input type=hidden id=pw name=pw value=" + Password + ">"
document.getElementById('tdMembershipData').innerHTML+=html
}
else
top.document.getElementById("pw").setAttribute("value", Password);

if(top.document.getElementById("user") == null)
{
var html="<input type=hidden id=user name=user value=" + userName + ">"
document.getElementById('tdMembershipData').innerHTML+=html
}
else
top.document.getElementById("user").setAttribute("value",userName);


var url="/Portal/Aspx/loginAction.aspx";
window.open(url,"","width=590,status=yes,height=450,scrollbars=no");
}
else
{
if (document.getElementById('txtUserName').value=='')
{
document.getElementById('txtUserName').focus();
}
else if (document.getElementById('txtPassword').value=='')
{
document.getElementById('txtPassword').focus();
}
alert('الرجاء إدخال بيانات العضوية')
}
}
function logout()
{
var url="/Portal/Aspx/logout.aspx?Rand="+Math.random();
window.open(url,"","width=590,status=yes,height=450,scrollbars=no");
}
function FillAddsdoubleclick()
{
var pageURL = document.location.href;
var mode1;
var mode2;
var TopRighttAD728x90		= "";
var Str='';
mode1 = pageURL.search("NRMODE=Unpublished");
mode2 = pageURL.search("NRMODE=Update");
if (document.title.search("Monitoring")==-1)
{
if ((mode1 == -1) && (mode2 == -1))
{
ord = (typeof(ord)!='undefined') ? ord : Math.random()*10000000000000000;
Str+='<a href="http://ad.ae.doubleclick.net/jump/aljazeera_AR/Homepage;sz=728x90;ord=123456789?" target="_blank"><img src="http://ad.ae.doubleclick.net/ad/aljazeera_AR/Homepage;sz=728x90;ord=123456789?" width="728" height="90" border="0" alt=""></a>'
Str+='<scr'+'ipt language="JavaScript" src="http://ad.ae.doubleclick.net/adj/aljazeera_AR/Homepage;sz=728x90;ord='+ord+'?" type="text/javascript"></scr'+'ipt>';

TopRighttAD728x90	= Str;
}
else
{
TopRighttAD728x90	= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"728\" height=\"90\">" ;
}
}
if (document.getElementById("TopRightADDS728x90")) 
{
document.getElementById("TopRightADDS728x90").innerHTML  = TopRighttAD728x90;
}
}
//************************ Ad Commerce ****************************//
function FillCommerceFrames()
{
var pageURL = document.location.href;
var mode1;
var mode2;
var TopleftAD120x90		= "";
var TopRighttAD728x90		= "";
var SponsorAD250x40	= "";
var SponsorAD260x60	= "";
var BottomLeftAD120x60 = "";
//var SPONSORBANNER160X240 = "";
var BottomRightAD120x60		= "";
var oBottom263x83 = ""
var SponsorAdCommerce260x140 ="";

mode1 = pageURL.search("NRMODE=Unpublished");
mode2 = pageURL.search("NRMODE=Update");
if (document.title.search("Monitoring")==-1)
{
if ((mode1 == -1) && (mode2 == -1))
{
TopleftAD120x90		= '<IFRAME src="http://ajnad.aljazeera.net/banners/default.aspx?BannerType=AJA_Gateway_Button&sThisPage=AJA_Homepage" name="AJAD" scrolling="no" border="0" frameborder="0" marginwidth="1" marginheight="1" height="90" width="120"></IFRAME>';
//TopRighttAD728x90	= "<IFRAME src='http://jazad.aljazeera.net/ads/?ads_728' frameBorder=0 width=728 scrolling=no height=90 marginTop='0' marginRight='0' marginLeft='0' valign='top' marginBottom='0'></IFRAME>" ;
TopRighttAD728x90	= "<IFRAME src=\"http://jazad.aljazeera.net/jazcommerce/default.aspx?sThisPage=_3_Channels_GateWay_&BannerType=TopRightAdCommerce\" frameBorder=\"0\" width=\"728\" scrolling=\"no\" height=\"90\" marginBottom=\"0\" valign=\"top\" marginLeft=\"0\" marginRight=\"0\" marginTop=\"0\"></IFRAME>" ;
SponsorAD250x40		= '<IFRAME src="http://ajnad.aljazeera.net/banners/default.aspx?BannerType=AJA_Gateway_Sponsor&sThisPage=AJA_Homepage" name="AJAD" scrolling="no" border="0" frameborder="0" marginwidth="1" marginheight="1" height="140" width="260"> </IFRAME>';
SponsorAD260x60		= "<IFRAME src='http://jazad.aljazeera.net/ads/?ads_260_60' frameBorder=0 width=260 scrolling=no height=60 marginTop='0' marginRight='0' marginLeft='0' valign='top' marginBottom='0'></IFRAME>";
//	SponsorAD260x60		= "<IFRAME src=\"http://jazad.aljazeera.net/jazcommerce/default.aspx?sThisPage=_3_Channels_GateWay_&BannerType=SmallBanner\" frameBorder=\"0\" width=\"260\" scrolling=\"no\" height=\"60\" marginTop=\"0\" marginRight=\"0\" marginLeft=\"0\" valign=\"top\" marginBottom=\"0\"></IFRAME>";
oBottom263x83		= "<IFRAME  src=\"http://ajnad.aljazeera.net/banners/default.aspx?BannerType=AJA_Gateway_Aside&sThisPage=AJA_Homepage\" frameBorder=\"0\" width=\"260\" scrolling=\"no\" height=\"140\" marginTop=\"0\" marginRight=\"0\" marginLeft=\"0\" valign=\"top\" marginBottom=\"0\"></IFRAME>";
SponsorAdCommerce260x140 ='<IFRAME src="http://ajnad.aljazeera.net/banners/default.aspx?BannerType=AJA_Gateway_Aside&sThisPage=AJA_Homepage" name="AJAD" scrolling="no" border="0" frameborder="0" marginwidth="1" marginheight="1" height="140" width="260"></IFRAME>'
/*
//SponsorAD250x40	= "<IFRAME style=\"display:block\" id=\"iSponsor\" src=\"http://jazdevad/fff.html\" frameBorder=\"0\" width=\"260\" scrolling=\"no\" height=\"140\" marginTop=\"0\" marginRight=\"0\" marginLeft=\"0\" valign=\"top\" marginBottom=\"0\" > </IFRAME>";
TopleftAD120x90		= "<IMG src=\"/Portal/images/Ads/adv1.jpg\" border=\"0\" width=\"120\" height=\"90\">";
TopRighttAD728x90	= "<IMG src=\"/Portal/images/Ads/adv2.jpg\" border=\"0\" width=\"728\" height=\"90\">" ;
SponsorAD250x40		= "<IMG src=\"/Portal/images/Ads/adv3.jpg\" border=\"0\" width=\"260\" height=\"140\">";
SponsorAD250x60		= "<IMG src=\"/Portal/images/Ads/adv3.jpg\" border=\"0\" width=\"250\" height=\"60\">";
oBottom263x83		= "<IMG src=\"/Portal/images/Ads/adv4.jpg\" border=\"0\" width=\"150\" height=\"140\">";
*/
}
else
{ 
TopleftAD120x90		= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"120\" height=\"90\">";
TopRighttAD728x90	= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"728\" height=\"90\">" ;
SponsorAD250x40		= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"250\" height=\"160\">";
SponsorAD260x60		= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"260\" height=\"60\">";
oBottom263x83		= "<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"150\" height=\"140\">";
SponsorAdCommerce260x140 ="<IMG src=\"/Portal/KServices/images/adImages.bmp\" border=\"0\" width=\"260\" height=\"140\">";
}
}
if (document.getElementById("TopleftADCommerce120x90")) 
document.getElementById("TopleftADCommerce120x90").innerHTML  = TopleftAD120x90;
if (document.getElementById("TopRightADCommerce728x90")) 
document.getElementById("TopRightADCommerce728x90").innerHTML  = TopRighttAD728x90;
if (document.getElementById("SponsorAdCommerce250x40")) 
document.getElementById("SponsorAdCommerce250x40").innerHTML = SponsorAD250x40;
if (document.getElementById("SponsorAdCommerce260x60")) 
document.getElementById("SponsorAdCommerce260x60").innerHTML = SponsorAD260x60;
if (document.getElementById("Bottom263x83")) 
{
document.getElementById("Bottom263x83").innerHTML  = oBottom263x83;
try
{
var pageURL = document.location.href;
if (pageURL.indexOf("/NR/exeres/F06E0D8B-BE98-445A-9752-8E7EA9DAD30F.htm") == -1)
{
document.getElementById("Bottom263x83").style.paddingLeft = 13;
}
else
{
document.getElementById("Bottom263x83").style.paddingRight = 4;
}
}
catch(pageURLEX)
{}
}
if(document.getElementById("SponsorAdCommerce260x140"))
document.getElementById("SponsorAdCommerce260x140").innerHTML  = SponsorAdCommerce260x140;
}
function HideUpperAds ()
{
if (document.getElementById("tdCurrentPart"))
if (document.getElementById("tdCurrentPart").innerHTML != "" )
{
if (document.getElementById("tdUpperAds"))
document.getElementById("tdUpperAds").style.display='none'

if (document.getElementById("trCurrentPart"))
document.getElementById("trCurrentPart").style.display='block'
}
}
