function getRandomQuote() {

number1 = 0;
number2 = 0;

var quote = [];
var video = [];

quote[number1++] = "<h4>tracy on flexibility</h4><p>More flexible...easy to use!</p>";
video[number2++] = "Durante_Kreuk_Flexibility.flv";

quote[number1++] = "<h4>durante kreuk: on using apple computers</h4><p>Always has...always will.</p>";
video[number2++] = "Durante_Kreuk_Using_Apple_Computers.flv";

quote[number1++] = "<h4>durante kreuk: answers to questions?</h4><p>good customer service...more customers!</p>";
video[number2++] = "Durante_Kreuk_Answers_To_Questions.flv";

quote[number1++] = "<h4>what does fp do for your firm</h4><p>Providing Assurance...</p>";
video[number2++] = "RedRocket_What does fp do for your firm.flv";

quote[number1++] = "<h4>red rocket: on invoicing</h4><p>Compare Estimates to Actuals...Invoice!</p>";
video[number2++] = "RedRocket_Invoicing.flv";

quote[number1++] = "<h4>tracy on great staff</h4><p>never a stupid question!</p>";
video[number2++] = "Durante_Kreuk_GreatStaff.flv";

quote[number1++] = "<h4>perry on using reports</h4><p>Reporting is Outstanding</p>";
video[number2++] = "RedRocket_Using Reports.flv";

quote[number1++] = "<h4>red rocket: job profitability</h4><p>Productivity, Profitability...Sustainability</p>";
video[number2++] = "RedRocket_Job Profitability.flv";

quote[number1++] = "<h4>red rocket: on invoicing</h4><p>Compare Estimates to Actuals...Invoice!</p>";
video[number2++] = "RedRocket_Invoicing.flv";

var position = Math.floor(Math.random() * number1);

document.write("<object id='movieClipObject0' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='174' height='150'><param name='movie' value='/Portals/20339/flash/flash_movie_player_01.swf?file=/Portals/20339/media/" + video[position] + "&amp;image=/Portals/20339/images/_default_movie_posterframe_174x240.gif'><param name='menu' value='false'><param name='quality' value='best'><param name='wmode' value='transparent'><param name='allowFullScreen' value='true'><param name='allowScriptAccess' value='sameDomain'><param name='bgcolor' value='#cccccc'><param name='volume' value='50'><param name='id' value='movieClipObject0'><embed name='movieClipObject0' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' src='/Portals/20339/flash/flash_movie_player_01.swf?file=/Portals/20339/media/" + video[position] + "&amp;image=/Portals/20339/images/_default_movie_posterframe_174x240.gif' width='174' height='150' menu='false' quality='best' wmode='transparent' allowfullscreen='true' allowscriptaccess='sameDomain' bgcolor='#cccccc' volume='50' id='movieClipObject0'></object>" + quote[position]);

};

function getRandomHomeQuote() {

number1 = 0;
number2 = 0;

var quote = [];
var video = [];

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>tracy on flexibility</h2><p style='margin-left: 40px;'>More flexible...easy to use!</p>";
video[number2++] = "Durante_Kreuk_Flexibility.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>durante kreuk: on using apple computers</h2><p style='margin-left: 40px;'>Always has...always will.</p>";
video[number2++] = "Durante_Kreuk_Using_Apple_Computers.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>durante kreuk: answers to questions?</h2><p style='margin-left: 40px;'>good customer service...more customers!</p>";
video[number2++] = "Durante_Kreuk_Answers_To_Questions.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>what does fp do for your firm</h2><p style='margin-left: 40px;'>Providing Assurance...</p>";
video[number2++] = "RedRocket_What does fp do for your firm.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>red rocket: on invoicing</h2><p style='margin-left: 40px;'>Compare Estimates to Actuals...Invoice!</p>";
video[number2++] = "RedRocket_Invoicing.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>tracy on great staff</h2><p style='margin-left: 40px;'>never a stupid question!</p>";
video[number2++] = "Durante_Kreuk_GreatStaff.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>perry on using reports</h2><p style='margin-left: 40px;'>Reporting is Outstanding</p>";
video[number2++] = "RedRocket_Using Reports.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>red rocket: job profitability</h2><p style='margin-left: 40px;'>Productivity, Profitability...Sustainability</p>";
video[number2++] = "RedRocket_Job Profitability.flv";

quote[number1++] = "<h2 style='color: white; margin-left: 40px;'>red rocket: on invoicing</h2><p style='margin-left: 40px;'>Compare Estimates to Actuals...Invoice!</p>";
video[number2++] = "RedRocket_Invoicing.flv";

var position = Math.floor(Math.random() * number1);

document.write(quote[position] + "<div style='margin-left: 30px; margin-right: 30px;'><img id='img-1318360531557' src='/Portals/20339/images/_movie_container_small_cap_top.png' border='0' alt=' movie container small cap top' /><div style='background-color: #cccccc; border-left: 15px solid #1a1a1a; border-right: 15px solid #1a1a1a; padding: 5px;'><object id='movieClipObject0' width='320' height='260' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'><param name='menu' value='false' /><param name='quality' value='best' /><param name='wmode' value='transparent' /><param name='allowFullScreen' value='true' /><param name='allowScriptAccess' value='sameDomain' /><param name='volume' value='50' /><param name='src' value='/Portals/20339/flash/flash_movie_player_01.swf?file=/Portals/20339/media/" + video[position] + "&amp;image=/Portals/20339/images/_default_movie_posterframe_320x240.gif' /><param name='allowscriptaccess' value='sameDomain' /><param name='allowfullscreen' value='true' /><param name='pluginspage' value='http://www.macromedia.com/go/getflashplayer' /><embed id='movieClipObject0' width='320' height='260' type='application/x-shockwave-flash' src='/Portals/20339/flash/flash_movie_player_01.swf?file=/Portals/20339/media/" + video[position] + "&amp;image=/Portals/20339/images/_default_movie_posterframe_320x240.gif' menu='false' quality='best' wmode='transparent' allowFullScreen='true' allowScriptAccess='sameDomain' volume='50' allowscriptaccess='sameDomain' allowfullscreen='true' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div><img src='/Portals/20339/images/_movie_container_small_cap_bottom.png' border='0' alt=' movie container small cap bottom' /></div>");


};


function getRandomImage() {

number = 0;


var image = [];


image[number++] = "/Portals/20339/images/1822_fp_lever_header.jpg";

image[number++] = "/Portals/20339/images/1822_fp_pulley_header.jpg";

image[number++] = "/Portals/20339/images/1822_fp_screw_headerV2.jpg";

image[number++] = "/Portals/20339/images/1822_fp_wedge_header.jpg";

image[number++] = "/Portals/20339/images/1822_fp_wheel_header.jpg";

var position = Math.floor(Math.random() * number);

document.write("<img src='" + image[position] + "' border='0' style='display: block; margin: 49px auto 35px;' width='850' height='395' alt='Let us help you with client engagement, schedules, managing staff, online proofing, reports, invoicing, time management, profit and loss, expenses, CRM, project management, sales force integration, timesheet tracking, tasks, reporting, purchase orders, efficiency estimating, and timelines. Creative agency profits made simple.'/>");

};


function getRandomLogo() {

number = 0;


var image = [];


image[number++] = "<p><a href='/clients/'><img alt='' src='http://cornerstonenow.com/images/logo2.gif' width='175'></a><br></p><p><a href='/clients/'><img width='181' height='66' alt='' src='/Portals/20339/images/belmontLogo.png'></a></p>";

image[number++] = "<p><a href='/clients/'><img width='180' src='/Portals/20339/images/Bigbuzz_logo_Main.jpg' alt=''></a><br></p><p><a href='/clients/'><img width='180' height='24' src='/Portals/20339/images/cc_logo.gif' alt=''></a></p><p><a href='/clients/'><img width='180' height='54' alt='MarketingXchange' src='/Portals/20339/images/MarketingXchange.png'></a></p>";

image[number++] = "<p><a href='/clients/'><img width='160' height='31.5' alt='Function Point Client | Dragon Rouge of London' src='/Portals/20339/images/DragonRougeLogo.jpg'> </a></p><p><a href='/clients/'><img width='160' alt='big fuel uses Function Point for workflow and timesheet management' src='/Portals/20339/images/bigfuel.gif'> </a></p>";

image[number++] = "<p><a href='/clients/'><img width='70' title='Ion Design + Branding ' alt=' Ion Design + Branding ' src='/Portals/20339/images/ion_design_logo_02.gif'></a></p><p><a href='/clients/'><img width='70' src='/Portals/20339/images/Barrett-Wehlmann_marketing-logo.jpg' alt=''></a></p>";


var position = Math.floor(Math.random() * number);

document.write("<div style='text-align:center;'>" + image[position] + "</div>");

};
