// JavaScript Document
function loadData(whichModel)
{

if (whichModel == 'google')
     {
     showIt = document.getElementById('headline');

	 showIt.style.color = 'black';    
	 showIt.style.size = 32;
     showIt.style.fontFamily = 'Tahoma';
     showIt.style.fontWeight = 'bold';
    
     showIt.innerHTML = "Google's Cap Table at the IPO - August 94";
     showIt = document.getElementById('subHeadline');
     showIt.innerHTML = 'The IPO made billionaires of Sergey Brin and Larry Page.<br/> $100k Angel investments were worth $136,000,000 at the IPO!';

     stockClassArray = [0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 2, 2, 2, 0, 0];
     seriesArray =     [0, 0, 6, 1, 6, 1, 1, 1, 1, 1, 2, 2, 3, 6, 6];    
     investorArray =   [0, 0, 1, 2, 2, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6];
     priceArray =      [0, 0, 0, 0, 0, .06, .06, .06, .06, .06, .52, .52, 2.32, 85.18, 85.18];
     sharesArray =     [38490304, 38490304, 14758800, 7118782, 0, 1600000, 1600000, 1600000, 1600000, 1842000, 23893800, 23893800, 6479000, 5462917, 14142135];
     optionsArray =     [0, 0, 0, 0, 105557498, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     shareholderArray =['Larry Page', 'Sergey Brin', 'Eric Schmidt', 'Other Employees', 'ESOP @ IPO', 'Bechtolsheim', 'Cheriton', 'Bezos', 'Shiriam', 'Stanford University', 'Kleiner Perkins', 'Sequoia', 'Many Investors', 'IPO Selling Shareholders', 'IPO Shares'];

     maxLines = 14;
     }
     
if (whichModel == 'quickOut')
     {
     showIt = document.getElementById('headline');

	 showIt.style.color = 'black';    
	 showIt.style.size = 32;
     showIt.style.fontFamily = 'Tahoma';
     showIt.style.fontWeight = 'bold';
    
     showIt.innerHTML = "$5,000,000 Raised - Successful Quick Out";
     showIt = document.getElementById('subHeadline');
     showIt.innerHTML = 'Start the company, add management, employees, and a board.<br/> Get some angel money, venture money, grow fast, sell out!';

     stockClassArray = [0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     seriesArray =     [0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0];    
     investorArray =   [0, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     priceArray =      [0.01, 0.25, 0.25, 0.25, 1.50, 5.06, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     sharesArray =     [700000, 0, 0, 0, 333333, 888888, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     optionsArray =     [0, 200000, 70000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     shareholderArray =['Founder', 'Key Exec', 'Employees', 'Board', 'Several Angels', '2 Venture Firms', '', '', '', '', '', '', '', '', ''];

     maxLines = 5;
     }

     
if (whichModel == 'bigCap')
     {
     showIt = document.getElementById('headline');

	 showIt.style.color = 'black';    
	 showIt.style.size = 32;
     showIt.style.fontFamily = 'Tahoma';
     showIt.style.fontWeight = 'bold';
    
     showIt.innerHTML = "$50,000,000 Raised - Successful Longer Term";
     showIt = document.getElementById('subHeadline');
     showIt.innerHTML = 'Start the company, add management, employees, and a board.<br/> Get some angel money, venture money, grow fast, sell out!';
     showIt.innerHTML = 'Big money needed. Lots of development and testing needed.<br/> A few angels get lucky. All done with BIG venture money.';

     stockClassArray = [0, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0];
     seriesArray =     [0, 0, 0, 0, 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0];    
     investorArray =   [0, 1, 2, 3, 4, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0];
     priceArray =      [0, 1.25, 1.25, 1.25, 3.25, 7.50, 19.34, 0, 0, 0, 0, 0, 0, 0, 0];
     sharesArray =     [1500000, 0, 0, 0, 500000, 2170000, 1810000, 0, 0, 0, 0, 0, 0, 0, 0];
     optionsArray =     [0, 500000, 500000, 250000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
     shareholderArray =['Founder', 'Key Exec', 'Employees', 'Board', 'Several Angels', '2 Venture Firms', '3 Venture Firms', '', '', '', '', '', '', '', ''];

     maxLines = 6;
     }
     
     
}    
