function getShockwave()
{
window.open( "http://www.macromedia.com/shockwave/download/", "" );
}

function showFlash()
{
var ShockMode = 0;
var OldVersionOfPlugin = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
	else
		OldVersionOfPlugin = 1;
}
if ( ShockMode ) {
	document.writeln('<EMBED SRC="http://www.akc.com/akc.swf"');
	document.writeln(' swLiveConnect=FALSE WIDTH=500 HEIGHT=184');
	document.writeln(' LOOP=true QUALITY=autohigh BGCOLOR="#99CCFF"');
	document.writeln(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></');
	document.writeln('EMBED>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.writeln('<IMG src="http:www.akc.com/akc-flash.jpg" WIDTH=275 HEIGHT=200 BORDER=0 ALT="Flash Demo">');
	if (( navigator.appName.indexOf( "Microsoft" ) != -1 ) && ( navigator.appVersion.indexOf( "Macintosh" ) != -1 ) && ( navigator.appVersion.indexOf( "3." ) == 0 ))
	{
		document.writeln( '<P><A HREF="http://www.macromedia.com/shockwave/download/">' );
		document.writeln( '<img src="http://www.akc.com/get_shockwave.gif" WIDTH=88 HEIGHT=31 BORDER=0></' );
		document.writeln( 'A><BR>You need to download Shockwave.<P>' );
	} else {
		document.writeln( '<P><A HREF="#" onClick="getShockwave(' );
		document.writeln( "'Director 0.0','Flash 2.0'" );
		document.writeln( ')">' );
		document.writeln( '<img src="http://www.akc.com/get_shockwave.gif" WIDTH=88 HEIGHT=31 BORDER=0></' );
		document.writeln( 'A><BR>You need to download Shockwave.<P>' );
	}
	if ( OldVersionOfPlugin )
		document.writeln( '<P>This page contains a new format movie that the current Shockwave plug-in cannot handle. Please update to the new version.</' );
		document.writeln( 'P>');
}
}
