function Target(x,y,z)
{  
  if(z==1)
   { 	
    frm=document.forms['target'];
	frm.target="_new"
	frm.lnk.value=y;
  	frm.action=x;
    frm.submit();
  }
  else
  {
    frm=document.forms['target'];
    window.open('','_self');
	frm.action=x;
	frm.lnk.value=y;
   	frm.submit();
   }
   
}

function TargetOut(x)
{
    frm=document.forms['target'];
	frm.action='index.php';
	frm.crut_session_id.value='';
	frm.user_id.value='';
	frm.submit();
}

