function hidePopup8()
{
document.getElementById('flashpop8').style.visibility = 'hidden';
document.getElementById('flashpop6').style.visibility = 'hidden';
}
function hidePopup6()
{
document.getElementById('flashpop6').style.visibility = 'hidden';
document.getElementById('flashpop8').style.visibility = 'hidden';
}

function flashDetection8()
{

//alert("flash8");

var flashdetect;
flashdetect="<div id='flashpopContent8'>";
flashdetect+="<table width='100%' cellpadding='0' cellspacing='10'>";
flashdetect+="<tr>";
flashdetect+="<td height='104' bgcolor='#ffffff'><table width='100%'>";
flashdetect+="<tr>";


flashdetect+="<td></td>";

flashdetect+="<td><div align='right'><img src='images/btn/popup_close_btn.gif' onClick='javascript:hidePopup8()' alt='CLOSE' width='52' height='17' /></div></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="<tr>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+=" <td><div align='left'><span class='tBlackTextBold'>Once you've installed Flash 9, please refresh your browser to enjoy the full Cube experience.<br />";

flashdetect+="</div></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="<tr>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="<td><table width='100%' cellspacing='0' cellpadding='0'>";
flashdetect+="<tr>";
flashdetect+="<td align='center' colspan='2'><a href='' ><img src='images/btn/btn_refresh_off.jpg' border='0' /> </a></td>";
flashdetect+="</tr>";
flashdetect+="</table></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="</table></td>";
flashdetect+="</tr>";
flashdetect+="</table>";
flashdetect+="</div>";
//alert("flashdetect: "+flashdetect);
document.getElementById("flashpop8").innerHTML = flashdetect;
 //return flashdetect;
}


function flashDetection6()
{
var flashdetect;
flashdetect="<div id='flashpopContent6'>";
flashdetect+="<table width='100%' cellpadding='0' cellspacing='10'>";
flashdetect+="<tr>";
flashdetect+="<td height='284' bgcolor='#ffffff'><table width='100%'>";
flashdetect+="<tr>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="<td><div align='right'><img src='images/btn/popup_close_btn.gif' onClick='javascript:hidePopup6()' alt='CLOSE' width='52' height='17' /></div></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="<tr>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+=" <td><div align='left'><span class='tBlackTextBold'>We have detected you do not have the latest version of Flash Player on your computer.<br />";
flashdetect+=" This limits the full functionality of NissanUSA.com.<br /><br />";
flashdetect+=" With the current version, you can still shop for and locate your next Nissan beginning with the page below.<br />";
flashdetect+="<br />";
flashdetect+="However, for the full web experience, download Flash Player and see:<br />";
flashdetect+="</span><span class='tTableText'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; Interior and Exterior Photos and 360&#176;s<br />";
flashdetect+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; Interior and Exterior Color Selector<br />";
flashdetect+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; Product demonstrations and more</span><br />";
flashdetect+="<br />";
flashdetect+="<span class='tBlackTextBold'>Would you like to install the latest version?<br /><br /></span></div></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="<tr>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="<td><table width='100%' cellspacing='0' cellpadding='0'>";
flashdetect+="<tr>";
flashdetect+="<td width='120'><a href='http://www.adobe.com/products/flashplayer/' target='_blank'><img src='images/btn/yes.jpg' onload='setOverSrc(this);' alt='YES' name='Image37' width='47' height='21' border='0' id='Image37' /></a></td>";
flashdetect+="<td height='30'><div align='left'><a href='javascript:hidePopup6()'><img src='images/btn/no_thanks.jpg' onload='setOverSrc(this);' alt='NO THANKS' name='Image38' width='86' height='21' border='0' id='Image38' /></a></div></td>";
flashdetect+="</tr>";
flashdetect+="</table></td>";
flashdetect+="<td>&nbsp;</td>";
flashdetect+="</tr>";
flashdetect+="</table></td>";
flashdetect+="</tr>";
flashdetect+="</table>";
flashdetect+="</div>";
//alert("flashdetect: "+flashdetect);
document.getElementById("flashpop6").innerHTML = flashdetect;
 //return flashdetect;
}