
	setTimeout ("changePage()", 1);

	function changePage() {
		if (self.parent.frames.length != 0)
			self.parent.location=document.location;
		}

function wypelnij(barwa) {
kolor=barwa.id
document.all[kolor].style.background='#3399FF'
}

function powrot(barwa) {
kolor=barwa.id
document.all[kolor].style.background='#FFFFFF'
}


function obraz(s,w,src) 
 {  
  Nowe=window.open("","","toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,status=no,directories=no,resizable=no,"+"height="+w+",width="+s); 
  Nowe.document.open(); 
  Nowe.document.write("<HTML><HEAD><TITLE>BOXER-MOTOR</TITLE><STYLE>BODY{BACKGROUND-REPEAT:no-repeat}</STYLE></HEAD><BODY BACKGROUND="+src+"></BODY></HTML>"); 
  Nowe.focus(); 
 }

function okno(url, name, width, height) {
	var Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no' );
	Win.focus();
}

function newItem(expiryDate)
    {
        exp = new Date(expiryDate);
        cur = new Date();
        if (cur.getTime() < exp.getTime())
		   document.write("<IMG SRC='agrafika/new.gif' WIDTH=31 HEIGHT=12 BORDER=0 ALT='new'>" );
    }

status_text();function status_text()
{window.status="MOTOTEC";setTimeout("status_text()",1);}

function zamknij() { window.close(); }


function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

