modifiche minime per farlo funzionare
codice:
<SCRIPT LANGUAGE="JavaScript">
<!--
function init() {
	pulloutActive = 0
	pullout1 = document.getElementById('pulloutContent1').style
	pullout2 = document.getElementById('pulloutContent2').style
	pullout3 = document.getElementById('pulloutContent3').style
	pullout4 = document.getElementById('pulloutContent4').style
	pulloutShown = pullout1		// the layer that is currently shown
	pulloutShown.xpos = 0
	pulloutNew = "none"			// the layer that we will be shown next
	pulloutNew.xpos = -285
}
// Pullout Function, starts the sequence
function pullout(which) {
	if (!pulloutActive && pulloutShown != which) {
		pulloutActive = 1  // this makes it so you can't start it again until it's finished
		pulloutNew = which
		pulloutNew.xpos = -285
		pulloutLeft()
	}
}

// Slide the old layer out of view
function pulloutLeft() {
	if (pulloutShown.xpos > -285) {
		pulloutShown.xpos -= 15
		pulloutShown.left = pulloutShown.xpos+'px'
		setTimeout("pulloutLeft()",30)
	}
	else {
		hide(pulloutShown)
		show(pulloutNew)
		setTimeout("pulloutRight()",50)
	}
}

// Slide the new layer into view
function pulloutRight() {
	if (pulloutNew.xpos < 0) {
		pulloutNew.xpos += 15
		pulloutNew.left = pulloutNew.xpos+'px'
		setTimeout("pulloutRight()",30)
	}
	else {
		pulloutShown = pulloutNew
		pulloutActive = 0  // stops the sequence
	}
}
// Show/Hide Functions
function show(showobj) {
	showobj.visibility = "visible"
}
function hide(hideobj) {
	hideobj.visibility = "hidden"
}

//-->
</SCRIPT>