function selectMenu(element) {
	var thisElement=document.all(element);	
	if (thisElement.parentNode.nextSibling!=null) {
		if (thisElement.parentNode.nextSibling.id=="content") {
			thisElement.parentNode.nextSibling.style.display="";
			//设定已经展开的菜单,当鼠标移过时不要再显示菜单(否则将重复)
			thisElement.onmouseover=doNothing;			
		}
	}
	function doNothing() {
		return false;
	}	
	thisElement.className="menu_button2";	
	var thisSrc=thisElement.childNodes(0);
	var regexp=/.gif/
	strSrc=thisSrc.src.replace(regexp,"2.gif");
	thisSrc.src=strSrc;	
}
function openWin_noScrollbars(strUrl,winName,width,height) {	
	x=(screen.availWidth-width)/2
	y=(screen.availHeight-height)/2
	window.open(strUrl,winName,"width="+width+",height="+height+",left="+x+",top="+y+",scrollbars=no")	
}
function openWin(strUrl,winName,width,height) {	
	x=(screen.availWidth-width)/2
	y=(screen.availHeight-height)/2
	window.open(strUrl,winName,"width="+width+",height="+height+",left="+x+",top="+y+",scrollbars=yes")	
}
function newimg(imgurl) {
imgurl="../images/"+imgurl;
newwin=window.open('about:blank','','top=10');
newwin.document.write('<body leftmargin=0 topmargin=0><img id=img1 src='+imgurl+' onload="self.resizeTo(this.offsetWidth+10,this.offsetHeight+15);">');
}
function writeNavigator(description) {
document.write("<div class='toolBar'>");
	if (description=="back") {
		document.write("<a href='javascript:history.back()'><img src='../images/btn_back.gif'  border='0'></a>");
	}
	else if (description=="top") {
		document.write("<a href='#'><img src='../images/btn_top.gif'  border='0'></a>");
	}
	else if (description=="backAndTop") {
		document.write("<a href='#'><img src='../images/btn_top.gif'  border='0'></a><a href='javascript:history.back()'><img src='../images/btn_back.gif'  border='0'></a>");
	}
	else if (description=="backAndTop") {
		document.write("<a href='#'><img src='../images/btn_top.gif'  border='0'></a><a href='javascript:history.back()'><img src='../images/btn_back.gif'  border='0'></a>");
	}
	else if (description=="closeAndTop") {
		document.write("<a href='#'><img src='../images/btn_top.gif'  border='0'></a><a href='javascript:self.close()'><img src='../images/btn_close.gif'  border='0'></a>");
	}
document.write("</div>");	
}

//弹出另存为窗口



function fun_mainTable(obj) {
	obj.border=0;
	obj.cellSpacing=0;
	obj.cellPadding=0;
	//obj.align="center";
}
function fun_newsTable(obj) {
	obj.border=0;
	obj.cellSpacing=0;
	obj.cellPadding=0;
	obj.align="center";
}

function fun_tableBorder(obj) {
	obj.border=0;
	obj.cellSpacing=0;
	obj.cellPadding=5;
	obj.align="";
}

function addFavor(strName,intID) {
	alert("ok");
}

<!--//
var imageholder=new Array()
var ie55=window.createPopup

function slideit(strSrc){
	if (!document.images) return
	if (ie55) document.images.pic_show.filters[0].apply()
	document.images.pic_show.src=strSrc
	if (ie55) document.images.pic_show.filters[0].play()
}

