function FlashMainbody(Ftrans,wid,hei) {
	mainbody = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+ wid +"' height='"+ hei +"'>";
	mainbody += "<param name='movie' value='"+ Ftrans +"'>";
	mainbody += "<param name='quality' value='high'>";
	mainbody += "<param name='wmode' value='transparent'>";
	mainbody += "<param name='menu' value='false'>";
	mainbody += "<embed src='"+ Ftrans +"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+ wid +"' height='"+ hei +"'></embed>"
	mainbody += "</object>";

	//document.body.innerHTML = mainbody;
	document.write(mainbody);
	return;
}
function gotoselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}
function show(a)
{ 
		var startDir=a;
		url = window.location.href;
		var inx = url.lastIndexOf('.');
		url = startDir +'/VIEW.HTM'+location.search;
		newWin = window.open(url,'','toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top=0 left=0');
		newWin.moveTo(0,0);
		left1=(screen.availWidth-1024-5)/2;
		top1=(screen.availHeight-768-10)/2;
		newWin.resizeTo(1024,812);
		newWin.moveTo(left1,top1);
		window.opener = window.location.href;
		return newWin;
}

/****** menu 傅农 *****************/
function menu1() { location.href = "/english/about/about01.php"; }
function menu2() { location.href = "/english/application/application01.php"; }
function menu3() { location.href = "/english/products/monomer.php?category=1.5"; }
function menu4() { location.href = "/english/careers/list.php";}
function menu5() { location.href = "/english/news/list.php"; }


/******* about us 傅农 *****************/
function menu1sub1() { location.href = "/english/about/about01.php"; }
function menu1sub2() { location.href = "/english/about/about02.php"; }
function menu1sub3() { location.href = "/english/about/about03.php"; }
function menu1sub4() { location.href = "/english/about/about04.php"; }
function menu1sub5() { location.href = "/english/about/about05.php"; }
function menu1sub6() { location.href = "/english/about/about06.php"; }


/******* application 傅农 *****************/
function menu2sub1() { location.href = "/english/application/application01.php"; }



/******* products 傅农 *****************/
function menu3sub1() { location.href = "/english/products/monomer.php?category=1.5"; }
function menu3sub2() { location.href = "/english/products/oligomer.php?category=2.7"; }
function menu3sub3() { location.href = "/english/products/photo.php?category=4.19"; }
function menu3sub4() { location.href = "/english/products/etc.php"; }



/******* careers 傅农 *****************/
function menu4sub1() { location.href = "/english/careers/list.php"; }
function menu4sub2() { location.href = "/english/careers/careers01.php"; }
function menu4sub3() { location.href = "/english/careers/careers02.php"; }
function menu4sub4() { location.href = "/english/careers/careers03.php"; }


/******* news 傅农 *****************/
function menu5sub1() { location.href = "/english/news/list.php"; }
