//--------------------------------------------------------------
function renderSWF(filejpg, fileswf, width, height) {
  flashVersion = getFlashVersion();
  if ( fileswf != "" && flashVersion >= 5) {
//    alert("mehet a flash: "+fileswf);
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="'+width+'" HEIGHT="'+height+'" >\n');
  document.write('  <param name=movie value="'+fileswf+'">\n');
  document.write('  <param name=quality value=high>\n');
  document.write('  <param name="wmode" value="transparent">\n');
  document.write('  <PARAM NAME=scale VALUE=exactfit>\n');
  document.write('  <embed src="'+fileswf+'" scale=exactfit quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" WIDTH="'+width+'" HEIGHT="'+height+'" wmode="transparent">\n');
  document.write('  </embed>\n');
  document.write('</object>\n');
  }
  else {
//    alert("csak jpg: "+filejpg);
    if ( filejpg != "" ) {
      document.write('<img src="'+filejpg+'" border="0" width="'+width+'" height="'+height+'">');
    }
  }
}

//--------------------------------------------------------------
function openPopUpWindow (page, name, width, height) 
{
  if ( typeof(width) == "undefined" ) {
    var width=380;
  }
  if ( typeof(height) == "undefined" ) {
    var height=150;
  }
  
  eval('puw_'+name+' = window.open("'+page+'","puw_'+name+'","width='+width+',height='+height+',scrollbars=no,resizable=yes")');
  eval('puw_'+name+'.focus()');
}
//--------------------------------------------------------------



//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

/*
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
*/