if (xdetect_easyDetect('flash')) {
    // write out parts of the page for including the Flash animation:
    document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" WIDTH="600" HEIGHT="350">');
    document.write('<PARAM NAME="movie" VALUE="website-design.swf">');
    document.write('<PARAM NAME="quality" VALUE="best">');
    document.write('<EMBED SRC="website-design.swf" TYPE="application/x-shockwave-flash" WIDTH="600" HEIGHT="350" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" QUALITY="best" PLAY="true">');
    document.write('</object>');
    // (suggest that the Flash animation loaded here be in an early-version format that performs further version checks)
 //} else if (xdetect_easyDetect('quicktime')) {
    // write out parts of the page for including the Flash animation using Quicktime:
//    document.write('<EMBED SRC="intro2.swf" WIDTH="600" HEIGHT="350" TYPE="video/quicktime" CONTROLLER="false" AUTOPLAY="true" QUALITY="best">');
// } else if (xdetect_easyDetect('director')) {
    // write out parts of the page for including the Flash animation using Shockwave:
    // document.write('<EMBED SRC="intro2.swf" WIDTH="600" HEIGHT="350" TYPE="application/x-director" AUTOPLAY="true" QUALITY="best">');
    // (suggest that the Flash animation loaded here be in an early-version format that performs further version checks)
} else {
    // HTML-only version
    document.write('<IMG SRC="noflash-web.jpg" WIDTH="600" HEIGHT="314" BORDER="0" ALT="YOU NEED THE FLASH PLUG-IN" USEMAP="#noflash-mainbc356898"><BR>');
    document.write('<IMG SRC="../noflash-menu.gif" WIDTH="600" HEIGHT="36" BORDER="0" USEMAP="#noflash-menubc3563f7" ALT="menu">');
    document.write('<MAP NAME="noflash-menubc3563f7"><AREA SHAPE="rect" COORDS="500,18,587,29" HREF="../contact-us.shtml" TITLE="Contact Us" ALT="CONTACT US"><AREA SHAPE="rect" COORDS="502,5,586,14" HREF="../freelance-professional/copywriting-services.shtml" TITLE="Copywriting" ALT="COPYWRITING"><AREA SHAPE="rect" COORDS="381,7,476,28" HREF="../search-engine-optimisation/marketing-promotion.shtml" TITLE="Search Engine Optimisation" ALT="SEARCH ENGINE OPTIMISATION"><AREA SHAPE="rect" COORDS="249,19,357,29" HREF="../email-marketing/direct-services.shtml" TITLE="Email Marketing" ALT="EMAIL MARKETING"><AREA SHAPE="rect" COORDS="251,5,356,15" HREF="web-design-company-uk.shtml" TITLE="Website Design" ALT="WEBSITE DESIGN"><AREA SHAPE="rect" COORDS="130,5,232,14" HREF="../graphic-design-company-bristol/graphic-design-branding.shtml" TITLE="Graphic Design" ALT="GRAPHIC DESIGN"><AREA SHAPE="rect" COORDS="131,16,205,28" HREF="../multimedia-design-company/flash-website-design.shtml" TITLE="Multimedia" ALT="MULTIMEDIA"><AREA SHAPE="rect" COORDS="6,19,107,27" HREF="../design-portfolio/website-design-clients.shtml" TITLE="View Portfolio" ALT="VIEW PORTFOLIO"><AREA SHAPE="rect" COORDS="6,5,99,15" HREF="../index.html" TITLE="Homepage" ALT="INTRODUCTION"></MAP>');
    document.write('<MAP NAME="noflash-mainbc356898"><AREA SHAPE="rect" COORDS="440,233,581,296" HREF="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" TARGET="_blank" TITLE="Download the Flash plug-in" ALT="DOWNLOAD FLASH"></MAP>');
}