//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr' , 'span' , 'a', 'p', 'h3');

//Specify spectrum of different font sizes:
//var szs1 = new Array( 'xx-small','x-small','small','medium','large','x-large','xx-large' );
var szs = new Array( '9pt','10pt','11pt','12pt','13pt','14pt','15pt');
var startSz = 0;

function ts( trgt,inc ) {
	if (!document.getElementById) return
	var d = document, cEl = null, sz = startSz, i, j, cTags;
	
	sz += inc;
	if ( sz < 0 ) sz = 0;
	if ( sz > 5 ) sz = 1;
	startSz = sz;
		
	if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

	cEl.style.fontSize = szs[ sz ];

	for ( i = 0 ; i < tgs.length ; i++ ) 
	{
		cTags = cEl.getElementsByTagName( tgs[ i ] );
		for ( j = 0 ; j < cTags.length ; j++ ) 
		{
		  cTags[ j ].style.fontSize = szs[ sz ];
		}  
	}	
}

function to_change()
{
    ind = document.forms[0].betumeret.selectedIndex;
    val = document.forms[0].betumeret.options[ind].value;
    location.href = 'http://www.gasztrostudio.hu' + val;   
}


function kereso_urit()
{
   if(document.forms[1].keres.value != '')
   {
      document.forms[1].keres.value='';
   }
}
