function flashwindow(file) {

if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) {
		var scw=screen.Width-10;
		var sch=screen.Height-52;
		popupWin=window.open (file + ".swf" , 'remote', "left=0,top=0,width=" + scw + ",height=" + sch);
		}
	else if (navigator.appName == 'Netscape' || navigator.platform == 'MacPPC') {
		var scw=screen.width;
		var sch=screen.height;
		popupWin=window.open (file + ".swf" , 'remote', "screenX=0,screenY=0,outerWidth=" + scw + ",outerHeight=" + sch);
		}
	else {
		if (file == 'map'){
		document.write("<img src='map.gif'>");
		}
	else{
			document.write("<HTML><BODY><CENTER><H1>This toy needs Netscape or Internet Explorer 4.0 or higher. Sorry.</H1></CENTER></BODY></HTML>")
			document.close();
		}
	}
}

function showpic(picture , wwidth , wheight) {
var x = wwidth + 20
var y = wheight + 30
		popupWin=window.open ( picture , 'remote', "left=0,top=0,width=" + x + ",height=" + y );
}


function amazing(price,item){
alert("Yes, that's an astonishing R" + price + " for a top banana " + item + "!!")
}


function footer(name) {
document.write("<font class=BaseBar><b>http://www.pineapplecharm.com/chillage/" + name + ".htm</b><br>Page maintained by <b><a href='mailto:carl@pineapplecharm.com' class=BaseLink>carl@pineapplecharm.com</a></b></font>");
}

function whoover(){
document.who.src = "who2.gif";
}

function whoout(){
document.who.src = "who1.gif";
}


function whyover(){
document.why.src = "why2.gif";
}

function whyout(){
document.why.src = "why1.gif";
}


function whereover(){
document.where.src = "where2.gif";
}

function whereout(){
document.where.src = "where1.gif";
}


function whatover(){
document.what.src = "what2.gif";
}

function whatout(){
document.what.src = "what1.gif";
}


function enterover(){
document.enter.src = "enter2.gif";
}

function enterout(){
document.enter.src = "enter1.gif";
}



function homeover(){
document.home.src = "home2.gif";
}

function homeout(){
document.home.src = "home1.gif";
}

