InnerBlocks = new Array("<table width=\"240\" height=\"60\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"images/prog1.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog2.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog3.gif\" width=\"80\" height=\"55\"></td></tr><tr><form name=\"jpform10\"><td height=\"16\"><input name=\"progressive10\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform6\"><td><input name=\"progressive6\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform1\"><td><input name=\"progressive1\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size:9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form></tr></table>","<table width=\"240\" height=\"60\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"images/prog4.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog5.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog6.gif\" width=\"80\" height=\"55\"></td></tr><tr><form name=\"jpform5\"><td height=\"16\"><input name=\"progressive5\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform9\"><td><input name=\"progressive9\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform4\"><td><input name=\"progressive4\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size:9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form></tr></table>","<table width=\"240\" height=\"60\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"images/prog7.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog8.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog9.gif\" width=\"80\" height=\"55\"></td></tr><tr><form name=\"jpform3\"><td height=\"16\"><input name=\"progressive3\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform2\"><td><input name=\"progressive2\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform7\"><td><input name=\"progressive7\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size:9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form></tr></table>","<table width=\"240\" height=\"60\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"images/prog10.gif\" width=\"80\" height=\"55\"></td><td><img src=\"images/prog11.gif\" width=\"80\" height=\"55\"></td><td width=\"80\" ></td></td></tr><tr><form name=\"jpform8\"><td height=\"16\"><input name=\"progressive8\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><form name=\"jpform11\"><td><input name=\"progressive11\" readonly style=\"background-color : transparent; color: #FFFF7B;; font-family: verdana; font-size: 9px; font-weight: bold; border: 0px none; height: 12px; width: 80px;text-align : center;\"></td></form><td></td></tr></table>");
currentContentPosition = 0;
BlockOrder = new Array("10","6","1","5","9","4","3","2","7","8","11");
maxBlockPosition = 3;
var timeholder;

function scrollContentOfLayer(Sdirection) {
	clearTimeout(timeholder);
	switch (Sdirection)
	{
	case "-1": currentContentPosition = currentContentPosition - 1;break;
	case "1": currentContentPosition = currentContentPosition + 1;break;
	}
	if (currentContentPosition < 0) {currentContentPosition = 3;}
	if (currentContentPosition > 3) {currentContentPosition = 0;}
	maxBlockPosition=(currentContentPosition+1)*3;

	MM_setTextOfLayer('Scroller','',InnerBlocks[currentContentPosition])

	if (maxBlockPosition > 11) {maxBlockPosition = 11;}
	LoadProgressives();
}

function LoadProgressives()
{
	clearTimeout(timeholder);
	for (myblock=(currentContentPosition*3);myblock < maxBlockPosition;myblock++)
	{
		thisx = myblock+0;
		newx = BlockOrder[thisx];
		NewScrollProgressiveCounters(newx);
	}
    timeholder = window.setTimeout("LoadProgressives()",1000);
}

function NewScrollProgressiveCounters(prId){
        var objstr = "progressive"+prId;
		var obj;
		obj=MM_findObj(objstr);
        JP[prId] += (Inc[prId]);
        obj.value = num2dollar(JP[prId]/100);
}