if (browser == "Firefox")
{
  document.write("<style type='text/css'>");
  document.write("#leftScrollbarDiv{position:fixed;top:0px;bottom:0px;right:0%;left:0%;background:#ffffff;color:#000000;overflow:auto;text-align:right;}");
  document.write("</style>");
  document.write("<div id='leftScrollbarDiv'>");
}

var OskbSelected = false;
var oskb_alwaystop = true;
var curTextbox = 1;
var oskb_wnd;

var ua=navigator.userAgent.toLowerCase();
if (ua.indexOf("msie") == -1)
{
  var mycss = new Array();
  if (document.styleSheets[0].cssRules)  // Mozilla
    mycss = document.styleSheets[0].cssRules;
  else
    mycss = document.styleSheets[0].rules;  // IE 

  mycss[13].style.fontFamily = "Nafees Web Naskh";
  mycss[14].style.fontFamily = "Nafees Web Naskh";
}

/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
***********************************************/

calculateOskbTopLeft();

//alert("top:" + oskb_top + " left:" + oskb_left);

var slidemenu_width=oskb_width+'px'; //specify width of menu (in pixels)
var slidemenu_reveal=oskb_left+'px';
//var slidemenu_reveal='27px'; //specify amount that menu should protrude initially
var slidemenu_top=oskb_top+'px';//'460px'   //specify vertical offset of menu on page
var ns4=document.layers?1:0;
var ie4=document.all;
var ns6=document.getElementById&&!document.all?1:0;
leftboundary=(parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1;
  
if (ie4||ns6)
{
  if (browser == "Firefox")
    document.write('<div dir="ltr" id="slidemenubar2" style="left:'+leftboundary+'px; top:'+slidemenu_top+'; width:'+slidemenu_width+';position:fixed; " >');
  else
    document.write('<div dir="ltr" id="slidemenubar2" style="left:'+leftboundary+'px; top:'+slidemenu_top+'; width:'+slidemenu_width+';position:absolute; " >');
}
else if (ns4){
  document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';}\n<\/style>\n');
  document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' visibility=hide>');
  ss222=3;
}

var sitems=new Array();

var oskbStr = "";
    oskbStr += '<table dir="rtl" name="takhti_table" border="1" cellspacing="1" cellpadding="1" bordercolor="#A0A0A0" width="' + oskb_width + '" height="' + oskb_height + '">'+
          '<tr>'+
            '<td width="1%" bgcolor="#aab883">'+
              '<input type="button" name="x_cross" value=" X " onclick="closeOskb()" style="width:24px; height:24px;">'+
            '</td>'+
            '<td bgcolor="#aab883" align="center">'+
              '<img src="images/h_takhti.gif" border="0" />'+
            '</td>'+
          '</tr>'+
          '<tr>'+
            '<!--<td width="1%" bgcolor="#aab883" align="center" >'+
              '<a href="#" onclick="pullOrDraw();"><img src="images/v_takhti.gif" border="0" /></a>'+
            '</td>-->'+
            '<td colspan="2" bgcolor="#aab89d">'+
              '<center>'+
                '<font class="KeyboardFont"><input type="button" name="alif_btn" value="&#1575;" onclick="sumbitLetterCode(\'\u0627\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="alif_mud_btn" value="&#1570;" onclick="sumbitLetterCode(\'\u0622\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="bay_btn" value="&#1576;" onclick="sumbitLetterCode(\'\u0628\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="bhay_btn" value="&#1576;&#1726;" onclick="sumbitLetterCode(\'\u0628\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="pay_btn" value="&#1662;" onclick="sumbitLetterCode(\'\u067E\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="phay_bn" value="&#1662;&#1726;" onclick="sumbitLetterCode(\'\u067E\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="t_ay_btn" value="&#1578;" onclick="sumbitLetterCode(\'\u062A\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="t_hay_btn" value="&#1578;&#1726;" onclick="sumbitLetterCode(\'\u062A\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="tay_btn" value="&#1657;" onclick="sumbitLetterCode(\'\u0679\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="thay_btn" value="&#1657;&#1726;" onclick="sumbitLetterCode(\'\u0679\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="say_btn" value="&#1579;" onclick="sumbitLetterCode(\'\u062B\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="jeem_btn" value="&#1580;" onclick="sumbitLetterCode(\'\u062C\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="jhay_btn" value="&#1580;&#1726;" onclick="sumbitLetterCode(\'\u062C\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="chay_btn" value="&#1670;" onclick="sumbitLetterCode(\'\u0686\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="chhay_btn" value="&#1670;&#1726;" onclick="sumbitLetterCode(\'\u0686\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="hay_btn" value="&#1581;" onclick="sumbitLetterCode(\'\u062D\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="khay_btn" value="&#1582;" onclick="sumbitLetterCode(\'\u062E\');" class="KeyboardBtnFont">'+
                  '<br>'+
                  '<input type="button" name="d_al_btn" value="&#1583;" onclick="sumbitLetterCode(\'\u062F\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="d_hal_btn" value="&#1583;&#1726;" onclick="sumbitLetterCode(\'\u062F\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="dal_btn" value="&#1672;" onclick="sumbitLetterCode(\'\u0688\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="dhal_btn" value="&#1672;&#1726;" onclick="sumbitLetterCode(\'\u0688\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="zal_btn" value="&#1584;" onclick="sumbitLetterCode(\'\u0630\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="ray_btn" value="&#1585;" onclick="sumbitLetterCode(\'\u0631\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="rhay_btn" value="&#1585;&#1726;" onclick="sumbitLetterCode(\'\u0631\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="r_ay_btn" value="&#1681;" onclick="sumbitLetterCode(\'\u0691\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="zay_btn" value="&#1586;" onclick="sumbitLetterCode(\'\u0632\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="z_ay_btn" value="&#1688;" onclick="sumbitLetterCode(\'\u0698\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="seen_btn" value="&#1587;" onclick="sumbitLetterCode(\'\u0633\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="sheen_btn" value="&#1588;" onclick="sumbitLetterCode(\'\u0634\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="suad_btn" value="&#1589;" onclick="sumbitLetterCode(\'\u0635\');" class="KeyboardBtnFont2">'+
                  '<input type="button" name="zuad_btn" value="&#1590;" onclick="sumbitLetterCode(\'\u0636\');" class="KeyboardBtnFont2">'+
                  '<input type="button" name="tuay_btn" value="&#1591;" onclick="sumbitLetterCode(\'\u0637\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="zuay_btn" value="&#1592;" onclick="sumbitLetterCode(\'\u0638\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="ain_btn" value="&#1593;" onclick="sumbitLetterCode(\'\u0639\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="ghain_btn" value="&#1594;" onclick="sumbitLetterCode(\'\u063A\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="fay_btn" value="&#1601;" onclick="sumbitLetterCode(\'\u0641\');" class="KeyboardBtnFont">'+
                  '<br>'+
                  '<input type="button" name="qaf_btn" value="&#1602;" onclick="sumbitLetterCode(\'\u0642\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="kaf_btn" value="&#1705;" onclick="sumbitLetterCode(\'\u06A9\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="k_hay_btn" value="&#1705;&#1726;" onclick="sumbitLetterCode(\'\u06A9\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="gaf_btn" value="&#1711;" onclick="sumbitLetterCode(\'\u06AF\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="g_hay_btn" value="&#1711;&#1726;" onclick="sumbitLetterCode(\'\u06AF\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="lam_btn" value="&#1604;" onclick="sumbitLetterCode(\'\u0644\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="l_hah_btn" value="&#1604;&#1726;" onclick="sumbitLetterCode(\'\u0644\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="meem_btn" value="&#1605;" onclick="sumbitLetterCode(\'\u0645\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="m_hah_btn" value="&#1605;&#1726;" onclick="sumbitLetterCode(\'\u0645\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="noon_btn" value="&#1606;" onclick="sumbitLetterCode(\'\u0646\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="n_hah_btn" value="&#1606;&#1726;" onclick="sumbitLetterCode(\'\u0646\u06BE\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="noon_gunna_btn" value="&#1722;" onclick="sumbitLetterCode(\'\u06BA\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="wow_btn" value="&#1608;" onclick="sumbitLetterCode(\'\u0648\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="goal_hay_btn" value="&#1729;" onclick="sumbitLetterCode(\'\u06C1\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="goal_t_ay_btn" value="&#1731;" onclick="sumbitLetterCode(\'\u06C3\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="hamza_btn" value="&#1569;" onclick="sumbitLetterCode(\'\u0621\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="hamza_small_yeh_btn" value="&#1574;" onclick="sumbitLetterCode(\'\u0626\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="small_yeh_btn" value="&#1740;" onclick="sumbitLetterCode(\'\u06CC\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="big_yeh_btn" value="&#1746;" onclick="sumbitLetterCode(\'\u06D2\');" class="KeyboardBtnFont">'+
                  '<br>'+
                  '<input type="button" name="wildcard_btn" value="&#1567;" onclick="sumbitLetterCode(\'\u061F\');" class="KeyboardBtnFont">'+
                  '<input type="button" name="wildstring_btn" value="&#1645;" onclick="sumbitLetterCode(\'\u066D\');" class="KeyboardBtnFont">'+
                  '&nbsp;&nbsp;&nbsp;<input type="button" name="space_btn" value="&#1608;&#1602;&#1601;&#1729;" onclick="sumbitLetterCode(\'\u0020\');" class="KeyboardBtnFont3">'+
                  '<input type="button" name="backspace_btn" value="&#1570;&#1582;&#1585;&#1740; &#1581;&#1585;&#1601; &#1605;&#1657;&#1575;&#1574;&#1740;&#1722;" onclick="do_backspace();" class="KeyboardClearBtnFont">'+
                  '<input type="button" name="clear_btn" value="&#1578;&#1605;&#1575;&#1605; &#1581;&#1585;&#1608;&#1601; &#1605;&#1657;&#1575;&#1574;&#1740;&#1722;" onclick="clearAll();" class="KeyboardClearBtnFont">'+
                  '&nbsp;&nbsp;&nbsp;<input type="button" name="submit_btn" value="&#1578;&#1604;&#1575;&#1588; &#1705;&#1585;&#1740;&#1722;" onclick="submitForm();" class="KeyboardBtnFont3">'+
                '</font>'+
              '</center>'+
            '</td>'+
          '</tr>'+
        '</table>';

sitems[0]=[oskbStr, ""]

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""

/////////////////////////////////////////////////////////

if (ie4||ns4||ns6){
  for (i=0;i<sitems.length;i++){
    if (sitems[i][1]) document.write('<a href="'+sitems[i][1]+'" target="'+target+'">');
    document.write(sitems[i][0]);
    if (sitems[i][1]) document.write('</a>');
    //document.write('<br>\n');
  }
}
  
if (ie4||ns6){
  document.write('</div>');
  themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style;
  themenu.visibility="hidden";
}
else if (ns4){
  document.write('</layer>');
  themenu=document.layers.slidemenubar;
  themenu.visibility="hidden";
}

function regenerate() {
  scrollOskb();
  window.location.reload();
}

function regenerate2() {
  if (ns4){
    document.slidemenubar.left=((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1);
    document.slidemenubar.visibility="show";
    setTimeout("window.onresize=regenerate",400);
  }
}
//window.onload+=regenerate2;

//rightboundary=275; // un-comment for left scroll bar
scrollTop1=0;

//themenu.width='27px';

function pull(){
  if ((ie4||ns6))
  {
    //themenu.left=parseInt(rightboundary)+"px";
    themenu.top=oskb_top;
    themenu.visibility="visible";
  }
  else if(ns4)
  {
    //themenu.left=rightboundary;
    themenu.top=oskb_top;
    themenu.visibility="visible";
  }
}

function draw(){
  if ((ie4||ns6))
  {
    //themenu.left=parseInt(leftboundary)+"px";
    themenu.top=0-parseInt(oskb_height)+"px";
    themenu.visibility="hidden";
  }
  else if(ns4)
  {
    //themenu.left=leftboundary;
    themenu.top=0-oskb_height;
    themenu.visibility="hidden";
  }
}

function closeOskb()
{
  if ((ie4||ns6))
  {
    //themenu.left=leftboundary;
    themenu.top=0-parseInt(oskb_height)+"px";
    themenu.visibility="hidden";
    document.cookie="oudoskb=closed";
  }
  else if(ns4)
  {
    //themenu.left=leftboundary;
    themenu.top=0-oskb_height;
    themenu.visibility="hidden";
    document.cookie="oudoskb=closed";
  }
}

/*
function pull(){
  if (window.drawit) clearInterval(drawit);
  pullit=setInterval("pullengine()",1);
}

function draw(){
  clearInterval(pullit);
  drawit=setInterval("drawengine()",1);
  window.onscroll="";
}

function closeOskb()
{
  themenu.left=leftboundary;
  document.cookie='oudoskb=closed';
}

function pullengine(){
  if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
    themenu.left=parseInt(themenu.left)+15+"px";
  else if(ns4&&themenu.left<rightboundary)
    themenu.left+=15;
  else if (window.pullit){
    themenu.left=rightboundary;
    clearInterval(pullit);
  }
}

function drawengine(){
  window.onscroll=scrollOskb;
  window.scrollTo(0, scrollTop1);
  if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
    themenu.left=parseInt(themenu.left)-15+"px";
  else if(ns4&&themenu.left>leftboundary)
    themenu.left-=15;
  else if (window.drawit){
    themenu.left=leftboundary;
    clearInterval(drawit);
  }
}
*/

/***********************************************/
//if (browser != "Firefox")
//{
 window.onscroll=calcAndScrollOskb;
 // }

window.onresize=calcAndScrollOskb;

function calcAndScrollOskb()
{
      winScrolledOrResized = true;
      calculateOskbTopLeft();
      slidemenu_top=oskb_top;
      slidemenu_reveal=oskb_left;
      scrollOskb();
}
/*window.onresize=function()
    {
      winScrolledOrResized = true;
      calculateOskbTopLeft();
      slidemenu_top=oskb_top;
      slidemenu_reveal=oskb_left;
      scrollOskb();
    }*/

function scrollOskb() {
    scrollTop1 = document.body.scrollTop;
    if ((ie4||ns6))
    {
      themenu.top=scrollTop1+parseInt(slidemenu_top)+"px";
      themenu.left=parseInt(slidemenu_reveal)+"px"
    }
    else if (ns4)
    {
      themenu.top=scrollTop1+slidemenu_top;
      themenu.left=slidemenu_reveal;
    }
}

/*var expanded = 0;
function pullOrDraw () {
   if (expanded == 1) { draw(); expanded = 0; }
   else {  pull(); expanded = 1; }
}*/

function pullOrDraw () {
//  alert(themenu.left);
//  alert(themenu.top);
  var scok1 = document.cookie;
  if (scok1.indexOf("oudoskb=open") != -1)
  {  draw(); document.cookie = "oudoskb=closed"; }
  else if (scok1.indexOf("oudoskb=closed") != -1)
  {  pull(); document.cookie = "oudoskb=open";}
}

if (oskb_alwaystop == false || document.cookie.indexOf("oudoskb=") == -1)
  document.cookie = "oudoskb=closed";

var scok = document.cookie;
var oskb_status = "";
if (scok.indexOf("oudoskb=closed") != -1)
{
  //themenu.left=leftboundary; // uncomment for scrolling from left
  oskb_status="hidden";
  themenu.top=0-oskb_height;
}
else if (scok.indexOf("oudoskb=open") != -1)
{
  //themenu.left=rightboundary; // uncomment for scrolling from left
  // pullit=setInterval("pullengine()",1);  // un-comment this line for scrolling oskb
  oskb_status="visible";
  themenu.top=oskb_top;
}

if (ie4||ns6)
  themenu.visibility=oskb_status;
else if (ns4)
  themenu.visibility=oskb_status;

/*setTimeout("PostRefresh()", 400);
function PostRefresh ()
{
  // hide oskb
  if (ie4||ns6)
  {
    themenu.visibility="hidden";
    window.scroll(1,0);
    window.scroll(0,0);
    themenu.visibility=oskb_status;
  }
  else if (ns4)
  {
    themenu.visibility="hidden";
    window.scroll(1,0);
    window.scroll(0,0);
    themenu.visibility=oskb_status;
  }
}*/

/***********************************************/

   window.mm_menu_help = new Menu("root",190,26,"Nafees Web Naskh",18,"#0000b4","#FFFFFF","#E5F1D3","#598527","right","middle",3,0,100,-5,7,true,true,true,0,true,true);
   mm_menu_help.addMenuItem("&#1604;&#1594;&#1578; &#1705;&#1746; &#1575;&#1587;&#1578;&#1593;&#1605;&#1575;&#1604; &#1605;&#1740;&#1722; &#1583;&#1588;&#1608;&#1575;&#1585;&#1740;","location='trouble_help.htm'");
   mm_menu_help.addMenuItem("&#1601;&#1729;&#1585;&#1587;&#1578;&#1616; &#1575;&#1604;&#1601;&#1575;&#1592; &#1705;&#1575; &#1575;&#1587;&#1578;&#1593;&#1605;&#1575;&#1604;","location='help_4.htm'");
   mm_menu_help.addMenuItem("&#1604;&#1594;&#1578; &#1605;&#1740;&#1722; &#1604;&#1601;&#1592; &#1705;&#1740; &#1578;&#1604;&#1575;&#1588;","location='help_1.htm'");
   mm_menu_help.addMenuItem("&#1605;&#1588;&#1575;&#1576;&#1729; &#1575;&#1604;&#1601;&#1575;&#1592; &#1705;&#1740; &#1578;&#1580;&#1608;&#1740;&#1586;","location='help_2.htm'");
   mm_menu_help.addMenuItem("&#1580;&#1586;&#1608;&#1740; &#1578;&#1604;&#1575;&#1588;","location='help_3.htm'");
   mm_menu_help.addMenuItem("&#1605;&#1601;&#1589;&#1604; &#1578;&#1604;&#1575;&#1588;","location='help_5.htm'");
   mm_menu_help.addMenuItem("&#1593;&#1604;&#1575;&#1605;&#1575;&#1578;/&#1575;&#1589;&#1591;&#1604;&#1575;&#1581;&#1575;&#1578;","location='symbols.htm'");
   mm_menu_help.addMenuItem("&#1575;&#1585;&#1583;&#1608; &#1604;&#1594;&#1578; &#1705;&#1746; &#1605;&#1578;&#1593;&#1604;&#1602;","location='about_oud.htm'");

   mm_menu_help.hideOnMouseOut=true;
   mm_menu_help.bgColor='#555555';
   mm_menu_help.menuBorder=1;
   mm_menu_help.menuLiteBgColor='#FFFFFF';
   mm_menu_help.menuBorderBgColor='#777777';
   mm_menu_help.writeMenus = writeMenusEx;
   mm_menu_help.writeMenus();   	

document.write('<table border="0" align="center" width="777" cellpadding="0" cellspacing="0" style="border-bottom:solid 1px #035928; border-left:solid 1px #035928; border-right:solid 1px #035928;">'+
		//Header
		'<tr>'+
			'<td ');
			
			document.write(			
			'>'+
				'<form style="MARGIN: 0px;" name="frmSearch" action="SearchResults.aspx" method="post" onsubmit="return validateFrmSearch();" ID="Form1">'+
					'<input type="hidden" name="off" value="1" ID="Hidden1">'+
					'<input type="hidden" name="st" value="e" ID="Hidden2">'+
					'<table border="0" align="center" width="100%" cellpadding="0" cellspacing="0">'+
						'<tr>'+
							'<td>'+
								'<table dir="rtl" background="images/bg-header.gif" height="70" width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >'+
									'<tr>'+
										'<td width="28%"></td>'+
										'<td width="60%">'+
											'<table border="0" align="center" cellpadding="0" cellspacing="13" >'+
												'<tr>'+
													'<td align="center">'+
														'<input NAME="qry" size="20" type="text" class="TextBox" onFocus="curTextbox=1;" onKeyPress="OnKeyPress()" >'+
													'</td>'+
													'<td valign="middle"><input type="image" alt="&#1578;&#1604;&#1575;&#1588; &#1705;&#1585;&#1740;&#1722;" src="images/btn_search.gif" style="VERTICAL-ALIGN:middle" border="0" ID="Image1" NAME="Image1"></td>'+
													'<td align="center"><a href="advancedsearch.htm"><img src="images/advanceserc.gif" alt="&#1605;&#1601;&#1589;&#1604; &#1578;&#1604;&#1575;&#1588;" border="0"></a></td>'+
												'</tr>'+
											'</table>'+
										'</td>'+
										'<td width="12%" align="center">'+
											'<table cellpadding="0" cellspacing="0">'+
												'<tr>'+
													'<td align="center">'+
													  '<a href="#" onclick="pullOrDraw();if(curTextbox==1) document.frmSearch.qry.focus();else document.frmAdvSrch.qry.focus();"><img src="images/urdu_tekhti2.gif" alt="&#1575;&#1585;&#1583;&#1608; &#1578;&#1582;&#1578;&#1740;" border="0"></a>'+
													  '<!--<a href="#" onclick="OpenInstallFontWin();">'+
													    '<img src="images/downloadfont.gif" alt="&#1575;&#1585;&#1583;&#1608; &#1604;&#1594;&#1578; &#1705;&#1746; &#1575;&#1587;&#1578;&#1593;&#1605;&#1575;&#1604; &#1605;&#1740;&#1722; &#1583;&#1588;&#1608;&#1575;&#1585;&#1740;" border="0">'+
													  '</a>-->'+
													'</td>'+
												'</tr>'+
											'</table>'+
										'</td>'+
									'</tr>'+				
								'</table>'+
							'</td>'+
						'</tr>'+	
						'<tr>'+
							'<td>'+
								'<table dir="ltr" border="0" width="100%" cellspacing="0" cellpadding="0">'+
									'<tr>'+
										'<td width="1%" valign="top"><img src="images/lnk_leftpic.jpg" width="110" height="33"></td>'+
										'<td width="98%" align="center" valign="bottom" background="images/bg_greenbar.gif">'+									
										  '<!-- <a href="index.htm" onMouseOver="chg_Pic(\'btn_home\');" onMouseOut="rest_Pic(\'btn_home\');"><img name="btn_home" src="images/btn_home.gif" alt="&#1589;&#1601;&#1581;&#1729; &#1575;&#1608;&#1604;" width="58" height="32" border="0"></a><img src="images/space.gif" width="8" height="20"><a href="WordOfTheDay.aspx" onMouseOver="chg_Pic(\'btn_todayword\');" onMouseOut="rest_Pic(\'btn_todayword\');"><img name="btn_todayword" src="images/btn_todayword.gif" alt="&#1570;&#1580; &#1705;&#1575; &#1604;&#1601;&#1592;" width="58" height="32" border="0"></a><img src="images/space.gif" width="8" height="20"><a href="CharIndexForm.htm" onMouseOver="chg_Pic(\'btn_list\');" onMouseOut="rest_Pic(\'btn_list\');"><img name="btn_list" src="images/btn_list.gif" alt="&#1601;&#1729;&#1585;&#1587;&#1578; &#1575;&#1604;&#1601;&#1575;&#1592;" border="0"></a><img src="images/space.gif" width="8" height="20"><a id="helplink" href="#" onMouseOver="chg_Pic(\'btn_help\');" onClick="MM_showMenu(window.mm_menu_help,-120,33,null,\'btn_helpon.gif\');" onMouseOut="MM_startTimeout();rest_Pic(\'btn_help\');"><img name="btn_help" src="images/btn_help.gif" alt="&#1605;&#1583;&#1583;" width="31" height="32" border="0"></a><img src="images/space.gif" width="8" height="20"><a href="contactus.htm" onMouseOver="chg_Pic(\'btn_contact\');" onMouseOut="rest_Pic(\'btn_contact\');"><img name="btn_contact" src="images/btn_contact.gif" alt="&#1585;&#1575;&#1576;&#1591;&#1729;" width="31" height="32" border="0"></a><img src="images/space.gif" width="8" height="20"><a href="aboutus.htm" onMouseOver="chg_Pic(\'btn_aboutus\');" onMouseOut="rest_Pic(\'btn_aboutus\');"><img name="btn_aboutus" src="images/btn_aboutus.gif" alt="&#1729;&#1605;&#1575;&#1585;&#1746; &#1605;&#1578;&#1593;&#1604;&#1602;" width="63" height="32" border="0"></a></td> -->'+
											'<a href="aboutus.htm" onMouseOver="chg_Pic(\'btn_aboutus\');" onMouseOut="rest_Pic(\'btn_aboutus\');"><img name="btn_aboutus" src="images/btn_aboutus.gif" alt="&#1729;&#1605;&#1575;&#1585;&#1746; &#1605;&#1578;&#1593;&#1604;&#1602;" width="63" height="32" border="0"></a><img src="images/vBar.gif" width="15" height="30"><a href="contactus.htm" onMouseOver="chg_Pic(\'btn_contact\');" onMouseOut="rest_Pic(\'btn_contact\');"><img name="btn_contact" src="images/btn_contact.gif" alt="&#1585;&#1575;&#1576;&#1591;&#1729;" width="31" height="32" border="0"></a><img src="images/vBar.gif" width="15" height="30"><a id="helplink" href="#" onClick="chg_Pic(\'btn_help\');MM_showMenu(window.mm_menu_help,-155,33,null,\'btn_help\');" onMouseOver="chg_Pic(\'btn_help\');MM_showMenu(window.mm_menu_help,-155,33,null,\'btn_help\');" onMouseOut="MM_startTimeout();rest_Pic(\'btn_help\');"><img name="btn_help" src="images/btn_help.gif" alt="&#1605;&#1583;&#1583;" width="31" height="32" border="0"></a><img src="images/vBar.gif" width="15" height="30"><a href="CharIndexForm.htm" onMouseOver="chg_Pic(\'btn_list\');" onMouseOut="rest_Pic(\'btn_list\');"><img name="btn_list" src="images/btn_list.gif" alt="&#1601;&#1729;&#1585;&#1587;&#1578; &#1575;&#1604;&#1601;&#1575;&#1592;" border="0"></a><img src="images/vBar.gif" width="15" height="30"><a href="WordOfTheDay.aspx" onMouseOver="chg_Pic(\'btn_todayword\');" onMouseOut="rest_Pic(\'btn_todayword\');"><img name="btn_todayword" src="images/btn_todayword.gif" alt="&#1570;&#1580; &#1705;&#1575; &#1604;&#1601;&#1592;" width="58" height="32" border="0"></a><img src="images/vBar.gif" width="15" height="30"><a href="default.aspx" onMouseOver="chg_Pic(\'btn_home\');" onMouseOut="rest_Pic(\'btn_home\');"><img name="btn_home" src="images/btn_home.gif" alt="&#1589;&#1601;&#1581;&#1729; &#1575;&#1608;&#1604;" width="58" height="32" border="0"></a></td>'+
										'<td width="1%" valign="top"><img src="images/lnk_rightpic.jpg" width="110" height="33"></td>'+
									'</tr>'+
								'</table>'+
							'</td>'+
						'</tr>'+
					'</table>'+
				'</form>'+			
			'</td>'+
		'</tr>'+
		//Body
		'<tr>'+
			'<td height="100%" ');

		document.write(			
			'>'+
				'<table dir="rtl" border="0" width="777" cellspacing="0" cellpadding="0" align="center">'+
					'<tr>'+						
						'<td align="center" height="417" valign="top" >'			
    );

function OpenInstallFontWin(){
	window.open('SystemRequirement.htm','FontInstallation','toolbar=no ,scrollbars=yes,statusbar=no, margin=0,menubar=no,resizable=no,width=500,height=550,left=200,top=150');
}

function OpenOnScreenKeyboard()
{
  var ua=navigator.userAgent.toLowerCase();
  if (ua.indexOf("msie") != -1) {
  	oskb_wnd = window.open("UrduKeyboard.htm", "oskb_win", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=510,height=125,left=200,top=370");
  } else {
    oskb_wnd = window.open("UrduKeyboard.htm", "oskb_win", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=760,height=115,left=200,top=370");
  }
}

/*
	Designed by Qazi Ikram qazii@hotmail.com and HTML by Muhammad Naeem naeemnn@hotmail.com
	Date: 6/19/2004
	
	Change History:
	
	Chnaged By: Sultan Mahmood
	Date: 02 Feb 2005
	Description:
		Updated background picture of header
		Applied styles on "qry" text field		
		Reordered header components
		Incorporated Popup menu on Help Link
*/
