
function FuncShowHide(){
      
      if (document.getElementById('hideShow').style.display ==  "block"){
         document.getElementById('hideShow').style.display = "none";
				 closelink.innerHTML = "<strong><a href='#' onclick='FuncShowHide()' class='text' id='trX'>Advanced Search</a></strong>";
      } else {
         document.getElementById('hideShow').style.display =  "block";
		 closelink.innerHTML = "<a href='#' onclick='FuncShowHide()' class='text' id='trX'>Close</a>";
      }
   }
//closelink.innerHTML = "<a href='#'>close</a>"


function ForgetPassword(val){
      
     if(val=="1")
	 {
		 document.getElementById('forget').style.display = "block"	
	 }
	 else
	 {
		 document.getElementById('forget').style.display = "none"
	 }
	
   }
function Quesanswer(id,idtd){
     
     if (document.getElementById(id).style.display == "block"){
         document.getElementById(id).style.display = "none";
		 document.getElementById(idtd).background = 'none';
      } else {
        document.getElementById(id).style.display="block";
		document.getElementById(idtd).background = 'images/faq_bg.gif';
      }
	  
	 }
   

function showlaptop(theTable)
{
     if (document.getElementById(theTable).style.display == 'none')
     {
//          document.getElementById("pctype").checked = true;
		 document.getElementById(theTable).style.display = 'block';
		  
     }
}
//-->
<!--
function hidelaptop(theTable)
{
     if (document.getElementById(theTable).style.display == 'none')
     {
          document.getElementById(theTable).style.display = 'none';
     }
     else
     {
          document.getElementById(theTable).style.display = 'none';
     }
}

<!--
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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

/*function showlightbox()
{
		MM_showHideLayers('Layer1','','show')
		Layer2.innerHTML='<div class="light_popup_div" id="Layer1">                                    <table width="190" border="0" align="center" cellpadding="0" cellspacing="0">                                      <tr>                                        <td height="25" colspan="2" align="right">										<img src="images/icon_close.gif" alt="Close" width="14" height="15"  /></td>                                      </tr>                                      <tr>                                        <td width="20" height="25">							 <input type="radio" name="pctype" value="desktop" onfocus="hidelaptop(laptop);return false;" checked />                                        </td>                                        <td width="170" class="popup_heading">Existing Lightbox </td>                                      </tr>                                      <tr>                                        <td width="20" height="32">&nbsp;</td>                                        <td width="170" valign="top">                                         <select name="select2" class="menu_list">                                            <option>Select Lightbox</option>                                         </select></td>                                      </tr>                                      <tr>                                        <td width="20" height="25">								<input type="radio" name="pctype" value="laptop" onfocus="showlaptop(laptop);return true;"/></td>                                        <td width="170" class="popup_heading">New Lightbox </td>                                      </tr>                                                                <tr>                                       <td height="5px" colspan="2" valign="top" id="laptop" style="display:none;" align="left">										 <table width="190" border="0" cellspacing="0" cellpadding="0">                                         <tr>                                            <td width="20" height="18" valign="top" class="big_text"></td>                                            <td width="170" height="18" valign="top" class="text">Name:</td>                                          </tr>                                          <tr>                                            <td width="20" height="25">&nbsp;</td>                                            <td width="170" valign="top"><input name="textfield2" type="text" class="menu_list" /></td>                                          </tr>                                          <tr>                                            <td width="20">&nbsp;</td>                                            <td width="170" height="18" valign="top" class="text">Keywords:</td>                                          </tr>                                          <tr>                                            <td width="20">&nbsp;</td>                                            <td width="170" valign="top"><textarea name="textarea" rows="5" class="menu_list"></textarea></td>                                          </tr>                                          <tr>                                            <td height="5" colspan="2"></td>                                          </tr>                                                                                </table></td>                                     </tr>                                      <tr>                                        <td width="20">&nbsp;</td>                                        <td width="170"><input type="image" src="images/button_add.gif" value="Add"  /></td>                                      </tr>                                      <tr>                                        <td height="10"></td>                                        <td></td>                                      </tr>                                    </table>                                  </div>';
		}
//-->
*/