function CheckPages()
{
	if ( document.MySearch.keyword.value == "") 
		{
		 alert("搜索关键字不能为空！");
		 document.MySearch.keyword.focus();
		 return false;
		}

	return true;
}
function searchsubmit()
{
	if(CheckPages())
	{
	MySearch.action = "/SearchResult.asp";
	MySearch.submit();
	}
}


function checkfrm(){
  if(frmlogin.username.value==''){
    alert("Please type your UserID !");
    return false;
  }
  if(frmlogin.password.value==''){
    alert("Please type your Password !");
    return false;
  }
  return true;
}

function loginsubmit()
{
	if(checkfrm())
	{
		frmlogin.submit();
	}
}


function popwin(url,win_name,width,height,left,top,scrol)
{
var
popup=window.open(url,win_name,"width=" + width + ",height=" + height + ",left=" + left + ",top=" + top + ",scrollbars=" + scrol + ",resizable=no,status=no,toolbar=no,menubar=no,location=no");
  popup.focus();
  return false;
}


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",90)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=90
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}


var topflag="";

function topmenu_en(toptree) {

if (toptree == 0)
  topflag="";
if (toptree == 1)
  topflag="../";
if (toptree == 2)
  topflag="../../";
if (toptree == 3)
  topflag="../../../";


document.write("<table width='800' cellspacing='0' cellpadding='0' border='0' align='center'>");
document.write("  <tr>");
document.write("	<td width='300' align='left' valign='top'>");
document.write("	<a href="+topflag+"index.asp"+"><img src='"+topflag+"images/cvcalogo.jpg' width='246' height='67' border='0'></a>");
document.write("	</td>");
document.write("	<td width='500' align='right' valign='top'>");
document.write("		<table cellspacing=0 cellpadding=0 border=0>");
document.write("		<tr><td align=right valign=top height=3 colspan='4'></td></tr>");
document.write("		<tr>");
document.write("		<td align=right valign=top class='Toplink' colspan='4'>");
document.write("		<a href='"+topflag+"index.asp'>Home</a> | <a href='"+topflag+"media/Releases.asp'>Media Center</a> | <a href='"+topflag+"contact/index.asp'>Contact us</a> | <a href='"+topflag+"chinese/index.asp'>中 文</a> |");
document.write("		</td>");
document.write("		</tr>");
document.write("<Form name='MySearch' method='POST'>");
document.write("		<tr><td align=right valign=top height=3 colspan='4'></td></tr>");

document.write("		<tr height=40>");
document.write("		<td align=right valign=bottom>");
document.write("<input type='text' name='keyword' size='24' class='inputlogin'>");
document.write("		</td>");
document.write("		<td align=right valign=center width=10></td>");
document.write("		<td align=right valign=bottom>");

document.write("<select name='catlog' class='inputlogin1'>");
document.write("<option value=1>Upcoming Events</option>");
document.write("<option value=2>Past Events</option>");
document.write("<option value=3>CVCA News</option>");
document.write("<option value=4>Industry News</option>");
document.write("</select");

document.write("		</td>");
document.write("		<td align=right valign=bottom>");
document.write("&nbsp;&nbsp;&nbsp;<a href='javascript:searchsubmit();'><img src='"+topflag+"images/search.gif' width='58 height='17' border='0'></a>");

document.write("		</td>");
document.write("		</tr>");
document.write("</Form>");
document.write("		</table>");
document.write("	</td>");
document.write("  </tr>");
document.write("</table>");


document.write("<table width='800' cellspacing='0' cellpadding='0' border='0' align='center'>");
document.write("  <tr><td width='800' align='left' valign='top' height='15'></td></tr>");
document.write("  <tr>");
document.write("	<td width='800' align='left' valign='top' bgcolor='#d60022'>");


//document.write("<div class='clearFix'>");
document.write("<ul id='Menu1' class='MM'>");

document.write("<li><a href='"+topflag+"aboutcvca/profile.asp'>About CVCA</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"aboutcvca/profile.asp'>CVCA Profile</a></li>");
document.write("    <li><a href='"+topflag+"aboutcvca/mission.asp'>Mission Statement</a></li>");
document.write("    <li><a href='"+topflag+"aboutcvca/board.asp'>Board of Governors</a></li>");
document.write("    <li><a href='"+topflag+"yvcc/activities.asp'>Sub-groups</a>");
document.write("    	<ul>");
document.write("    	<li><a href='"+topflag+"yvcc/activities.asp'>YVCC</a></li>");
document.write("    	</ul>");
document.write("    </li>");
document.write("    <li><a href='"+topflag+"aboutcvca/sponsorship.asp'>Sponsorship</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"membership/application.asp'>Membership</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"membership/application.asp'>Become a Member</a></li>");
document.write("    <li><a href='"+topflag+"membership/AboutMembership.asp'>Membership Qualifications</a></li>");
document.write("    <li><a href='"+topflag+"membership/Rights_Obligations.asp'>Members Rights / Obligations</a></li>");
document.write("    <li><a href='"+topflag+"membership/MembersList.asp'>List of Members</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"research/CVCAinCONTACT.asp'>Research</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"research/PEMatters.asp'>Newsletters</a>");
document.write("    	<ul>");
document.write("    	<li><a href='"+topflag+"research/PEMatters.asp'>China PE Matters</a></li>");
document.write("    	<li><a href='"+topflag+"research/CVCAinCONTACT.asp'>CVCA in CONTACT</a></li>");
document.write("    	</ul>");
document.write("    </li>");
document.write("    <li><a href='"+topflag+"research/Reports_Publication.asp'>Reports & Publication</a></li>");
document.write("    <li><a href='"+topflag+"research/LawsandRegulations.asp'>Laws and Regulations</a></li>");
document.write("    <li><a href='"+topflag+"research/IndustryResources.asp'>Industry Resources</a></li>");
document.write("    <li><a href='"+topflag+"research/IndustryPartners.asp'>Industry Partners</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"events/UpcomingEvents.asp'>Events</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"events/UpcomingEvents.asp'>Upcoming Events</a></li>");
document.write("    <li><a href='"+topflag+"events/EventsReview.asp'>Events Review</a></li>");
document.write("    <li><a href='"+topflag+"events/SupportedEvents.asp'>CVCA-Supported Events</a></li>");
document.write("    <li><a href='"+topflag+"events/CVCAAGM.asp'>CVCA AGM</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"institute/UpcomingCourses.asp'>CVCA Academy</a>");
document.write("    <ul>");
//document.write("    <li><a href='"+topflag+"institute/UpcomingWebcast.asp'>Upcoming Webcast</a></li>");
//document.write("    <li><a href='"+topflag+"institute/PastWebcast.asp'>Past Webcast</a></li>");
document.write("    <li><a href='"+topflag+"institute/UpcomingCourses.asp'>Upcoming Courses</a></li>");
document.write("    <li><a href='"+topflag+"institute/PastCourses.asp'>Past Courses</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"PPAC/activities.asp'>Public Policy</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"PPAC/activities.asp'>Activities</a></li>");
document.write("    <li><a href='"+topflag+"PPAC/letter.asp'>Consultation Papers</a></li>");
document.write("    <li><a href='"+topflag+"PPAC/progress.asp'>Progress Reports to CVCA Members</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("<li><a href='"+topflag+"Opportunties/Bizmatch.asp'>Opportunties</a>");
document.write("    <ul>");
document.write("    <li><a href='"+topflag+"Opportunties/Bizmatch.asp'>Bizmatch</a></li>");
document.write("    <li><a href='"+topflag+"Opportunties/Broadcast.asp'>Jobs</a></li>");
document.write("    </ul>");
document.write("</li>");

document.write("</ul>");
//document.write("</div");

document.write("</td>");
document.write("</tr>");
document.write("</table>");

}






var menuName  = new Array();
var menuTitle = new Array();
var menuUrl   = new Array();
var mnumofMenuItem = 2;
var mnumofItem = 2;
var tree = 1;
var n = 1;
var flag="";

menuName[0] = "media";
menuName[1] = "contact";

menuTitle[0] = "Media center";
menuTitle[1] = "Contact us";


function foot_en(pageName,tree) {

if (tree == 0)
  flag="";
if (tree == 1)
  flag="../";
if (tree == 2)
  flag="../../";
if (tree == 3)
  flag="../../../";

menuUrl[0] = flag + "media.asp";
menuUrl[1] = flag + "contact/index.asp";

  var itemPos = 0;

document.write("<table width='800' cellspacing='0' cellpadding='0' border='0' align='center'>");
document.write("  <tr><td width='800' height='20' align='left' valign='top' colspan='2'></td></tr>");
document.write("  <tr>");
document.write("	<td width='400' align='left' valign='top'>");
document.write("	&nbsp;");
document.write("	</td>");

document.write("	<td width='400' align='right' valign='top' class='bottom'>");
document.write("Copyright &copy 2009-2012 China Venture Capital Association. All rights reserved.");
document.write("	</td>");
document.write("  </tr>");

document.write("  <tr>");
document.write("	<td width='400' align='left' valign='top'>&nbsp;</td>");
document.write("	<td width='400' align='right' valign='top' class='bottomlink'>");
document.write("京ICP备05012766号");
document.write("	</td>");
document.write("  </tr>");
document.write("</table>");

}



