﻿
  function fncX()
  {
		alert();
  }

  function fncPicKlik(strSmer)
    {
      var S,S2;
      var i;
      var elmCurr;
      S = strSmer;
      elmCurr = window.open("","p",'toolbar=0,location=0,directories=0,status=0,menubar=0,width=540,height=410,resizable=1,top=0,left=0');

      var script = 'function fncX(w, h) '
      + '{'
      + 'window.resizeTo(w+40, h+60);'
      + 'window.focus();'
      + '}';

      var S2=  
      '<BODY bgcolor="#ffffff">'+'<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><IMG SRC="'+S+'" onload="fncX(this.width, this.height);"></td></tr></table>'+'</BODY>';

      elmCurr.document.open();
      elmCurr.document.write('<HTML><HEAD><TITLE>FORD AUTOEDEN s.r.o. :::::::::::::::</TITLE>');

	  elmCurr.document.write("<scr"+"ipt language='JavaScript' type='text/javascript'>");
	  elmCurr.document.write(script);
	  elmCurr.document.write("<\/scr"+"ipt>");

      elmCurr.document.write('</HEAD>');
      elmCurr.document.write(S2);
      elmCurr.document.write('</HTML>');
      elmCurr.document.close();
      elmCurr.focus();
    }
// ----------------------------- JavaScript - funkce ---------------------------------------------------------------------------------------------------------
  function fncOdkBnk(strSmer)
    {
    	window.open(strSmer,"NoveOkno",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width=750,height=550,resizable=1,top=0,left=0');
    }  
    
 function fncOdkBnk2(strSmer)
    {
    	document.location.href=strSmer
    }  

  function fncOver(intIden)
    {	
		var elmA = document.getElementById('A'+intIden);
		elmA.className='t10p';		
    }  

  function fncOut(intIden)
    {
		var elmA = document.getElementById('A'+intIden);
		elmA.className='t10';				
    }  


  function fncZmena(intSmer,strValue)
    {
      var S;
      var i;
      var elmCurr;
      eval('elmCurr = document.NahledPic'+intSmer);
      S = elmCurr.src;
      S = S.substring(0,(S.length)-6);           // dosad podretezec ciselnou hodnotu z id
      S =  S+strValue;
      elmCurr.src = S;
    }
  function fncPicKlikAutoEden(intSmer)
    {
      var S,S2;
      var i;
      var elmCurr;
      eval('elmCurr = document.NahledPic'+intSmer);
      S = elmCurr.src;
      S = S.replace('picn','picf');
      elmCurr = window.open("","p",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width=450,height=330,resizable=1,top=0,left=0');
      var S2=''+
      '<HTML><HEAD><TITLE>AUTOEDEN</TITLE><style type="text/css"><!--a {  font: 11px Verdana, Arial, Helvetica, sans-serif; color: #666666}--></style></HEAD>'+
      '<BODY>'+'<CENTER>'+'<IMG SRC="'+S+'"border="1">'+
      '<BR><A href="javascript:window.close();" Style="Color: Black; ">zavřit okno</A>'+'</CENTER>'+'</BODY></HTML>';
      elmCurr.document.open();
      elmCurr.document.write(S2);
      elmCurr.document.close();
      elmCurr.focus();
    }

	// ----------------------------- JavaScript - funkce ---------------------------------------------------------------------------------------------------------
		