﻿<!-- 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
var source = document.frmMain.hfSource.value;
if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="525" height="327"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="App_Themes/';
    oeTags += source;
    oeTags += '/home_main_image_2.swf"/><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />';
    oeTags += '<embed skinid="sknSWflash" src="App_Themes/';
    oeTags += source;
    oeTags += '/home_main_image_2.swf" quality="high" bgcolor="#ffffff" '
    + 'width="525" height="327" name="home_main_image" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
   
    document.write(oeTags);   // embed the flash movie
        
  } else {  // flash is too old or we can't detect the plugin
    //var strSource = '<%=Session.Item("sourcecode")%>';
	//var alternateContent = '<asp:hyperlink runat=server  id="hlOneCard" text="One Card your whole family can use for discount savings" NavigateUrl="<%=Session.Item("SecureSite") & "/join_3.aspx"%>></asp:hyperlink><asp:image id="imgCouplenoflash" runat=server imageurl="App_Themes/'+strSource+'/main_image_couple_noflash.jpg" alternatetext="One Card your whole family can use for discount savings" height="327" width="525" borderstyle="none" />';
	//alert(alternateContent);
	

    //	document.write(alternateContent);  // insert non-flash content
    document.getElementById('DivNoFlash').style.position='relative';
    document.getElementById('DivNoFlash').style.visibility='visible';
   
  }
// -->