// JavaScript Document
// 滑动门效果
function showDiv(obj,num,len)
{
 for(var id = 1;id<=len;id++)
 {
  var ss=obj+id;
  var snav =obj+"nav"+id;
  if(id==num){
	try{document.getElementById(ss).style.display="block"}catch(e){};
	try{document.getElementById(snav).className="active"}catch(e){};
  }else{
	try{document.getElementById(ss).style.display="none"}catch(e){};
	try{document.getElementById(snav).className=""}catch(e){};
  }
 }  
}
//flash输出
function flashWrite( id, flashUri, vWidth, vHeight, winMode ) {
 var _obj_ = "";

 _obj_ = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" align="middle">';
  _obj_ += '<param name="movie" value="' + flashUri + '" />';
 _obj_ += '<param name="quality" value="high" />';
 _obj_ += '<param name="wmode" value="' + winMode + '" /> ';
 _obj_ += '<param name="bgcolor" value="#ffffff" /> ';
 _obj_ += '<embed src="' + flashUri + '" quality="high" wmode="' + winMode + '" bgcolor="#ffffff" width="' + vWidth +'" height="' + vHeight + '" id="' + id + '" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed> ';
 _obj_ += '</object>';
document.writeln( _obj_ ); 
}
