function logoset(layering){
if (layering==1){
	thefld="";
}else if(layering==2){
	thefld="../"
}
document.write("<TABLE WIDTH=767 BORDER=0 CELLPADDING=0 CELLSPACING=0><TR>");
		document.write("<TD><IMG SRC=\""+thefld+"images/logo.gif\" WIDTH=211 HEIGHT=48></TD>");
		document.write("<TD><IMG SRC=\""+thefld+"../images/top_03.jpg\" WIDTH=410 HEIGHT=48></TD>");
		document.write("<TD><A HREF=\""+thefld+"../first.asp\"");
				document.write("ONMOUSEOVER=\"changeImages('english', '"+thefld+"images/english-over.jpg'); return true;\"");
				document.write("ONMOUSEOUT=\"changeImages('english', '"+thefld+"images/english.jpg'); return true;\">");
				document.write("<IMG NAME=\"english\" SRC=\""+thefld+"images/english.jpg\" WIDTH=146 HEIGHT=48 BORDER=0></A></TD>");
document.write("</TR></TABLE>");
}

function inside1(){
document.write("<TABLE WIDTH=767 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
	document.write("<tr>");
		document.write("<Td colspan=\"6\" height=\"26\" bgcolor=\"#E1E1E1\" align=\"right\" style=\"padding-right:20px;padding-top:10px;\">");
		document.write("<span class=\"btd\"><form action=\"../login1.asp?action=chk\" method=\"post\" target=\"_blank\">User: <input name=\"username\" type=\"text\" size=\"12\" style=\"font-size: 8pt; font-family: Arial\">¡¡Password: <input name=\"password\" type=\"password\" size=\"12\" style=\"font-size: 8pt; font-family: Arial\"><input type=\"hidden\" name=\"CookieDate\" value=0 size=\"12\">&nbsp;&nbsp;<input type=\"submit\" value=\" OK \" name=\"B1\" class=\"blue\"></form></span>");
		document.write("</td>");
	document.write("</tr>");
document.write("</TABLE>");
}

function naviset(layering){
if (layering==1){
	thefld="";
}else if(layering==2){
	thefld="../"
}
document.write("<TABLE WIDTH=767 BORDER=0 CELLPADDING=0 CELLSPACING=0><TR>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"intro/intro.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_07', '"+thefld+"images/topnavi_07-over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_07', '"+thefld+"images/topnavi_07.gif'); return true;\">");
			document.write("<IMG NAME=\"topnavi_07\" SRC=\""+thefld+"images/topnavi_07.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"news/news.asp\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_08', '"+thefld+"images/topnavi_08-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_08', '"+thefld+"images/topnavi_08.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_08\" SRC=\""+thefld+"images/topnavi_08.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"brands/brands.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_09', '"+thefld+"images/topnavi_09-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_09', '"+thefld+"images/topnavi_09.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_09\" SRC=\""+thefld+"images/topnavi_09.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"hr/hr.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_10', '"+thefld+"images/topnavi_10-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_10', '"+thefld+"images/topnavi_10.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_10\" SRC=\""+thefld+"images/topnavi_10.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"../designer/designer.html\" target='_blank'");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_11', '"+thefld+"images/topnavi_11-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_11', '"+thefld+"images/topnavi_11.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_11\" SRC=\""+thefld+"images/topnavi_11.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"interbiz/interbiz.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_12', '"+thefld+"images/topnavi_12-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_12', '"+thefld+"images/topnavi_12.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_12\" SRC=\""+thefld+"images/topnavi_12.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"honor/honor.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_13', '"+thefld+"images/topnavi_13-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_13', '"+thefld+"images/topnavi_13.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_13\" SRC=\""+thefld+"images/topnavi_13.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"culture/culture.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_14', '"+thefld+"images/topnavi_14-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_14', '"+thefld+"images/topnavi_14.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_14\" SRC=\""+thefld+"images/topnavi_14.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"strategy/strategy.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_15', '"+thefld+"images/topnavi_15-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_15', '"+thefld+"images/topnavi_15.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_15\" SRC=\""+thefld+"images/topnavi_15.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF=\""+thefld+"event/event.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_16', '"+thefld+"images/topnavi_16-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_16', '"+thefld+"images/topnavi_16.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_16\" SRC=\""+thefld+"images/topnavi_16.gif\" BORDER=0></A></TD>");
	document.write("<TD>");
		document.write("<A HREF='http://ir.wallstraits.net/eagle/' target='_blank'");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_17', '"+thefld+"images/topnavi_17-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_17', '"+thefld+"images/topnavi_17.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_17\" SRC=\""+thefld+"images/topnavi_17.gif\" BORDER=0></A></TD>");
document.write("<TD>");
		document.write("<A HREF=\""+thefld+"interbiz/contact.html\"");
			document.write("ONMOUSEOVER=\"changeImages('topnavi_18', '"+thefld+"images/topnavi_18-topnavi_07_over.gif'); return true;\"");
			document.write("ONMOUSEOUT=\"changeImages('topnavi_18', '"+thefld+"images/topnavi_18.gif'); return true;\">");
		document.write("<IMG NAME=\"topnavi_18\" SRC=\""+thefld+"images/topnavi_18.gif\" BORDER=0></A></TD>");
document.write("</TR></TABLE>");
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;

function preloadImages(layering) {
if (layering==1){
	thefld="";
}else if(layering==2){
	thefld="../"
}
	if (document.images) {
		english_over = newImage(thefld+"images/english-over.jpg");
		topnavi_07_over = newImage(thefld+"images/topnavi_07-over.gif");
		topnavi_08_topnavi_07_over = newImage(thefld+"images/topnavi_08-topnavi_07_over.gif");
		topnavi_09_topnavi_07_over = newImage(thefld+"images/topnavi_09-topnavi_07_over.gif");
		topnavi_10_topnavi_07_over = newImage(thefld+"images/topnavi_10-topnavi_07_over.gif");
		topnavi_11_topnavi_07_over = newImage(thefld+"images/topnavi_11-topnavi_07_over.gif");
		topnavi_12_topnavi_07_over = newImage(thefld+"images/topnavi_12-topnavi_07_over.gif");
		topnavi_13_topnavi_07_over = newImage(thefld+"images/topnavi_13-topnavi_07_over.gif");
		topnavi_14_topnavi_07_over = newImage(thefld+"images/topnavi_14-topnavi_07_over.gif");
		topnavi_15_topnavi_07_over = newImage(thefld+"images/topnavi_15-topnavi_07_over.gif");
		topnavi_16_topnavi_07_over = newImage(thefld+"images/topnavi_16-topnavi_07_over.gif");
		topnavi_17_topnavi_07_over = newImage(thefld+"images/topnavi_17-topnavi_07_over.gif");
		preloadFlag = true;
	}
}

//////////////ÄÚÒ³µÇÂ¼¿òËùÔÚ/////////////////////////////////
function insidemain(){
document.write("<TABLE WIDTH=767 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
	document.write("<tr>");
		document.write("<Td colspan=\"6\" height=\"26\" bgcolor=\"#E1E1E1\" align=\"right\" style=\"padding-right:20px;padding-top:10px;\">");
		document.write("<span class=\"btd\"><form action=\"../login1.asp?action=chk\" method=\"post\" target=\"_blank\">User: <input name=\"username\" type=\"text\" size=\"12\" style=\"font-size: 8pt; font-family: Arial\">¡¡Password: <input name=\"password\" type=\"password\" size=\"12\" style=\"font-size: 8pt; font-family: Arial\"><input type=\"hidden\" name=\"CookieDate\" value=0 size=\"12\">&nbsp;&nbsp;<input type=\"submit\" value=\" OK \" name=\"B1\" class=\"blue\"></form></span>");
		document.write("</td>");
	document.write("</tr>");
	document.write("<TR>");
		document.write("<TD ROWSPAN=4>");
			document.write("<IMG SRC=\"images/main_03.gif\" WIDTH=162 HEIGHT=93></TD>");
		document.write("<TD COLSPAN=3>");
			document.write("<IMG SRC=\"images/main_04.gif\" WIDTH=367 HEIGHT=26></TD>");
		document.write("<TD ROWSPAN=4>");
			document.write("<IMG SRC=\"images/main_05.gif\" WIDTH=171 HEIGHT=93></TD>");
		document.write("<TD ROWSPAN=4>");
			document.write("<IMG SRC=\"images/main_06.gif\" WIDTH=67 HEIGHT=93></TD>");
	document.write("</TR>");
	document.write("<TR>");
		document.write("<TD>");
			document.write("<IMG SRC=\"images/main_08.gif\" WIDTH=138 HEIGHT=24></TD>");
		document.write("<TD>");
			document.write("<IMG SRC=\"images/main_09.gif\" WIDTH=71 HEIGHT=24></TD>");
		document.write("<TD ROWSPAN=3>");
			document.write("<IMG SRC=\"images/main_10.gif\" WIDTH=158 HEIGHT=67></TD>");
	document.write("</TR>");
	document.write("<TR>");
		document.write("<TD COLSPAN=2>");
			document.write("<IMG SRC=\"images/main_11.gif\" WIDTH=209 HEIGHT=27></TD>");
	document.write("</TR>");
	document.write("<TR>");
		document.write("<TD COLSPAN=2>");
			document.write("<IMG SRC=\"images/main_12.gif\" WIDTH=209 HEIGHT=16></TD>");
	document.write("</TR>");
document.write("</TABLE>");
}

function btmset(layering){	
if (layering==1){
	thefld="../";
}else if(layering==2){
	thefld="../../"
}
document.write("<table WIDTH=769 BORDER=0 CELLPADDING=0 CELLSPACING=0 align=\"center\" class=\"line\">");
	document.write("<Tr bgcolor=\"#A6D2FF\">");
		document.write("<Td width=\"20\"></td>");
		if (layering==2){
		document.write("<td height=\"30\"><a href=\"../first.asp\">Home</a></td>");
		}else{
		document.write("<td height=\"30\"></td>");
		}
		document.write("<form action=\"../news/searchnews.asp\">");
		document.write("<td align=\"right\"><font color=\"#00267A\">Search </font>");
		
		document.write("<input type=\"text\" size=\"12\" name=\"key\"> ");
		document.write("<input type=\"submit\" value=\" OK \" class=\"blue\"><img src=\""+thefld+"images/map.gif\" width=\"57\" height=\"28\" border=\"0\" align=\"absmiddle\"></td>");
	document.write("</form>");
	document.write("</tr>");
document.write("</table>");
document.write("<table WIDTH=769 BORDER=0 CELLPADDING=0 CELLSPACING=0 align=\"center\">");
	document.write("<Tr><Td align=\"center\" height=\"20\"><span class=\"copyright\">Copyright&#169;2003 Eagle Brand Holdings Limited. All Rights Reserved. Http://www.eaglebrandholdings.com</span></td></tr>");
document.write("</table>");
}

function updatetime(){
	document.write("<center><font color='#ff9000'><b>Updated on 24 May 2005</b></font></center>");
}
