function DynamicImage (imgName, imgOff, imgOn)
{
	this.name = imgName;
	this.imgOff = loadImage(imgOff);
	this.imgOn = loadImage(imgOn);
	this.on = on;
	this.off = off;
}

function on ()
{
	document[this.name].src = this.imgOn.src;
}

function off ()
{
	document[this.name].src = this.imgOff.src;
}

function loadImage (img)
{
	imgObject = new Image()
	imgObject.src = img;
	return imgObject;
}

function quickJump(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function popupWin(locationURL, lebar, tinggi) { 
	var winLeft = (screen.width - lebar) / 2;
	var winTop = (screen.height - tinggi) / 2;
	winProp = 'width='+lebar+', height='+tinggi+', top='+winTop+', left='+winLeft+', directories=no, location=no, menubar=no, scrollbars=yes, status=no, toolbar=no, resizable=yes';
	window.open(locationURL, "player", winProp);
}