﻿switch(myActiveX)
{
case(myActiveX="AskExpert"):
// FLASH OBJECT, HOME PAGE - Ask an Expert
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="89" width="510">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/askQuestion.swf">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed height="89" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/askQuestion.swf" type="application/x-shockwave-flash" width="510" quality="best" play="true">');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="Forecast"):
// FLASH OBJECT, HOME PAGE - Foreclosure Forecast Articles
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="155" width="510">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/centerColumnMenu.swf?xmlPath=/www/ForecastHomeXML.asp">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed height="155" scale="exactfit" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/centerColumnMenu.swf?xmlPath=/www/ForecastHomeXML.asp" type="application/x-shockwave-flash" width="510" quality="best" play="true">');
	document.write('\n');
	document.write('</object>');
	break	

case(myActiveX="NewsSlideshow"):
// FLASH OBJECT, HOME PAGE - News Archive
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="164" width="510">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/slideShow.swf?xmlPath=/www/slideShowxml.asp">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed height="164" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/slideShow.swf?xmlPath=/www/slideShowxml.asp" type="application/x-shockwave-flash" width="510" quality="best" play="true">');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="Testimonials"):
// FLASH OBJECT, HOME PAGE - Testimonials
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="100" width="255">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/testimonials.swf?xmlPath=/www/TestimonialsXML.asp">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed height="100" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/testimonials.swf?xmlPath=/www/TestimonialsXML.asp" type="application/x-shockwave-flash" width="255" quality="best" play="true">');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="FreeKeyInfo"):
// FLASH OBJECT, HOME PAGE - Free Key Info
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="170" width="255">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/RightColumn3tierMenu2.swf">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed height="170" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/RightColumn3tierMenu2.swf" type="application/x-shockwave-flash" width="255" quality="best" play="true">');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="HouseLogo"):
// FLASH OBJECT, ALL PAGES - Animated House Logo
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="148" width="148">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/foreclosuresSwoopanimated_houseOnly.swf">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="wmode" value="transparent">');
	document.write('\n');
	document.write('<param name="play" value="true">');				
	document.write('\n');
	document.write('<embed height="148" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/foreclosuresSwoopanimated_houseOnly.swf" type="application/x-shockwave-flash" width="148" quality="best" play="true" wmode="transparent"></embed>');
	document.write('\n');
	document.write('</object>');
	break
	
case(myActiveX="HP_NLad"):
// FLASH OBJECT, HP PAGE - Animated Newsletter Ad
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="81" width="182">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/HP_NewsletterAD.swf">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="wmode" value="transparent">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<embed height="81" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/HP_NewsletterAD.swf" type="application/x-shockwave-flash" width="182" quality="best" play="true" wmode="transparent"></embed>'); 
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="nladFlash"):
// FLASH OBJECT, HP PAGE - Animated Newsletter Ad nagscreen
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="250" width="200" style="margin: 0 0 0 0;">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/flashNL_nagScreen.swf" />');
	document.write('\n');
	document.write('<param name="quality" value="best" />');
	document.write('\n');
	document.write('<param name="wmode" value="transparent" />');
	document.write('\n');
	document.write('<param name="play" value="true" />');
	document.write('\n');
	document.write('<embed  pluginspage="http://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/flashNL_nagScreen.swf" type="application/x-shockwave-flash" width="200" height="250" quality="best" wmode="transparent" play="true"></embed>'); 
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="NavMenu"):
// FLASH OBJECT, ALL PAGES - Site Navigation Menu
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="420" width="150" name="Nav">');
	document.write('\n');
	document.write('<param name="movie" value="/NewFiles/swf2005/myDropdownmenu.swf?xmlPath=' + xmlPath + '&nState=' + navState +'">');
	document.write('\n');
	document.write('<param name="quality" value="best">');
	document.write('\n');
	document.write('<param name="play" value="true">');
	document.write('\n');
	document.write('<param name="scale" value="exactfit">');
	document.write('\n');
	document.write('<embed name="Nav" scale="exactfit" height="420" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/NewFiles/swf2005/myDropdownmenu.swf?xmlPath=' + xmlPath + '&nState=' + navState + '" type="application/x-shockwave-flash" width="150" play="true" quality="best"></embed>');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="StateLawsMap"):
// FLASH OBJECT, /pages/state_laws.asp - US MAP for STATE LAWS
	document.write('<object id="US_map" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" height="373" width="640" VIEWASTEXT>');
	document.write('\n');
	document.write('<param name="movie" value="StateLawsMap.swf">');
	document.write('\n');
	document.write('<param name="wmode" value="transparent">');
	document.write('\n');
	document.write('<param name="quality" value="high">');				
	document.write('\n');
	document.write('<param name="bgcolor" value="#FFFFFF">');		
	document.write('\n');
	document.write('<embed height="373" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="StateLawsMap.swf" quality="high" bgcolor="#FFFFFF" swLiveConnect="FALSE" wmode="transparent" type="application/x-shockwave-flash" width="640">');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="StatesMap"):
    // FLASH OBJECT, /lists/default.asp - US MAP 
	document.write('<object id="states" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="544" height="317" align="middle">');
	document.write('\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('\n');
    document.write('<param name="movie" value="/lists/images/states.swf" />');
	document.write('\n');
    document.write('<param name="loop" value="false" />');
	document.write('\n');
    document.write('<param name="menu" value="false" />');
	document.write('\n');
    document.write('<param name="quality" value="medium" />');
	document.write('\n');
    document.write('<param name="wmode" value="opaque" />');
	document.write('\n');
    document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('\n');
    document.write('<embed name="states" src="/lists/images/states.swf" loop="false" menu="false" quality="medium" wmode="opaque" bgcolor="#ffffff" width="544" height="317" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('\n');
    document.write('</object>');
	break
	
case(myActiveX="CruiseShipAnim"):
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" width="286" height="43" id="CruiseAnime" align="middle">');
	document.write('\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('\n');
	document.write('<param name="wmode" value="opaque" />');
	document.write('\n');
	document.write('<param name="movie" value="/www/grafx/CruiseAnime.swf" />');
	document.write('\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />');
	document.write('\n');
	document.write('<embed src="/www/grafx/CruiseAnime.swf" quality="high" bgcolor="#ffffff" width="286" height="43" name="CruiseAnime" align="middle" allowScriptAccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('\n');
	document.write('</object>');
	break


case(myActiveX="NewYearLabHome"):
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="666" height="128" id="NewYearLabHome" align="middle">');
	document.write('\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('\n');
	document.write('<param name="wmode" value="opaque" />');
	document.write('\n');
	document.write('<param name="movie" value="/www/grafx/NewYearLab.swf" />');
	document.write('\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#757575" />');
	document.write('\n');
	document.write('<embed src="/www/grafx/NewYearLab.swf" quality="high" bgcolor="#757575" width="666" height="128" name="NewYearLabHome" align="middle" allowScriptAccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="NewYearLab"):
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="666" height="128" id="NewYearLab" align="middle">');
	document.write('\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('\n');
	document.write('<param name="wmode" value="opaque" />');
	document.write('\n');
	document.write('<param name="movie" value="/www/grafx/NewYearLab_nolink.swf" />');
	document.write('\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#757575" />');
	document.write('\n');
	document.write('<embed src="/www/grafx/NewYearLab_nolink.swf" quality="high" bgcolor="#757575" width="666" height="128" name="NewYearLab" align="middle" allowScriptAccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('\n');
	document.write('</object>');
	break

case(myActiveX="CruiseTeleConf"):
	document.write('<object id="MediaPlayer" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components..." height="45" width="200">');
	document.write('\n');
	document.write('<param name="url" value="http://www.foreclosures.com/www/TCAStorage/TeleconfCruise07192007.mp3">');
	document.write('\n');
	document.write('<param name="autostart" value="true">');
	document.write('\n');
	document.write('<param name="uimode" value="full">');
	document.write('\n');
	document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="200" height="45" src="http://www.foreclosures.com/www/TCAStorage/TeleconfCruise07192007.mp3" filename="http://www.foreclosures.com/www/TCAStorage/TeleconfCruise07192007.mp3" autostart="True" showcontrols="True" wmode="opaque" showstatusbar="True" showdisplay="False" autorewind="True">');
document.write('\n');
document.write('</embed>')
document.write('\n');
document.write('</object>');
	break
}
