//if the user has the correct version of flash give it to them, otherwise give them html version
			//ok = false;
      if (ok){
				navCode = '<obj' + 'ect classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="720" height="180" id="cc_menu" align="middle">'+
									'<par' + 'am name="allowScriptAccess" value="sameDomain" />'+
									'<par' + 'am name="FlashVars" value="'+flashVars+'"/>'+
                	'<par' + 'am name="movie" value="'+flashMovie+'"/>'+
									'<par' + 'am name="loop" value="false" />'+
									'<par' + 'am name="menu" value="false" />'+
									'<par' + 'am name="quality" value="high" />'+
                	'<par' + 'am name="wmode" value="opaque" />'+
									'<par' + 'am name="bgcolor" value="#000000" />'+
									'<emb' + 'ed src="'+flashMovie+'" flashvars="'+flashVars+'" wmode="opaque" loop="false" menu="false" quality="high" bgcolor="#000000" width="720" height="180" name="cc_menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>'+
               '</obj' + 'ect>';
				navCode = trimString(navCode); //ESPN fix for the flash being ripped out
				document.write(navCode);
			}
			if(!ok || navCode == '') { //ESPN fix for the flash being ripped out
      	navCode = '<table cellspacing="0" cellpadding="0" id="menu1" class="ddmx">'+
        						'<tr>'+
                    	'<td style="font-size: 5px;">&nbsp;'+
                      '</td>'+
                    '</tr>'+
                    '<tr>'+
                        '<td>'+
                            '<a class="item1" href="http://www.clearcube.com">ClearCube Home</a>'+
                						'<div class="section">'+
                						'</div>'+
                        '</td>'+
						 '<td>'+
                            '<a class="item1" href="http://www.clearcube.com/support/controller/home.php">Home</a>'+
                						'<div class="section">'+
                						'</div>'+
                        '</td>'+
                        '<td>'+
                            '<a class="item1" href="http://www.clearcube.com/support/controller/advanced_search.php">Advanced Search</a>'+
                            '<div class="section">'+
                            '</div>'+
                        '</td>'+
                        '<td>'+
                            '<a class="item1" href="http://www.clearcube.com/support/controller/product_updates.php">Downloads</a>'+
                            '<div class="section">'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/product_updates.php">Product Updates</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/manuals.php">Manuals</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/drivers.php">Drivers</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/bios.php">BIOS</a>'+                                
                                '<a class="item2" href="http://www.clearcube.com/support/controller/tech_docs.php">Tech Docs</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/white_papers.php">White Papers</a>'+
								'<a class="item2" href="http://www.clearcube.com/support/controller/regulatory_docs.php">Regulatory & Environmental Docs</a>'+
                						'</div>'+
                        '</td>'+
                        '<td>'+
                            '<a class="item1" href="http://www.clearcube.com/support/controller/cases.php">Support</a>'+
                            '<div class="section">'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/cases.php">Secure Area</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/ask_question.php">Ask a Question</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/controller/rma.php">RMA Request</a>'+
                                '<a class="item2" href="http://www.clearcube.com/support/downloads/Customer Process for Returning RMAs.pdf">Return Instructions</a>'+
                						'</div>'+
                        '</td>'+
                				'<td>'+
                            '<div class="item1" style="width: 145px;">'+
                						'</div>'+
                       '</td>'+
                				
                    '</tr>'+
                    '</table>'+
                		'<table border="0" cellpadding="0" cellspacing="0" summary="">'+
                    	'<tr>'+
                				'<td><img src="http://www.clearcube.com/support/view/images/nav_support_bg.jpg" alt="" /></td>'+
											'</tr>'+
                    '</table>';
					//document.getElementById('divider').innerHTML= navCode;
					document.write(navCode);
					
					var ddmx = new DropDownMenuX('menu1');
          ddmx.delay.show = 0;
          ddmx.delay.hide = 400;
          ddmx.position.levelX.left = 0;
          ddmx.init();
			} 
			
      

