window.onerror = null;
var numItems = 3       //How many menuitems do you want?

var circleXstart = 168 //Where should the circle start and end, x position
var circleYstart = 86 //Where should the circle start and end, y position

/****************************************************************************
The init function. This is where you set the placement of the Buttons.
****************************************************************************/
function slideballInit(){
	oBut = new Array()
	for (var i=0; i<=numItems; i++){
		oBut[i] = new makeObj('divButton'+i)
	}
	oCircle = new makeObj('divCircle')

	//Set the placement of each individual button below.
	//Syntax: oBut[num].moveIt(xplacement,yplacement)
	oBut[0].moveIt(163,140)
	oBut[1].moveIt(163,163)
	oBut[2].moveIt(163,186)
         oBut[3].moveIt(163,209)

         oCircle.moveIt(circleXstart,circleYstart)
	//Showing the buttons
	for(var i=0; i<=numItems; i++){
		oBut[i].showIt()
	}
}