//  Jayakar - SPAR Capital 
//  Function and Global variables already loaded <HEAD> with SPAR0navHead.js
//  
//  Date & Time and PopUp Current Month Calendar 
//  Barchart Java Applet for Live, Real-Time Index Quotes
//  
//  Write out the nav (left) Menu with Active Button grayed out
//  Add Favorite for IE 4++ of MAST Partners Home Page!
//  Recommend MAST Partners's website to a friend via email
//  Make MAST Partners, your home page
//  
//  Other MAST Items List
//  
//  SPAR2leftMenu.js 


// S T A R T   Processing left nav - - - - - - - - - - - - - - - - -
document.write('<TD VALIGN="TOP" WIDTH="180" background="images/M2bkgrndblue.png" ');
//document.write('STYLE="background-image: url(\'images/100$LtGrnBills.gif\');" ');
document.write('>');

// Write out the Date/Time & PopUpCalendar
document.write('&nbsp;<span id="M_clk" STYLE="font: small-caps 7pt Arial; color: #000099; border: none; background: none;">Mon Jan 01 2011 12:00:00 EDT</span>&nbsp;');
document.write('<A HREF="javascript:show_calendar(\'calform.datebox\');" ');
document.write('ONMOUSEOVER="window.status=\'MAST Popup Calendar with Prev/Next Month & Year\'; return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;"><IMG ALIGN="bottom" ');
document.write('SRC="images/MASTCal.gif" STYLE="top: 2; position: relative;" ');
document.write('BORDER="0" ALT="MAST Calendar (Month)" width="16" height="15"></A><br><br>');
if (notIE == "no") document.write(txt9f);


// Processing left nav button Menu
document.write('<FONT FACE="\'Times New Roman\', Times, serif" SIZE="2"><TABLE SUMMARY="MAST left nav Menu" WIDTH="170"> ');
// Loop for all left nav Items  Check Active Page, write HTML doc
var ThisPageActiveIdx = 0;      // 0 ==> This page is NOT Active
var navIdx = 0;
for (navIdx = 0; navIdx <= M_MenuItems; navIdx++) {
	ThisPageActiveIdx = CheckActivePage(A_Link[navIdx]);   // 0 is FALSE; 1 is TRUE[This page IS Active]
	document.write(A_Link_TR);
	document.write(lTDCLASS_sect[ThisPageActiveIdx]); 
	document.write(TITLE2);
	document.write(ATitle[navIdx]);
	document.write(ONM_OVERl_sect[ThisPageActiveIdx]);
	document.write(ONM_WinStat[navIdx]);
	document.write(ONM_OVER_return);
	document.write(ONM_OUTl_sect[ThisPageActiveIdx]);
	document.write(ONM_OUT_return);
	
	document.write('<a href="');
	if (ThisPageActiveIdx == 0) document.write(A_Link[navIdx]); else document.write("");
	document.write(lACLASS_sect[ThisPageActiveIdx]);

	document.write(ONM_OVERlA_sect[ThisPageActiveIdx]);
	document.write(ONM_WinStat[navIdx]);
	document.write(ONM_OVER_return);
	document.write(ONM_OUTlA_sect[ThisPageActiveIdx]);
	document.write(ONM_OUT_return);

//	document.write('>'); 
	if (navIdx == 0) document.write(ChgHmPgFont[ThisPageActiveIdx]);
	document.write('&nbsp;&nbsp;'+Link_text[navIdx]);

/*	if ((navIdx == 1) && (ThisPageActiveIdx == 0))       // Newsletter Updated
		document.write('<IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/smallnew.gif"> ');
	if ((navIdx == 14) && (ThisPageActiveIdx == 0) && (MASTNewsletterUpdated == "YES"))
		document.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/smallnew.gif"> ');
*/
	if ((navIdx == 5) && (ThisPageActiveIdx == 0) && (MASTLinksUpdated == "YES"))
		document.write(' <IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/updated.gif"> ');

	document.write(A_Link_EndA);
	document.write(A_Link_EndTD);
	document.write(A_Link_EndTR);
	if (navIdx == 0) document.write('<TR></TR><TR></TR><TR></TR><TR></TR><TR></TR>');
	else document.write('<TR></TR><TR></TR>');
}
document.write('</TABLE></FONT><BR> ');

// New chart
document.write('<DIV STYLE="width: 162; BORDER: thin outset; text-decoration: none; top: 2; left: 3; position: relative; ">');
// document.write('<A HREF="javascript:refreshMASTChart();" TITLE="Refresh MAST Chart!" ');
// document.write('ONMOUSEOVER="window.status=\'MAST Mkt Index Chart: CLICK to REFRESH!\';return true;" ');
// document.write('ONMOUSEOUT="window.status=\'\';return true;">');
document.write('<IMG BORDER="0" ALT="MAST Mkt Indices Chart\nCLICK TO REFRESH!" NAME="MASTChart" ');
document.write('SRC="http://charts.stockgroup.com/charts/SGChartDB.asp?chartwidth=162"></DIV><br>');
/* document.write('SRC="http://charts.stockgroup.com/charts/SGChartDB.asp?chartwidth=160&BKcolor=FFFFFF&GraphColor=FFFFFF&lang=&gc=&Indices=&IndicesName=&dowjoneschecked=1&spchecked=1&prefix=afbicn"></A></DIV><br>');
*/
realclock(); 


// Email Recommendation
document.write('<FORM NAME="MASTRecommend" METHOD="post" STYLE="line-height: 150%; padding-left:2"');
document.write('ACTION=\'mailto:"+email.value+"?subject="Hedge Fund Info! MASTPartners.com" \' ');
document.write('ENCTYPE="text/plain">');
document.write('<DIV TITLE="Enter eMail address and Recommend\n');
document.write('MAST Partners website to a friend!" ');
document.write('ONMOUSEOVER="window.status=\'Recommend MAST website to a friend via eMail!\';" ');
document.write('ONMOUSEOUT="window.status=\'\';"> ');
document.write('<input style="font-size: 10pt;" type="text" name="email" value="" size="23"> ');
document.write('<input style="font-size: 10pt;" type="submit" value="Recommend  Site!"></DIV>');
document.write('<input type="hidden" name="Message" value="\n\n');
document.write('Some value-added information on Hedge Funds.\n\n');
document.write('For details visit the URL below:\n\n');
document.write('MAST Partners- Solutions for Profit, Asset &amp; Risk-mgmt.\nhttp://www.mastpartners.com\n"></FORM>');


// Some local utilities & Help

document.write('<TABLE SUMMARY="MAST Utilities and Help!"><TR><TD CLASS="MASTnormal" STYLE="line-height: 150%; "> ');

var txt2 = "<b>CTRL-D</b> to Bookmark Site<br>";
var url = "http://MASTPartners.com/";
var who = "MAST Partners - Hedge Fund Info";

if (notIE == "yes") document.write(txt2+'<br>'); 
else  { 
	document.write('<A HREF="javascript:window.external.AddFavorite(url,who);" ');
    document.write('TITLE="CTRL-D to Add MAST Partners to Your Favorites (IE5+ ONLY)" ');
    document.write('onMouseOver="window.status=\'CTRL-D: Add MAST to your Favorites List!\';"; return true;');
    document.write('onMouseOut="window.status=\'\';" return true;">Add to Favorites List</a><br>');
	document.write('<A HREF="#" TITLE="Make MAST Partners your HomePage\nYour Home Page (IE5+ ONLY)" ');
	document.write('ONMOUSEOVER="window.status=\'Make this MAST Partners website your HomePage!\';return true;" ');
	document.write('ONMOUSEOUT="window.status=\'\';return true;" ONCLICK="this.style.behavior=\'url(#default#homepage)\'; ');
	document.write('this.setHomePage(\'http://MASTPartners.com/\');">Make MAST &rarr; HomePage!</A><BR>');
}


document.write('<A HREF="Legal.html#Privacy" ');
document.write('TITLE="MAST Partners Privacy Policy" ');
document.write('ONMOUSEOVER="window.status=\'MAST Partners Legal Notice/Privacy Policy\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Our PRIVACY Policy</A><BR>');

document.write('<A HREF="Legal.html#Usage" ');
document.write('TITLE="MAST: Terms & Conditions of Website Usage" ');
document.write('ONMOUSEOVER="window.status=\'MAST Partners: Terms & Conditions of Website Usage for Users!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Terms of Usage</A><BR>');

document.write('<A HREF="InvtMgmt.html#ToSubscribe" ');
document.write('TITLE="How to Become a Partner!" ');
document.write('ONMOUSEOVER="window.status=\'How to Subscribe to a Hedge Fund\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">How to Invest?</A><BR>');

document.write('<A HREF="CorpOffShore.html#CorpInvt" ');
document.write('TITLE="Corporate and Institutional Info!" ');
document.write('ONMOUSEOVER="window.status=\'Corporate and Institutional Info\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Corporate/Institutional</A><BR>');

document.write('<A HREF="CorpOffShore.html#OffShore" ');
document.write('TITLE="OffShore Info!" ');
document.write('ONMOUSEOVER="window.status=\'OffShore Info\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">OffShore</A><BR>');

document.write('<BR>');
document.write(' </TD></TR></TABLE> ');



// Other Items from MAST
document.write('<SPAN CLASS="MASTphrase" TITLE="Other Items [Reference, Tools, Utilities] from MAST!\nIn a new pop-up window!" ');
document.write('ONMOUSEOVER="window.status=\'Reference, Tools & Utilities from MAST:!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">&nbsp;Other Items!</SPAN><BR>');
document.write('<TABLE SUMMARY="MAST Other Items Menu" WIDTH=168><TR><TD CLASS="MASTnormal" STYLE="border: medium outset #C0C0C0; line-height: 150%; padding-bottom: 0.3em;">');
// Tools set
//document.write('<SPAN CLASS="MASTitem">REF. &amp; TOOLs!</SPAN><BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_currconv.html\',480,270,\'currconv\')" ');
document.write('TITLE="Currency Conversion Rates\nHandy tool for quick conversion rates!" ');
document.write('ONMOUSEOVER="window.status=\'Currency Conversion Table for quick, easy Rates!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Currency Rates</A>');
// NEWLY UPDATED gif activated below smallnew.gif or updated.gif or update0.gif (blue)
document.write(' <IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/updated.gif"> ');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_tempconv.html\',250,505,\'tempconv\')" ');
document.write('TITLE="Temperature Conversion Scale: Convert Temperature between °F(ahrenheit) and °C(elsius/Centigrade)" ');
document.write('ONMOUSEOVER="window.status=\'Temperature Conversion Scale: Convert Temperature between °F(ahrenheit) and °C(elsius/Centigrade)\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Temp.°F«~»°C</A>');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_worldtime.html\',640,380,\'worldtime\')" ');
document.write('TITLE="Get the Time NOW any place in the World\nContact WebMaster for missing locations!" ');
document.write('ONMOUSEOVER="window.status=\'Current Time for most cities/countries.  Contact WebMaster to add more!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">World Time</A> ');
// NEWLY UPDATED gif activated below smallnew.gif or updated.gif
// document.write('<IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/updated.gif"> ');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_dayofweek.html\',320,200,\'dayoweek\')" ');
document.write('TITLE="Find the day of the week for ANY Date!" ');
document.write('ONMOUSEOVER="window.status=\'Find the day of the week for ANY Date!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Day 4 ANY Date</A>');
// NEWLY UPDATED gif activated below smallnew.gif or updated.gif
// document.write('<IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/smallnew.gif"> ');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_bmicalcpg.html\',400,500,\'bmi\')" ');
document.write('TITLE="Get Heatlhy! Check your Body Mass\nIndex for Weight Considerations!" ');
document.write('ONMOUSEOVER="window.status=\'Body Mass Index: Check [for height, gender, age, frame size] Weight!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">BMI-Wgt. Check</A>');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_10questions.html\',500,570,\'10Questions\')" ');
document.write('TITLE="10 Questions to Ask your Financial Services Professional!" ');
document.write('ONMOUSEOVER="window.status=\'10 Questions to ask your Financial Services Professional BEFORE you retain!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Ref: 10 Fin. Q&As</A>');
document.write('<BR>');

document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_periodictbl.html\',590,530,\'periodictable\')" ');
document.write('TITLE="Reference: Periodic Table of Elements with Info\nContact WebMaster with feedback!" ');
document.write('ONMOUSEOVER="window.status=\'Complete Periodic Table of Elements with details  Contact WebMaster!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Ref: Periodic Table</A>');
// NEWLY UPDATED gif activated below smallnew.gif or updated.gif
// document.write('<IMG ALIGN="ABSBOTTOM" ALT="NEWLY UPDATED!!" SRC="images/smallnew.gif"> ');
document.write('<BR>');

// New Tool Items Go Here
/*
// Diversionary set
document.write('<BR><SPAN CLASS="MASTitem">RELAX!</SPAN><BR>');
document.write(' <A HREF="javascript:popMASTWin(\'privatedir/p_sqpuzzle.html\',230,300,\'sqpuzzle\')" ');
document.write('TITLE="RELAX: Play a Square Puzzle Game!" ');
document.write('ONMOUSEOVER="window.status=\'Relax, Rejuvenate, ReInvigorate and Play a Simple Square Puzzle Game!\';return true;" ');
document.write('ONMOUSEOUT="window.status=\'\';return true;">Simple Sq.Puzzle</A>');
document.write('<BR>');
*/

// End of OTHER ITEMs
document.write(' </TD></TR></TABLE> ');




// End of Left nav section
document.write('</DIV></TD> ');



//  END of SCRIPT

