
function getFlash(name,width,height){
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ID=' + name + ' width=' + width + ' height=' + height + '>');
	document.write('<param name="wmode" value="transparent"/><PARAM NAME=movie VALUE="flash/' + name + '.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF>');
	document.write('<EMBED src="flash/' + name + '.swf" wmode="transparent" quality=high bgcolor=#FFFFFF '); 
	document.write(' swLiveConnect=FALSE width=' + width + ' height=' + height + ''); 
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'); 
	document.write('</OBJECT>');
}

function getRndImg(){
	var ic = 3;     // Number of alternative images
	var imgs = new Array(ic);  // Array to hold filenames
	        
	imgs[0] = "/images/frog1.jpg";
	imgs[1] = "/images/frog2.jpg";
	imgs[2] = "/images/frog3.jpg";
	
	function pickRandom(range) {
	if (Math.random)
	return Math.round(Math.random() * (range-1));
	else {
	var now = new Date();
	return (now.getTime() / 1000) % range;
	}
	}
	// Write out an IMG tag, using a randomly-chosen image name.
	var choice = pickRandom(ic);
	
	document.writeln('<img src="'+imgs[choice]+'" border="0" alt="">');
}