function banner_click_ns202_DoFSCommand(command, args) {
    var add_url_202 = "";
    if(ttnet_URL_202.indexOf("http") == -1){
        if(ttnet_URL_202.indexOf("cttnet") == -1){
            add_url_202 = "http://www.ttnet.net";
        }else{
            add_url_202 = "http://wenbi.ttnet.net";
        }
    }
    if (command == "banner_click"){
//        window.open(add_url_202+ttnet_URL_202);
    }
}

function show_banner202() {
    var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
    if ( plugin ) {
	    plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 3;
    }else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && navigator.userAgent.indexOf("Windows")>=0) {
        document.write('<script language=vbscript\>\non error resume next\nSub banner_click_ns202_FSCommand(ByVal command, ByVal args)\ncall banner_click_ns202_DoFSCommand(command, args)\nend sub</script\>\n');
    }
    if ( plugin || navigator.appName.indexOf('Netscape') || navigator.appName.indexOf('MSIE') ) {
        document.write('<button style="width:'+ ttnet_width_202 +'px;height:'+ttnet_height_202+'px;border:none;padding:0px;background:transparent" onclick="window.open(ttnet_URL_202);" ><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
        document.write(' ID=banner_click_ns202 WIDTH='+ttnet_width_202+' HEIGHT='+ttnet_height_202+'>');
        document.write(' <PARAM NAME=movie VALUE="'+ ttnet_flashfile_202 +'"><param name=wmode value=opaque><PARAM NAME=loop VALUE=true><PARAM NAME=quality VALUE=high>  '); 
        document.write(' <EMBED src="'+ ttnet_flashfile_202 +'" name=banner_click_ns202 loop=true wmode=opaque quality=high  ');
        document.write(' swLiveConnect=TURE WIDTH='+ttnet_width_202+' HEIGHT='+ttnet_height_202+'');
        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></button>');
    }else{
        if(ttnet_altimg_202 == ""){
            ttnet_URL_202 = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash";
            ttnet_alt_202 = "Get Flash Player";
        }
        document.write('<a href="'+ttnet_URL_202+'" target=_blank><img src="'+ttnet_altimg_202+'" width='+ttnet_width_202+' height='+ttnet_height_202+' border=0 alt="'+ttnet_alt_202+'"></a>');
    }
}

