function link_Homepage() {
	document.location.href = "../index.php";
}

function link_Home() {
	document.location.href = "../home/home.php";
}

function link_Logout() {
	if (confirm("Are you sure to logout from the website?")) {
  		document.location.href = "../apps/logout.php";
	} else {
	  //nothing will happen
	}	
}

function link_LogoutClient() {
	if (confirm("Are you sure to logout from the website?")) {
  		document.location.href = "../apps/logout_client.php";
	} else {
	  //nothing will happen
	}	
}

function link_currentInvestors() {
	document.location.href = "../forms/cur_investor_form.php";
}



//about us
function link_PortonCapital() {
	st = "?menu=abo";
	document.location.href = "../aboutus/portoncapital.php" + st;
}

function link_MangTeam() {
	st = "?menu=man";
	document.location.href = "../aboutus/management.php" + st;
}

function link_NonMangTeam() {
	st = "?menu=non";
	document.location.href = "../aboutus/advisoryboard.php" + st;
}

function link_PclDownload() {
	st = "?menu=dow";
	document.location.href = "../aboutus/pcl_download.php" + st;
}

function link_ContactUs() {
	st = "?menu=con";
	document.location.href = "../aboutus/contactus.php" + st;
}

function link_RepresentativeOffices() {
	st = "?menu=rep";
	document.location.href = "../aboutus/representative.php" + st;
}

function link_PclAdvisors() {
	st = "?menu=par";
	document.location.href = "../aboutus/pcl_advisors.php" + st;
}

function link_butterfield() {
	st = "?menu=bfm";
	document.location.href = "../aboutus/butterfield.php" + st;
}

function link_dla() {
	st = "?menu=dla";
	document.location.href = "../aboutus/dla.php" + st;
}




//verture investments
function link_FundSummary() {
	st = "?menu=pctf_fsu";
	document.location.href = "../investfunds/fundsummary.php" + st;
}

function link_FundFAQ() {
	st = "?menu=pctf_faq";
	document.location.href = "../investfunds/fundfaq.php" + st;
}

function link_FundPrice() {
	st = "?menu=pctf_fpr";
	document.location.href = "../investfunds/fundprice.php" + st;
}

function link_FundFS() {
	//Fund Fact Sheets
	//document.location.href = "../investfunds/fundfs.php";
	st = "?menu=pctf_ffs&hi=1";
	document.location.href = "../investfunds/funddownload.php" + st;
}

function link_FundPU() {
	//Fund Performance Update
	//document.location.href = "../investfunds/fundpu.php";
	st = "?menu=pctf_pup&hi=2";
	document.location.href = "../investfunds/funddownload.php" + st;
}


function link_FundSalesAid() {
	//document.location.href = "../investfunds/fundsa.php";
	st = "?menu=pctf_sai&hi=3";
	document.location.href = "../investfunds/funddownload.php" + st;
}

function link_FundProspectus() {
	//document.location.href = "../investfunds/fundprospectus.php";
	st = "?menu=pctf_pro&hi=4";
	document.location.href = "../investfunds/funddownload.php" + st;

}

function link_FundApplication() {
	//document.location.href = "../investfunds/fundapplication.php";
	st = "?menu=pctf_app&hi=5";
	document.location.href = "../investfunds/funddownload.php" + st;
}


//venture investments

function link_pctInvestments() {
	st = "?menu=piv";
	document.location.href = "../ventureinvest/pct_fundedcomp.php" + st;
}
function link_acolyte() {
	st = "?menu=aco";
	document.location.href = "../ventureinvest/acolyte.php"+ st;
}

function link_alaska() {
	st = "?menu=ala";
	document.location.href = "../ventureinvest/alaska.php" + st;
}

function link_akapplied() {
	st = "?menu=ala";
	document.location.href = "../ventureinvest/akapplied.php" + st;
}

function link_p2i() {
	st = "?menu=p2i";
	document.location.href = "../ventureinvest/p2i.php" + st;
}

function link_thruvision() {
	st = "?menu=thr";
	document.location.href = "../ventureinvest/thruvision.php" + st;
}

function link_enigma() {
	st = "?menu=eni";
	document.location.href = "../ventureinvest/enigma.php" + st;
}

function link_smartholograms() {
	st = "?menu=sma";
	document.location.href = "../ventureinvest/smartholograms.php" + st;
}

function link_vulcan() {
	st = "?menu=vul";
	document.location.href = "../ventureinvest/vulcan.php" + st;
}

function link_hydroventuri() {
	st = "?menu=hyd";
	document.location.href = "../ventureinvest/hydroventuri.php" + st;
}

function link_psynova() {
	st = "?menu=psy";
	document.location.href = "../ventureinvest/psynova.php" + st;
}

function link_synergis(){
	st = "?menu=syn";
	document.location.href = "../ventureinvest/synergis.php" + st;
}

function link_cellcrypt(){
	st = "?menu=cel";
	document.location.href = "../ventureinvest/cellcrypt.php" + st;
}

function link_acal(){
	st = "?menu=aca";
	document.location.href = "../ventureinvest/acal.php" + st;
}

function link_petrra(){
	st = "?menu=pet";
	document.location.href = "../ventureinvest/petrra.php" + st;
}

function link_warwickaudio(){
	st = "?menu=wat";
	document.location.href = "../ventureinvest/warwickaudio.php" + st;
}

function link_othersventure() {
	st = "?menu=oth";
	document.location.href = "../ventureinvest/others.php" +st;
}

//protential investments
function link_protentialInvestments() {
	st = "?menu=pro";
	document.location.href = "../ventureinvest/proinvestments.php" + st;
}


//venture partners
function link_venturepartners() {
	st = "?menu=vpr";
	document.location.href = "../ventureinvest/venturepartners_index.php" + st;
}

function link_dstl() {
	st = "?menu=dst";
	document.location.href = "../ventureinvest/dstl.php" + st;
}

function link_ral() {
	st = "?menu=ral";
	document.location.href = "../ventureinvest/ral.php" + st;
}

function link_hpa() {
	st = "?menu=hpa";
	document.location.href = "../ventureinvest/hpa.php" + st;
}

function link_awe() {
	st = "?menu=awe";
	document.location.href = "../ventureinvest/awe.php" + st;
}

function link_mrc() {
	st = "?menu=mrc";
	document.location.href = "../ventureinvest/mrc.php" + st;
}

//current press
function link_PressReleases(name) {
	if (name == "aca") {	
	 	dest = "currentpress_aca.php";
	} else if (name == "aco") {	
	 	dest = "currentpress_aco.php";
	} else if (name == "ala") {
		dest = "currentpress_ala.php";
	} else if (name == "cel") {
		dest = "currentpress_cel.php";
	} else if (name == "eni") {
		dest = "currentpress_eni.php";
	} else if (name == "pet") {
		dest = "currentpress_pet.php";
	} else if (name == "p2i") {
		dest = "currentpress_p2i.php";
	} else if (name == "sma") {
		dest = "currentpress_sma.php";
	} else if (name == "thr") {
		dest = "currentpress_thr.php";
	} else if (name == "vul") {
		dest = "currentpress_vul.php";
	} else if (name == "hyd") {
		dest = "currentpress_hyd.php";
	} else if (name == "psy") {
		dest = "currentpress_psy.php";
	} else if (name == "syn") {
		dest = "currentpress_syn.php";
	} else if (name == "pcl") {
		dest = "currentpress_pcl.php";
	} else if (name == "wat") {
		dest = "currentpress_wat.php";
	} else {
		dest = "currentpress_pcl.php";
	}

	st = "?menu=pre";
	document.location.href = "../mediaroom/"+ dest + st;
}

function link_media(name) {
	if (name == "aca") {	
	 	dest = "media_aca.php";
	} else if (name == "aco") {	
	 	dest = "media_aco.php";
	} else if (name == "ala") {
		dest = "media_ala.php";
	} else if (name == "cel") {
		dest = "media_cel.php";
	} else if (name == "eni") {
		dest = "media_eni.php";
	} else if (name == "pet") {
		dest = "media_pet.php";
	} else if (name == "p2i") {
		dest = "media_p2i.php";
	} else if (name == "sma") {
		dest = "media_sma.php";
	} else if (name == "thr") {
		dest = "media_thr.php";
	} else if (name == "vul") {
		dest = "media_vul.php";
	} else if (name == "hyd") {
		dest = "media_hyd.php";
	} else if (name == "psy") {
		dest = "media_psy.php";
	} else if (name == "syn") {
		dest = "media_syn.php";
	} else if (name == "pcl") {
		dest = "media_pcl.php";
	} else if (name == "wat") {
		dest = "media_wat.php";
	} else {
		dest = "media_pcl.php";
	}

	st = "?menu=med";
	document.location.href = "../mediaroom/"+ dest + st;
}

function link_pressarchive() {
	st = "?menu=pra";
	document.location.href = "../mediaroom/pressarchive.php" + st;
}

//downlaod page
function link_download() {
	document.location.href = "../download/download.php"
}


//OTHERS
function copyright() {
	st = "";
	st += "<font face=arial size=1>&nbsp; &copy; 2004-2010 Porton Capital Limited. All rights reserved. &nbsp; &nbsp;</font><br>&nbsp;";
	document.write(st);
}


//FUNCTIONS BEGIN

function backtotop() {
	st = "";
	st += "<div align=right><br><a href=\"#mytop\">back to top</a> &nbsp; &nbsp; </div>";
	document.write(st);
}

function getAcrobatReader() {
	st = "";
	st += "<center><br>&nbsp;<br>&nbsp;<br><a href=\"http://www.adobe.com/products/acrobat/readstep2.html\" target=\"_blank\"><img src=\"../pix/get_adobe_reader.gif\" alt=\"\" width=\"88\" height=\"31\" border=\"0\"></a></center>";
	document.write(st);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) selObj.selectedIndex=0;
}

function popupMovieWin(targetHtml, w , h) {
    popupWin = window.open(targetHtml,'remote' + w + h,"directories=no,location=no,menubar=no,width=" + w + ",height=" + h + ",resizable=no,scrollbars=no,status=yes,toolbar=no,alwaysRaised=no"); 
	//window.remote.focus();
}

//this function is required for a page to have this setup <a name="mytop"></a>
/*
function backtotop() {
	st = "";
	st += "<br><a href=\"#mytop\">Back to Top</a>";
	document.write(st);
}
*/


//Define all the highlight elements