<!--
//以下函数主要应用首页
//开发人员：郑军华
//开发日期：2002-01-28 
//
	var version = "other"
	browserName = navigator.appName;
	browserVer = parseInt(navigator.appVersion);
	
	//判断浏览器类型
	if (browserName == "Netscape" && browserVer >= 3) version = "n3";
	else if (browserName == "Netscape" && browserVer < 3) version = "n2";
	else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4)
			 version = "e4";
		else if (browserName == "Microsoft Internet Explorer" && browserVer < 4)
			 version = "e3";
	
	//开始字幕函数
	function marquee_start()
	{
	if (version == "e4")
	{
	document.write("<marquee behavior=scroll height=160 direction=up scrollamount=1 scrolldelay=5 onmouseover='this.stop()' onmouseout='this.start()'>")
	}
	}
	
	//结束字幕函数
	function marquee_end()
	{
	if (version == "e4")
	{
	document.write("</marquee>")
	}
	}
	
	//reloads the window if Nav4 resized  
	function MM_reloadPage(init) { 	
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);
	
	//本函数在一个新窗口中打开一个新URL，如果值为空，则不显示
	function open_link(select_object){	
//alert("Danger");
//alert(select_object.options[select_object.selectedIndex].value);
//alert(select_object.selectedIndex);
		if (select_object.options[select_object.selectedIndex].value != '')	{
//alert("success");
		window.open(select_object.options[select_object.selectedIndex].value);
	}
	}
	
	//以下二个函数打开一个新窗口
	function openwin(url,name,w,h) { 
		window.open (url,name,"width=" + w + ",height=" + h + ",toolbar=no,menubar=no,scrollbars=no,resizable=yes,location=no,status=no");
	}	
	function openwinfull(url) { 
		window.open (url, "newwindow", "width=500, height=300, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes, location=no, status=yes");
	} 	
//-->
