function writeFlash(sSrc,nWidth,nHeight)	{
	  flash1 =  '<object type="application/x-shockwave-flash" data="'+sSrc+'" width="'+nWidth+'" height="'+nHeight+'">';
    flash1 += '<param name="movie" value="'+sSrc+'" />';
    flash1 += '<param name="wmode" value="transparent" />';
    flash1 += '</object>';
    document.write(flash1);
}

function showMore(url, width, height,scroll) {
  var leftScreen=(navigator.appName.indexOf("Microsoft")>=0)?(window.screenLeft+117):(window.screenX+117);
  var topScreen=(navigator.appName.indexOf("Microsoft")>=0)?(window.screenTop+100):(window.screenY+100);
  winStats='toolbar=no,location=no,directories=no,menubar=no,'
  if(scroll) winStats+='scrollbars=no,'
    else winStats+='scrollbars=no,'
      winStats+='width='+width+',height='+height
  if (navigator.appName.indexOf("Microsoft")>=0) { winStats+=',left='+leftScreen+',top=0'}
  else{winStats+=',screenX='+leftScreen+',screenY=0' }

  //if (!window.opera) {
    PopUpWin=window.open("","PopUpWin",winStats);
    PopUpWin.close();
  //}
  PopUpWin=window.open(url,"PopUpWin",winStats);
}


function getObj(name){
	var obj;
	if (document.getElementById(name)){
		obj = document.getElementById(name);
	}
	return obj;
}
		
function itemOn(elem_id, jazyk)
{
	elem=getObj(elem_id);
	elem.src='../images/'+elem_id+'_on_'+jazyk+'.gif';
}

function itemOff(elem_id, jazyk)
{
	elem=getObj(elem_id);
	elem.src='../images/'+elem_id+'_off_'+jazyk+'.gif';
}

function resetInput(elem_id, hodnota)
{
	input1=getObj(elem_id);
	input1.value=hodnota;
}



