function Okno(picURL, picTitle)
	{ 
	picName = new Image();
   picName.src = picURL;
   wys = picName.height + 50;
   sze = picName.width + 50;
   window.open(picURL,'' ,'toolbar=no, width='+sze+',height='+wys+' ');
	};

function clock() 
	 {
    var now = new Date();
    var canvas = document.getElementById('zegarek');

    if (canvas.getContext)
	 {
        var ctx = canvas.getContext('2d');
        ctx.save();
        ctx.clearRect(0,0,101,121);
        ctx.translate(50,50);
			
        ctx.strokeStyle = "#F0F0F0";
        ctx.lineWidth = 6;
        ctx.lineCap = "round";
        ctx.lineJoin = "round";
        ctx.globalAlpha = 1;

        var sec = now.getSeconds();
        var min = now.getMinutes();
        var hr  = now.getHours();
        
        if ( hr > 12 )
        	{
        	hr = hr - 12;
        	};

		  ctx.lineWidth = 2;	        

		  for (n=1; n<5; n++)
		  {
		  ctx.rotate(Math.PI/2);	
		  ctx.beginPath();
        ctx.moveTo(35,0);
        ctx.lineTo(45,0);
        ctx.stroke();
		  };
		  
		  ctx.lineWidth = 2;
		  
  		  for (n=1; n<13; n++)
		  {
		  ctx.rotate(Math.PI/6);	
		  ctx.beginPath();
        ctx.moveTo(42,0);
        ctx.lineTo(45,0);
        ctx.stroke();
		  };
		  		  
	    if (! (navigator.appName == "Microsoft Internet Explorer") )	
		  {  
		  
		  ctx.lineWidth = 2;	      
		  
  		  for (n=1; n<61; n++)
		  {
		  ctx.rotate(Math.PI/30);	
		  ctx.beginPath();
        ctx.moveTo(45,0);
        ctx.lineTo(46,0);
        ctx.stroke();
		  };		  
		  
		  };
		  
		  ctx.lineWidth = 6;	
        ctx.rotate(-Math.PI/2);		
        ctx.strokeStyle = "#0093DD";
		
        ctx.rotate( hr*(Math.PI/6) + (Math.PI/360)*min + (Math.PI/21600)*sec );
        ctx.beginPath();
        ctx.moveTo(0,0);
        ctx.lineTo(25,0);
        ctx.stroke();
        ctx.rotate( - (hr*(Math.PI/6) + (Math.PI/360)*min + (Math.PI/21600)*sec) );

        ctx.rotate( (Math.PI/30)*min + (Math.PI/1800)*sec );
        ctx.beginPath();
        ctx.moveTo(0,0);
        ctx.lineTo(40,0);
        ctx.stroke();
        ctx.rotate( - ((Math.PI/30)*min + (Math.PI/1800)*sec) );

        ctx.rotate(sec * Math.PI/30);
        ctx.strokeStyle = "#FE6905";
        ctx.lineWidth = 3;
        ctx.beginPath();
        ctx.moveTo(0,0);
        ctx.lineTo(40,0);
        ctx.stroke();
        ctx.rotate(- sec * Math.PI/30);
        
        ctx.restore();
    };
};

function init() {
    setInterval('clock()',1000);
};

function mover(mid) {

	 document.getElementById(mid).className = 'menu_bon';
};

function mout(mid) {
    
	 document.getElementById(mid).className = 'menu_bof';
};

function ofover(mid) {

	 document.getElementById(mid).className = 'oferta_bon';
};

function ofout(mid) {
    
	 document.getElementById(mid).className = 'oferta_bof';
};

//window.onload = init();
