//显示ActiveX控件
function ActiveXObject()
{
    this.params = new function()
    {
        this.objects = new Object();
        this.add = function(name,value)
        {
            this.objects[name] = value;
        }
    }
    this.attributes = new function()
    {
        this.objects = new Object();
        this.add = function(name,value)
        {
            this.objects[name] = value;
        }
    }
    this.show = function()
    {
        document.write('<object classid="clsid:'+ this.classid +'" codebase="'+ this.codebase +'" width="'+ this.width +'" height="'+ this.height +'">');
        var params = this.params.objects;
        for (var key in params)
            document.write('<param name="'+ key +'" value="'+ params[key] +'">');
        var embeds = this.attributes.objects;
        document.write('<embed ');
        for (var key in embeds)
            document.write(key + '="' + embeds[key] + '" ');
        document.write(' />');
        document.write('</object>');
    }
}

//显示FLASH
function FlashObject()
{
     this.show = function()
     {
        var ax = new ActiveXObject()
        ax.classid = "d27cdb6e-ae6d-11cf-96b8-444553540000";
        ax.codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";
        ax.width = this.width;
        ax.height = this.height;
        ax.params.add("movie",this.src);
        ax.params.add("quality","high");
        ax.attributes.add("src",this.src);
        ax.attributes.add("quality","high");
        ax.attributes.add("width",this.width);
        ax.attributes.add("height",this.height);
        ax.attributes.add("pluginspage","http://www.macromedia.com/go/getflashplayer");
        ax.attributes.add("type","application/x-shockwave-flash");
        ax.show();
    }
}

//显示Flash焦点图片显示
function focusFlashObject()
{
     this.AO = new ActiveXObject();
     this.show = function()
     {
	    this.AO.classid = "d27cdb6e-ae6d-11cf-96b8-444553540000";
        this.AO.codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";
        this.AO.width = this.width;
        this.AO.height = this.height + this.text_height;
        this.AO.params.add("allowScriptAccess","sameDomain");
        this.AO.params.add("movie",this.src);
        this.AO.params.add("quality","high");
        this.AO.params.add("bgcolor","#fffff");
        this.AO.params.add("menu","false");
        this.AO.params.add("wmode","transparent");
        this.AO.params.add('FlashVars','pics='+this.pics+'&links='+this.links+'&texts='+this.texts+'&borderwidth='+this.width+'&borderheight='+this.height+'&textheight='+this.text_height);          
        this.AO.attributes.add("src",this.src);
        this.AO.attributes.add("wmode","opaque");
        this.AO.attributes.add("FlashVars",'texts='+this.texts+'&pics='+this.pics+'&links='+this.links+'&borderwidth='+this.width+'&borderheight='+this.height+'&textheight='+this.text_height);
        this.AO.attributes.add("menu","false");
        this.AO.attributes.add("bgcolor","#ffffff");
        this.AO.attributes.add("quality","high");
        this.AO.attributes.add("width",this.width);
        this.AO.attributes.add("height",this.height + this.text_height);
        this.AO.attributes.add("allowScriptAccess","sameDomain");
        this.AO.attributes.add("type","application/x-shockwave-flash");
        this.AO.attributes.add("pluginspage","http://www.macromedia.com/go/getflashplayer");
        this.AO.show();
     }
}
<!--
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",40)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=40
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
//-->

function secBoard(e,n)
{
 var c1 = document.getElementById("content1"); 
 var c2 = document.getElementById("content2");
 var c3 = document.getElementById("content3");
 var c4 = document.getElementById("content4");
 var c5 = document.getElementById("content5");
 var c6 = document.getElementById("content6");

 if (n == 1)
 {
 	c1.style.display="block";
 	c2.style.display="none";
	c3.style.display="none";
	c4.style.display="none";
	c5.style.display="none";
	c6.style.display="none";
 }
 else if (n == 2)
 {
 	c1.style.display="none";
 	c2.style.display="block";
	c3.style.display="none";
	c4.style.display="none";
	c5.style.display="none";
	c6.style.display="none";
 }
 else if (n == 3)
 {
 	c1.style.display="none";
 	c2.style.display="none";
	c3.style.display="block";
	c4.style.display="none";
	c5.style.display="none";
	c6.style.display="none";
 }
 else if (n == 4)
 {
 	c1.style.display="none";
 	c2.style.display="none";
	c3.style.display="none";
	c4.style.display="block";
	c5.style.display="none";
	c6.style.display="none";
 }
 else if (n == 5)
 {
 	c1.style.display="none";
 	c2.style.display="none";
	c3.style.display="none";
	c4.style.display="none";
	c5.style.display="block";
	c6.style.display="none";
 }
 else if (n == 6)
 {
 	c1.style.display="none";
 	c2.style.display="none";
	c3.style.display="none";
	c4.style.display="none";
	c5.style.display="none";
	c6.style.display="block";
 }

}
