//导航
function secBoard(n)
{
for(i=0;i<menu.childNodes.length;i++)
menu.childNodes[i].className="sec1";
menu.childNodes[n].className="sec2";
/*for(i=0;i<main.childNodes.length;i++)
main.childNodes[i].style.display="none";
main.childNodes[n].style.display="block";*/}
//
function SwitchNewsTag(id,num,count)
{
 ClearTagClass(id,count);
 document.getElementById("tagname_" + id + num).className = "tagon";
 document.getElementById(id + num).style.display = "";
}
function ClearTagClass(id,count)
{
 for(i=1;i<=count;i++)
 {
  document.getElementById("tagname_" + id + i).className = "tagoff";
  document.getElementById(id + i).style.display = "none";
 }
}
/*

//幻灯片
							var tmpHTML = '';
							
							tmpHTML = tmpHTML + '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="460" HEIGHT="230" id="flashview" ALIGN="">'
							tmpHTML = tmpHTML + '<PARAM NAME=movie VALUE="{SKIN_PATH}images/flashview.swf?txt01=深圳市宝安区公明部'
							tmpHTML = tmpHTML + '&txt02=刻客户和服'
							tmpHTML = tmpHTML + '&txt03=青园林机械经营'
							tmpHTML = tmpHTML + '&txt04=方法分队赛'
							tmpHTML = tmpHTML + '&txt05=巩固改革'
								
							tmpHTML = tmpHTML + '&img_001={SKIN_PATH}images/001.jpg'
							tmpHTML = tmpHTML + '&img_002={SKIN_PATH}images/002.jpg'
							tmpHTML = tmpHTML + '&img_003={SKIN_PATH}images/003.jpg'
							tmpHTML = tmpHTML + '&img_004={SKIN_PATH}images/004.jpg'
							tmpHTML = tmpHTML + '&img_005={SKIN_PATH}images/005.jpg'
								
							tmpHTML = tmpHTML + '&url_001=javascript:goURL(1);'
							tmpHTML = tmpHTML + '&url_002=javascript:goURL(2);'
							tmpHTML = tmpHTML + '&url_003=javascript:goURL(3);'
							tmpHTML = tmpHTML + '&url_004=javascript:goURL(4);'
							tmpHTML = tmpHTML + '&url_005=javascript:goURL(5);" /><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#C0E2D2><EMBED src="pic/flashview.swf" quality=high bgcolor=#C0E2D2 WIDTH="460" HEIGHT="230" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>'
							tmpHTML = tmpHTML + '</OBJECT>'
							
							printHTML(tmpHTML);
							
							function goURL(str) {
								var url_001 = "http://www.3cmo.com";
								var url_002 = "http://www.3cmo.com";
								var url_003 = "http://www.3cmo.com"
								var url_004 = "http://www.3cmo.com";
								var url_005 = "http://www.3cmo.com";

								location.href=eval("url_00"+str);
							}
							
							function printHTML(str) {
								var strHTML = str;
								document.write(strHTML);
							}

*/
