<!DOCTYPE html>
<html>
<head>
<title>Example</title>
</head>
<body>
<button onclick="SlideBusIn();NewImage();">Push This Button</button>
<script type="text/javascript">
function SlideBusIn()
{
// do your thing here
alert('Bus has been slid.')
}
function NewImage()
{
// grab and change old image for new image
alert('Images changed.')
}
</script>
</body>
</html>