<!--
function navigator(PGNUM, PGTOTAL, PREF)
{
if (PGTOTAL > 1)
   {
   var pic_ra = '<IMG class="nav" src="http://www.stil-massiv-haus.de/images/right.gif" border=0 alt="Weiter">'
   var pic_rn = '<IMG class="nav" src="http://www.stil-massiv-haus.de/images/pixel.png" border=0 alt="">'
   var pic_la = '<IMG class="nav" src="http://www.stil-massiv-haus.de/images/left.gif" border=0 alt="Zurück">'
   var pic_ln = '<IMG class="nav" src="http://www.stil-massiv-haus.de/images/pixel.png" border=0 alt="">'
   var pic_c =  ''
   var Sep = '<IMG class="nav" src="http://www.stil-massiv-haus.de/images/pixel.png" width=3>'
   var NumOfPos = 5
   var ActPlace = 0.5
   var Dot3 = true

	document.write('<TABLE border=0 cellpadding=0 cellspacing=0><TR><TD valign=top align=right>')
	if (PGNUM > 1) { document.write('<A href="'+PREF+(PGNUM-1)+'">'+pic_la+'</A>') }
	else 				{ document.write(pic_ln) }
	document.write('</TD><TD valign="middle" "nowrap" '+pic_c+'>'+'|'+Sep)
	if (PGTOTAL > NumOfPos)
		{
		var cnt = Math.round(PGNUM -(NumOfPos /2) -1)
		var act = Math.round(NumOfPos *ActPlace)
		if (PGNUM <= act)
			{
			cnt = 0
			act = PGNUM
			}
		if (PGNUM > PGTOTAL -(NumOfPos -act))
			{
			cnt = PGTOTAL -NumOfPos 
			act = PGNUM -cnt
			}	
		}
	else
		{
		cnt = 0
		act = PGNUM
		}

	if (cnt > 0 && Dot3)
		{
		document.write('<A class="pp" href="'+PREF+cnt+'">...</A>'+Sep+'|'+Sep)
		}
	var band = NumOfPos +cnt
	var that = act +cnt
	while (cnt < band)
		{  
		cnt++
		if (cnt <= PGTOTAL)
			{
			if (cnt == that)	{ document.write('<B>'+cnt+'</B>'+Sep+'|') }
			else					{ document.write('<A class="pp" href="'+PREF+cnt+'">'+cnt+'</A>'+Sep+'|') }
			document.write(Sep)
			}
		}
	if (cnt < PGTOTAL && Dot3)
		{
		document.write('<A class="pp" href="'+PREF+(cnt+1)+'">...</A>'+Sep+'|'+Sep)
		}
	document.write('</TD><TD valign=left>')
   if (PGNUM < PGTOTAL) { document.write('<A href="'+PREF+(PGNUM+1)+'">'+pic_ra+'</A>')	}
   else 						{ document.write(pic_rn)	}
	document.write('</TD></TR></TABLE>')
	}
}
// -->

