function writeSubNavFlash(flashroot, id, webroot, imagesroot) {
	var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	// Check to see if the version meets the requirements for playback
	if (hasReqestedVersion) {
		// if we've detected an acceptable version
		var subpageFlashTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="544" height="63"><param name="movie" value="'+flashroot+'/nav.swf?id='+id+'&webroot='+webroot+'"><param name="quality" value="high"><embed src="'+flashroot+'/nav.swf?id='+id+'&webroot='+webroot+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="544" height="63"></embed></object>';
		document.write(subpageFlashTags);
	}
	else {
		// flash is too old or too new that we can't detect the plugin
		var subpageAlternateTags = '';
		document.write(subpageAlternateTags);
	}
}
