function toUppercase() 
{
  document.dalszoveg_kereso.q.value = document.dalszoveg_kereso.q.value.substring(0,1).toUpperCase() + document.dalszoveg_kereso.q.value.substring(1);
}





<!-- ******************************************** POP UPLAYER **************************************************  -->
/******************************************
* Popup Box- By Jim Silver @ jimsilver47@yahoo.com
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
******************************************/

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

//drag drop function for NS 4////
/////////////////////////////////

var dragswitch=0
var nsx
var nsy
var nstemp


var one_time=1
// this function gets the cookie, if it exists
function Get_Cookie( name ) {
	
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
{
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}
	

function Set_Cookie( name, value, nHour, path, domain, secure ) 
{
// set time, it's in milliseconds
var today = new Date();
today.setTime( today.getTime() );

/*
if the expires variable is set, make the correct 
expires time, the current script below will set 
it for x number of days, to make it for hours, 
delete * 24, for minutes, delete * 60 * 24
*/
if ( nHour )
{
expires = 1 * 1000 * 60 * 60 * nHour;
//expires = 1000 * 5;
}
var expires_date = new Date( today.getTime() + (expires) );

document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + 
( ( path ) ? ";path=" + path : "" ) + 
( ( domain ) ? ";domain=" + domain : "" ) +
( ( secure ) ? ";secure" : "" );
}


////drag drop functions end here//////

function loadornot()
{
  if (Get_Cookie('pl')=='yes')
  {
    hidebox();
    //Set_Cookie('pl', 'yes', 30, '/', '', '' );
    //alert(Get_Cookie('pl')+' xxx');
  }
  else
  {
    visiblebox();
  }
}



function hidebox()
{
  crossobj=ns6? document.getElementById("showimage") : document.all.showimage
 
  if (ie4||ns6)
  {
    //crossobj.style.visibility="hidden";
    crossobj.style.display="none";	
  }
  else if (ns4)
  {
    //document.showimage.visibility="hide";
	document.showimage.display="none";
  }
  
  Set_Cookie('pl', 'yes', 1, '/', '', '' );
}

function visiblebox()
{
  crossobj=ns6? document.getElementById("showimage") : document.all.showimage
 
  if (ie4||ns6)
  {
    crossobj.style.visibility="visible";
    crossobj.style.display="inline";	
  }
  else if (ns4)
  {
    document.showimage.visibility="show";
	document.showimage.display="inline";	
  }
}


function popup_window(){
if (one_time==1)
loadornot()
}

function gotoURL(url){
  hidebox();
  location.href = url;
}

<!-- ******************************************** POP UPLAYER **************************************************  -->