
    if ( document.location.href.indexOf( 'velvet.hu' ) > -1 ) { document.domain = 'velvet.hu'; }
    else { document.domain = 'index.hu'; }

    var indexadengineui = Math.round( Math.random() * 10000000 );
    var same = indexadengineui;
    var adshost = 'rehs';

    function fix( a ) { a.href = a.href.replace( /NEMSPA_M./g, "" ); return true; }

    function stat( a, b )
    {
        if ( b ) { window.status = a.href.replace( /NEMSPA_M./g, "" ); }
        else { window.status = ""; }
    }

    function Is()
    {
        //browser leválogatás
        agent = navigator.userAgent.toLowerCase();
        this.agent = navigator.userAgent.toLowerCase();
        this.major = parseInt(navigator.appVersion);
        this.minor = parseFloat(navigator.appVersion);
        this.ns = ( ( agent.indexOf( 'mozilla' ) != -1 ) && ( ( agent.indexOf( 'spoofer' ) == -1 ) && ( agent.indexOf( 'compatible' ) == -1 ) ) );
        this.ns4 = ( this.ns && ( this.major <= 4 ) && ( this.minor < 5 ) );
        this.ns6 = ( this.ns && ( this.major >= 5 ) );
        this.opera = ( agent.indexOf( 'opera' ) != -1 );
        this.opera6 = ( this.major >= 6 );
        this.ie = ( agent.indexOf( "msie" ) != -1 );
        this.ie4 = ( this.ie && ( this.major == 4 ) && ( agent.indexOf( "msie 5.0" ) == -1 ) );
        this.ie5 = ( this.ie && ( this.major == 4 ) && ( agent.indexOf( "msie 5" ) != -1 ) );
        this.ie6 = ( this.ie && ( this.major == 4 ) && ( agent.indexOf( "msie 6" ) != -1 ) );
        this.ie7 = ( this.ie && ( this.major == 4 ) && ( agent.indexOf( "msie 7" ) != -1 ) );
        this.iframe = ( this.ie || this.ns6 || this.opera6 );
        this.popup = ( this.ie || this.ns6 || this.opera6 );
        this.layer = ( this.ie || this.ns6 );
    }

    var is = new Is();

    function getCookie(NameOfCookie)
    {
        if (document.cookie.length > 0)
        {
            begin = document.cookie.indexOf( NameOfCookie + "=" );
            if (begin != -1)
            {
                begin += NameOfCookie.length + 1;
                end = document.cookie.indexOf( ";", begin);
                if ( end == -1 ) { end = document.cookie.length; }
                return document.cookie.substring( begin, end );
            } else { return null; }
        }
    }

    function setCookie( NameOfCookie, expiredays )
    {
        var value = getCookie( NameOfCookie );
        if (!value) { value = 0;}
        if ( parseInt(value) <= maxMegjelenes )
        {
            value = parseInt( value ) + 1;
            var ExpireDate = new Date ();
            ExpireDate.setTime( ExpireDate.getTime() + ( expiredays * 24 * 3600 * 1000 ) );
            document.cookie = NameOfCookie + "=" + escape( value ) + ";path=/" + ( ( expiredays == null ) ? "" : "; expires=" + ExpireDate.toGMTString() );
        }
        return value;
    }

    function incCookie( NameOfCookie, expirehours )
    {
        var ExpireDate = new Date ();
        var value = getCookie( NameOfCookie );
        if (!value) { value = 1; } else { value = parseInt( value ) + 1; }
        ExpireDate.setTime( ExpireDate.getTime() + ( expirehours * 3600 * 1000 ) );
        document.cookie = NameOfCookie + "=" + escape( value ) + ( ( expirehours == null ) ? "" : "; expires=" + ExpireDate.toGMTString() );
        return value;
    }

    function webaudit( ucm, uct, where, name, auditid )
    {
        document.write( '<img' + ( ( auditid != undefined ) ? ' id="' + auditid + '"' : '' ) + ' class="pixel" src="http://audit.median.hu/cgi-bin/track.cgi?uc=' + ucm + '&amp;dc=' + ( ( where == 'top' ) ? 1 : 2 ) + '&amp;ui=' + audit_same + '" alt="" />' );
        if ( uct )
        {
            var params = new Array();
            params.push( 'uc='+ uct );
            params.push( 'sd='+ screen.width +'x'+ screen.height );
            if ( screen.colorDepth != 'undefined' ) { params.push( 'cd='+ screen.colorDepth ); }
            var referrer = encodeURIComponent ? encodeURIComponent( document.referrer ) : escape( document.referrer );
            if ( referrer != '' ) { params.push( 'rp='+ referrer ); }
            params.push( 'ui='+ same );
            document.write( '<img class="pixel" src="http://pixel.' + document.domain + '/12g?' + params.join( '&amp;' ) + '" alt="" />' );
        }
    }

    function adocean( name, margin_top, margin_bottom )
    {
        document.write( '<div style="margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px;" id="' + name + '_container">' );
        document.write( '<div id="' + name + '"></div><script type="text/javascript">ado.slave(\'' + name + '\', {myMaster: \'' + bannerCode + '\' });</script>' );
        document.write( '</div>' );
    }
 
    function banner( ade_lc, bhely_id, width, height, margin_top, margin_bottom, co )
    {
        if ( co == undefined ) { co = 1; }
        if ( is.iframe )
        {
            rnd = "uniq" + Math.round( Math.random() * 10000000 );
            document.write( '<div style="margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px;" id="' + rnd + '">' );
            document.write( '<iframe name="indexadengineframe' + same + '" src="http://' + adshost + '.' + document.domain + '/ad?lc=' + ade_lc + '&amp;ui=' + indexadengineui + '&amp;co=' + co + '&amp;cn=1&amp;do=' + document.domain + '&amp;ho=' + width + '&amp;ve=' + height + '" width="' + width + '" vspace="0" hspace="0" marginheight="0" marginwidth="0" height="' + height + '" frameborder="0" scrolling="no"></iframe>' );
            document.write( '<scr'+'ipt type="text/javascript">cont = document.getElementById( "' + rnd + '" ).parentNode.parentNode; if ( cont.id == "microsite" ) { cont.style.width = "' + width + 'px"; cont.style.marginLeft = "' + ( 220 - width / 2 ) + 'px"; }</scr'+'ipt>' );
            document.write( '</div>' );
        } else {
            document.write( '<div style="margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px;">' );
            document.write( '<a target="_top" href="http://' + adshost + '.index.hu/rd?lc=' + ade_lc + '&ui=' + indexadengineui + '"><img src="http://' + adshost + '.index.hu/ad?lc=' + ade_lc + '&amp;ui=' + indexadengineui + '" border="0" height="' + height + '" width="' + width + '"></a>' );
            document.write( '</div>' );
        }
    }

    function teszt_banner( ade_lc, bhely_id, width, height, margin_top, margin_bottom, co )
    {
        if ( co == undefined ) { co = 1; }
        if ( is.iframe )
        {
            rnd = "uniq" + Math.round( Math.random() * 10000000 );
            document.write( '<div style="margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px;" id="' + rnd + '">' );
            document.write( '<iframe name="indexadengineframe' + same + '" src="http://sher3.index.hu/ad?lc=' + ade_lc + '&amp;ui=' + indexadengineui + '&amp;co=' + co + '&amp;cn=1&amp;do=' + document.domain + '&amp;ho=' + width + '&amp;ve=' + height + '" width="' + width + '" vspace="0" hspace="0" marginheight="0" marginwidth="0" height="' + height + '" frameborder="0" scrolling="no"></iframe>' );
            document.write( '<scr'+'ipt type="text/javascript">cont = document.getElementById( "' + rnd + '" ).parentNode.parentNode; if ( cont.id == "microsite" ) { cont.style.width = "' + width + 'px"; cont.style.marginLeft = "' + ( 220 - width / 2 ) + 'px"; }</scr'+'ipt>' );
            document.write( '</div>' );
        } else {
            document.write( '<div style="margin-top: ' + margin_top + 'px; margin-bottom: ' + margin_bottom + 'px;">' );
            document.write( '<a target="_top" href="http://sher3.index.hu/rd?lc=' + ade_lc + '&ui=' + indexadengineui + '"><img src="http://sher3.index.hu/ad?lc=' + ade_lc + '&amp;ui=' + indexadengineui + '" border="0" height="' + height + '" width="' + width + '"></a>' );
            document.write( '</div>' );
        }
    }


    function eu_open( nick )
    {
        var num = Math.round( Math.random() * 100000000000 );
        window.open( 'http://index.hu/res/eu/lexikon/list_out.php?ff=look&amp;key=' + nick, 'gyaloglo' + num, 'resizable=no,status=no,width=530,height=400,top=10,left=10,scrollbars=yes' );
    }

    function gallery( o )
    {
        window.open( o.href + '&currpic=' + o.childNodes[0].src, 'IndexKepek', 'scrollbars=no,resizable=no,menu=no,width=610,height=560' );
        return false;
    }

    function flashbanner( ade_lc, id, width, height, ver )
    {
        if ( getFlashVersion() >= ver )
        {
            document.getElementById( id ).innerHTML = '';
            banner( ade_lc, 0, width, height, 0, 0 );
        }
    }

    function getFlashVersion()
    {
        var flashversion = 0;
        if ( navigator.plugins && navigator.mimeTypes.length )
        {
            var x = navigator.plugins["Shockwave Flash"];
            if( x && x.description )
            {
                var y = x.description;
                flashversion = y.charAt( y.indexOf( '.' ) - 1 );
            }
        }
        else
        {
            result = false;
            for( var i = 15; ( ( i >= 3 ) && ( result != true ) ); i-- )
            {
                   execScript('on error resume next: result = IsObject( CreateObject( "ShockwaveFlash.ShockwaveFlash.' + i + '" ) )', 'VBScript' );
                   flashversion = i;
            }
        }
        return flashversion;
    }

    function onLayerFinishedPlaying( swf_id ) { document.getElementById( swf_id   + '_container' ).style.display = 'none'; }
    function real_DoCommand( command, id, click_url )
    {
        switch ( command )
        {
            case 'hide' : document.getElementById( id + '_container' ).style.visibility = 'hidden'; break;
            case 'click' : window.open( click_url ); break;
        }
    }

    function display_layer( layers )
    {
        var shown = 0;
        for( i = 0; i < layers.length; i++ )
        {
            layer = layers[ i ]; swf_url = layer[0]; click_url = layer[1]; swf_width = layer[2]; swf_height = layer[3]; swf_length = layer[4]; swf_top = layer[5]; swf_left = layer[6]; swf_zindex = layer[7]; swf_id = layer[8]; maxmegj = layer[9]; expirehours = layer[10]; required_flash_version = layer[11]; transparent = layer[12]; custom = layer[13];
            if ( !shown )
            {
                if ( expirehours == undefined ) { expirehours = 24; }
                if ( maxmegj == undefined ) { maxmegj = 1; }
                if ( ( is.layer && ( !transparent || is.ie ) ) && ( incCookie( swf_id, expirehours ) <= maxmegj ) )
                {
                    if ( !isNaN( swf_url ) && !custom ) { swf_url = 'http://' + adshost + '.' + document.domain + '/get?ad=' + swf_url + '&dl=1&dt=swf&di=1'; }
                    if ( !isNaN( click_url ) ) { click_url = 'http://' + adshost + '.' + document.domain + '/rd?ad=' + click_url; }
                    if ( required_flash_version == undefined ) { required_flash_version = 5; }
                    if ( getFlashVersion() >= required_flash_version )
                    {
                        document.write( '<div id="' + swf_id + '_container" style="position: absolute; left: ' + swf_left + 'px; top:' + swf_top + 'px; z-index: ' + swf_zindex + '">' );
                        if ( custom )
                        {
                            document.write( '<script type="text/javascript" src="' + 'http://' + adshost + '.' + document.domain + '/get?ad=' + swf_url + '&dl=1&dt=co&di=1' + '"></script>');
                        }
                        else
                        {
                            jel = ( ( swf_url.indexOf( '?' ) != -1 ) ? '&' : '?' );
                            document.write( '<script type="text/javascript">function ' + swf_id + '_DoCommand( command, args ) { real_DoCommand( command, "' + swf_id + '", "' + click_url + '" ); }</script>');
                            document.write( '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="' + swf_width + '" height="' + swf_height + '" id="' + swf_id + '">' );
                            document.write( '<param name="movie" value="' + swf_url + jel + 'clickTag=' + escape( click_url ) + '" />' );
                            document.write( '<param name="quality" value="autohigh" />' );
                            document.write( '<param name="wmode" value="transparent" />' );
                            document.write( '<param name="swLiveConnect" value="true" />' );
                            document.write( '<embed swLiveConnect="true" src="' + swf_url + jel + 'clickTag=' + escape( click_url ) + '" quality="autohigh" width="' + swf_width + '" height="' + swf_height + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="' + swf_id + '">' );
                            document.write( '</embed>' );
                            document.write( '</object>');
                        }
                        document.write( '</div>');
                        setTimeout( "onLayerFinishedPlaying( '" + swf_id + "' )", swf_length * 1000 );
                        shown = 1;
                    }
                }
            }
        }
    }

    function popup( popname, lc, maxmegj, expirehours )
    {
        if ( expirehours == undefined ) { expirehours = 24; }
        if ( ( is.popup ) && ( incCookie( popname, expirehours ) <= maxmegj ) )
        {
            document.write('<iframe name="indexadengineframe" src="http://' + adshost + '.index.hu/ad?lc=' + lc + '&amp;ui=' + indexadengineui + '&amp;co=1" width="1" vspace="0" hspace="0" marginheight="0" marginwidth="0" height="1" frameborder="0" scrolling="no"></iframe>');
        }
    }

    function popunder( popname, lc, maxmegj, expirehours )
    {
        if ( expirehours == undefined ) { expirehours = 24; }
        if ( ( is.popup ) && ( incCookie( popname, expirehours ) <= maxmegj ) )
        {
            if (!window.name) { window.name = "pupuplaunchwindow"; }
            windowname = window.name;
            document.write('<iframe name="indexadengineframe" src="http://' + adshost + '.index.hu/ad?lc=' + lc + '&amp;ui=' + indexadengineui + '&amp;co=1" width="1" vspace="0" hspace="0" marginheight="0" marginwidth="0" height="1" frameborder="0" scrolling="no"></iframe>');
            setTimeout( "focus( windowname )", 800 );
        }
    }

    function layer( layername, lc, maxmegj, expirehours )
    {
        if ( expirehours == undefined ) { expirehours = 24; }
        if ( ( is.layer ) && ( incCookie( layername, expirehours ) <= maxmegj ) )
        {
            document.write( '<scr' + 'ipt type="text/javascript" src="http://' + adshost + '.index.hu/get?lc=' + lc + '&dl=1&dt=co"></scr' + 'ipt>' );
        }
    }

    function gyaloglo_open( nick )
    {
        var num = Math.round( Math.random() * 100000000000 );
        window.open( 'http://index.hu/x?gyal=http%3A//chat.gyaloglo.hu/php/gochat_cgyh.php%3Fusername=' + nick, 'gyaloglo'+num, 'resizable=no,status=no,width=602,height=560,top=10,left=10,scrollbars=no' );
        return false;
    }

    var theTop = 255;
    var sticky;
    window.onload = function() { sticky = document.getElementById('sticky'); if ( sticky != null ) temp = setTimeout('movesticky()', 10); }

    function movesticky()
    {
	if ( window.pageYOffset != undefined ) { scrollpos = window.pageYOffset; }
        else if ( document.compatMode == 'BackCompat' ) { scrollpos = document.body.scrollTop; }
        else { scrollpos = document.documentElement.scrollTop; }
        if ( scrollpos > theTop ) { topa = ( sticky.style.position == "absolute" ) ? scrollpos : 0; }
        else { topa = ( sticky.style.position == "absolute" ) ? theTop : theTop - scrollpos; }
        sticky.style.top = topa + 'px';
        temp = setTimeout('movesticky()', 0);
    }

    function val06map_DoFSCommand(command, args) {}
    function getFlashMovieObject(movieName)
    {
        if (window.document[movieName])
        {
            return window.document[movieName];
        }

        if (navigator.appName.indexOf("Microsoft Internet")==-1)
        {
            if (document.embeds && document.embeds[movieName])
            {
                return document.embeds[movieName];
            }
        }
        else
        {
            return document.getElementById(movieName);
        }
        return document.getElementById( movieName );
    }

    function diplayActiveControl( url, w, h )
    {
        document.write( '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="' + w + '" height="' + h + '" id="multilink">' );
        document.write( '<param name="movie" value="' + url + '">' );
        document.write( '<param name="quality" value="autohigh">' );
        document.write( '<embed src="' + url + '" quality="autohigh" width="' + w + '" height="' + h + '" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="multilink">' );
        document.write( '</embed>' );
        document.write( '</object>' );
    }

	WEBAUDIT=function() {
	    
	  this.WACID=null;
	  this.WACIDName="WACID";
	  
	  
	  this.getCookie=function(name)  {
	    var nameEQ = name + "=";
	    var ca = document.cookie.split(';');
	    for(var i=0;i < ca.length;i++)
	    {
	            var c = ca[i];
	            while (c.charAt(0)==' ') c = c.substring(1,c.length);
	            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	    }
	    return null;
	  }
	  
	  this.setCookie=function(name,value,topDomain) {
	    var date = new Date(2020,12,31,23,59,59);
	    var expires = "; expires="+date.toGMTString();
	    document.cookie = name+"="+value+expires+"; path=/; domain=" + topDomain;  
	  }
	  
	  this.generateID=function(splitter) {
	    var sp=(splitter) ? splitter : 'A';
	    var now=new Date();
	    return Date.parse(now.toGMTString()) + sp + Math.floor(Math.random()*1000000000);
	  }
	  
	  this.getTopDomain=function(fullDomain) {
	    var darabok=fullDomain.split('.');
	    return darabok[(darabok.length-2)] + '.' + darabok[(darabok.length-1)];
	  }
	  
	  this.getDomain=function(url) {
	    var urlDarabok=url.split('/');
	    return urlDarabok[2];
	  }
	  
	  this.WACID=this.getCookie(this.WACIDName);
	}	

    var wa=new WEBAUDIT();
    var felbontas = "";
    var audit_same =  Math.floor(Math.random()*1000000);
    var wa_url = "@u=";
    var wa_referrer = "@r=";

    if(wa.WACID==null)
    {
      wa.WACID=wa.generateID('A');
      wa.setCookie(wa.WACIDName,wa.WACID,wa.getTopDomain(wa.getDomain(document.URL)));
    }

    audit_same = audit_same + "@c=" + wa.WACID;
    if(screen) felbontas='@s='+screen.width+'x'+screen.height;
    if(document.referrer) wa_referrer=wa_referrer+document.referrer;
    if(document.URL) wa_url=wa_url+document.URL;
    audit_same = audit_same + felbontas + wa_url + wa_referrer;

	function $( id ) { return document.getElementById( id ); }

   function lelegezteto( id, v )
   {
     v = v * 1000000;
     b = 5000000;
     v = parseInt( v / b );
     orig = v;
     if ( v > 9999 )
     {
       k = 0; tmp = ''; v = v + ''; v = v.split( '' );
       for( i = v.length - 1; i >= 0; i-- ) { tmp = v[i] + ( ( k++  % 3 ) == 0 ? ' ' : '' ) + tmp; }
     }
     else{ tmp = v; }
     if ( !isNaN( orig ) ) { document.getElementById( id ).innerHTML = tmp + '&nbsp;db';  }
     else { document.getElementById( id ).innerHTML = 'Hibás adat'; }
   }

   function numbersonly(myfield, e, dec)
   {
     var key;
     var keychar;

     if (window.event) { key = window.event.keyCode; }
     else if (e) { key = e.which; }
     else { return true; }
     keychar = String.fromCharCode(key);

     // vezerlo karakterek
     if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) { return true; }

     // szamok
     else if ((("0123456789").indexOf(keychar) > -1)) { return true; }
     else if ( keychar == "." ) { return true; }
     else { return false; }
   }

   function number_format(a, b, c, d) {
      a = Math.round(a * Math.pow(10, b)) / Math.pow(10, b);
      e = a + '';
      f = e.split('.');
      if (!f[0]) {
        f[0] = '0';
      }
      if (!f[1]) {
        f[1] = '';
      }
      if (f[1].length < b) {
      g = f[1];
      for (i=f[1].length + 1; i <= b; i++) {
      g += '0';
      }
        f[1] = g;
      }
      if(d != '' && f[0].length > 3) {
        h = f[0];
        f[0] = '';
        for(j = 3; j < h.length; j+=3) {
          i = h.slice(h.length - j, h.length - j + 3);
          f[0] = d + i +  f[0] + '';
        }
        j = h.substr(0, (h.length % 3 == 0) ? 3 : (h.length % 3));
        f[0] = j + f[0];
     }
     c = (b <= 0) ? '' : c;
     return f[0] + c + f[1];
}

   function event_attach( event , func )
   {
     if ( window.attachEvent )
     {
       window.attachEvent( event , func );
     }
     else
     {
       if ( ( typeof( func ) ).toLowerCase() != 'function' )
       {
         return;
       }
       if ( ( typeof( document.event_handlers ) ).toLowerCase() == 'undefined' )
       {
         document.event_handlers = new Array();
       }
       if ( ( typeof( document.event_handlers[ event ] ) ).toLowerCase() == 'undefined' )
       {
         document.event_handlers[ event ] = new Array();
       }
       if ( ( typeof( eval( 'window.' + event ) ) ).toLowerCase() != 'function' )
       {
         eval( 'window.' + event + ' = function () { if ( ( typeof( document.event_handlers[ \'' + event + '\' ] ) ).toLowerCase() != \'undefined\' ) { for ( var i = document.event_handlers[ \'' + event + '\' ].length - 1 ; i >= 0  ; i-- ) { document.event_handlers[ \'' + event + '\' ][ i ](); } } } ' );
       }
       document.event_handlers[ event ][ document.event_handlers[ event ].length ] = func;
     }
   }

   function lelegezteto_check()
   {
     if ( document.getElementById( 'lelegezteto_millio' ) ) { lelegezteto( document.getElementById( 'lelegezteto_millio' ).id + '_value', document.getElementById( 'lelegezteto_millio' ).value ); }
   }

   event_attach( "window.onload", lelegezteto_check );

   function lelegezteto_write_old( millio )
   {

     document.write( '<div class="lelegezteto"><input type="hidden" id="lelegezteto_millio" value="' + millio + '" maxlength="6" onkeyup="lelegezteto( this.id + \'_value\', this.value )" onKeyPress="return numbersonly(this, event)" />' + millio + ' millió forintból&nbsp;<span id="lelegezteto_millio_value"></span> lélegeztetőgépet lehetne vásárolni.</div>' );

     document.write( '<scr'+'ipt type="text/javascript">lelegezteto( document.getElementById( \'lelegezteto_millio\' ).id + \'_value\', document.getElementById( \'lelegezteto_millio\' ).value );</scr'+'ipt>' );
     lelegezteto( document.getElementById( 'lelegezteto_millio' ).id + '_value', document.getElementById( 'lelegezteto_millio' ).value );
   }

   function lelegezteto_write( millio )
   {
     v = millio * 1000000;
     b = 5000000;
     lelegszam = parseInt( v / b );
     if ( millio > 999 ) { osszeg = millio / 1000; mertek = 'milliárd'; }
     else { osszeg = millio; mertek = 'millió'; }

     var myMod = osszeg % 1;
     if (myMod == 0) { osszeg = number_format(osszeg, 0, '', ' '); }
     else { osszeg = number_format(osszeg, 3, ',', ' '); }
//     if ( isFloat( osszeg ) ) { osszeg = number_format(osszeg, 3, ',', ' '); }
//     else { osszeg = number_format(osszeg, 0, '', ' '); }

     document.write( '<div class="lelegezteto">' + osszeg + ' ' + mertek + ' forintból&nbsp;<span>' + lelegszam + '</span> lélegeztetőgépet lehetne vásárolni.</div>' );
   }

