// flash tag for top navigation
topflash = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'";
topflash += "codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0'";
topflash += "width=740 height=90>";
topflash += "<param name=movie value='/ngkids/av/insideTop.swf'>";
topflash += "<param name=quality value=high>";
topflash += "<param name=bgcolor value=#999900>";
topflash += "<embed src='/ngkids/av/insideTop.swf' quality=high bgcolor=#999900  width=740 height=90 type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";
topflash += "</object>";

// top no flash html
notop = "<img alt='National Geographic Kids Magazine Image Map Navigation' src='/ngkids/images/topnav_inside.gif' width='740' height='90' border='0' usemap='#topnav_inside_Map' >";

// flash tag for side navigation
sideflash = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'";
sideflash += "codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0'";
sideflash += "width=170 height=126>";
sideflash += "<param name=movie value='/ngkids/av/insideNav.swf'>";
sideflash += "<param name=quality value=high>";
sideflash += "<param name=bgcolor value=#999900>";
sideflash += "<embed src='/ngkids/av/insideNav.swf' quality=high bgcolor=#999900  width=170 height=126 type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";
sideflash += "</object>";

// side no flash html
noside = "<p><img src='/ngkids/images/subnav_inside.gif' width='170' height='126' border='0' alt='SUB NAVIGATION IMAGE MAP' usemap='#subnav_inside_Map'></p>";

var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('</SCRIPT\> \n');
}