a1a = new Image(); a1a.src = "gifs/menu/1_st_1.gif";
a1b = new Image(); a1b.src = "gifs/menu/1_st_2.gif";
a2a = new Image(); a2a.src = "gifs/menu/2_st_1.gif";
a2b = new Image(); a2b.src = "gifs/menu/2_st_2.gif";
a3a = new Image(); a3a.src = "gifs/menu/3_st_1.gif";
a3b = new Image(); a3b.src = "gifs/menu/3_st_2.gif";
a4a = new Image(); a4a.src = "gifs/menu/4_st_1.gif";
a4b = new Image(); a4b.src = "gifs/menu/4_st_2.gif";
a5a = new Image(); a5a.src = "gifs/menu/5_st_1.gif";
a5b = new Image(); a5b.src = "gifs/menu/5_st_2.gif";
a6a = new Image(); a6a.src = "gifs/menu/6_st_1.gif";
a6b = new Image(); a6b.src = "gifs/menu/6_st_2.gif";

function zmien(skad,gdzie)
{
	skad = eval(skad + ".src");
	document [gdzie].src = skad;
}



function show5(){
	
	if (!document.layers&&!document.all)
		return
	
	var Digital = new Date()
	var hours = Digital.getHours()
	var minutes = Digital.getMinutes()
	var seconds = Digital.getSeconds()
	var day = Digital.getDate();
	var month = Digital.getMonth() + 1;
	var year = Digital.getYear();
	var dn="AM" 
	
	if (hours>12){
		dn="PM"
		hours=hours-12
	}
	
	if (hours==0)
		hours=12
	if (minutes<=9)
		minutes="0"+minutes
	if (seconds<=9)
		seconds="0"+seconds
	if(month < 10)
		month = "0"+month;

	if(day < 10)
		day = "0"+day;
	
	//change font size here to your desire
	myclock = day+ "." +month+ "."+year+", "+hours+":"+minutes+":"+seconds+" "+dn+""
	
	if (document.layers){
		document.layers.liveclock.document.write(myclock)
		document.layers.liveclock.document.close()
	}
	else if (document.all)
	liveclock.innerHTML=myclock
	setTimeout("show5()",1000)
}

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function popUpWindow_scroll(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbars=1,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
