﻿

function multirow_getHTML()
{
	var stopV = startV + 12;
	if (typeof multirow_itemList != 'undefined')
	{
		myoutput = "";
		for (i = startV; i<stopV; i++)
		{
			if (i >= multirow_itemList.length)
				break;
			myitem = multirow_itemList[i];
			myoutput = myoutput + '<li style="float:left;"><div class="thumb_item" style="background: transparent url(' + myitem.url + ') no-repeat scroll center center;" title="' + myitem.title + '"><div style="border-right: 1px solid #CACACA; border-bottom: 1px solid #CACACA; margin-top: 0px; position: absolute; background-color:#FFFFFF; font-size: 9px; line-height: 11px;">Bild ' + (i+1) + '</div><a href="' + myitem.linkurl + '"><img src="/external/gfx/defaults/pixel.gif" width="147" height="110" border="0" style="margin:0px;padding:0px;"></a></div></li>';
		}
		writeUL(myoutput);
	}
};

function fwd()
{
	startV = startV + 12;
	if (startV >= maxImageV)
		startV = 0;
	multirow_getHTML();
}
function bck()
{
	startV = startV - 12;
	if (startV < 0)
		startV = firstImageLastPageV;
	multirow_getHTML();
}

function writeUL(myList)
{
	document.getElementById("imgThumbs").innerHTML = myList;
}

multirow_getHTML();

