if ( UseFlash ) {
    // Use Flash player
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
    document.write(' id="adbtn" width="152" height="75">');
    document.write('<param name="movie" value="/ban_hm.swf"> <param name="quality" value="high"><param name="bgcolor" value="#000000">');
    document.write('<embed src="/ban_hm.swf" quality="high" bgcolor="#000000"');
    document.write(' name="adbtn" swLiveConnect="false" width="152" height="75"');
    document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
    document.write('</embed>');
    document.write('</object>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)) {
    // Netscape 2 will display the IMG tag below so don't write an extra one
    document.write('<img src="/img/adbtn.jpg" width="152" height="75" border="0">');
}
