function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no' );
} 


function onimg() {

new Effect.Appear('dok_glowny', { duration: 0.5, queue: { position: 'end', scope: 'xscope' } }); 
new Effect.Pulsate('shake', { duration: 2.0, queue: { position: 'end', scope: 'xscope' } }); 
//new Effect.Shake('hi', { duration: 5.0,queue: { position: 'end', scope: 'xscope' } }); 


var queue = Effect.Queues.get('xscope');
queue.each(function(effect) {  });

//Effect.Appear('dok_glowny', { duration: 0.5 });
//Effect.Highlight('hi', { startcolor: '#ffff99', endcolor: '#ffffff' ,duration: 1.0 });

Effect.Shake('hi', { duration: 5.0 });
 
}


function onimg1() {


//new Effect.Appear('dok_glowny', { queue: { position: 'end', scope: 'xscope' } }); 
new Effect.Appear('dok_glowny', { duration: 0.5, queue: { position: 'end', scope: 'xscope' } }); 

var queue = Effect.Queues.get('xscope');
queue.each(function(effect) {  });

Effect.Appear('dok_glowny', { duration: 0.5 });

 
}


	
function onimg_dane() {

new Effect.Appear('dok_glowny', { queue: { position: 'end', scope: 'xscope' } }); 
new Effect.Appear('blinddown_demo', { duration: 0.4, queue: { position: 'end', scope: 'xscope' } }); //gal

var queue = Effect.Queues.get('xscope');
queue.each(function(effect) {  });

 
}


function onimg_car() {

new Effect.Appear('dok_glowny', { duration: 0.0, queue: { position: 'end', scope: 'xscope' } }); 
new Effect.Appear('opacity_demo', { duration: 0.5, queue: { position: 'end', scope: 'xscope' } }); //car_fot
new Effect.Appear('blinddown_demo', { duration: 0.4, queue: { position: 'end', scope: 'xscope' } }); //gal
new Effect.Appear('tekst_car', { duration: 0.4, queue: { position: 'end', scope: 'xscope' } });
new Effect.Appear('kolory', { duration: 0.3, queue: { position: 'end', scope: 'xscope' } });


var queue = Effect.Queues.get('xscope');
queue.each(function(effect) {  });



}
