// random quotes
function insertQuotes(location){
    
    var quotesArray = new Array();
    var arrGenQuotes = new Array();
    var arrOtherQuotes = new Array();
    var arrTeamQuotes = new Array();
    
    switch(location){
        case "client":      
            quotesArray = arrGenQuotes;
            break;
            
        case "team":
            
            quotesArray = arrTeamQuotes;
            break;
            
        case "home":

            quotesArray = arrOtherQuotes;
            break;
    }
    
    //General Quotes
   arrGenQuotes[0] = "<p>”Outside GC is simply the best law firm I've ever worked with.  Our lawyer is quick, accurate, and actually gives you the useful information you've always wanted from lawyers but rarely if ever get.  They provide fast, pragmatic and reasonably priced legal work.”</p>" +
    "<h3>Mike Gardner, CEO<br />" +
    "Recombo</h3>";
    
    
    arrGenQuotes[1] = "<p>”Aside from the strong legal expertise Outside GC attorneys bring to the table, we have benefited tremendously from their ability to work directly and effectively with our sales organization and customers.  It is not always easy to find the necessary combination of these legal and business skills.”</p>" +
     "<h3>Ari Buchler, Senior Vice President, General Counsel and Secretary<br />Phase Forward</h3>"; 
    
    arrGenQuotes[2] = "<p>”Outside GC is very professional and extremely responsive on all the deals we put in front of you. I can’t tell you how many times I hear “Wow – that was a quick turn around” or “they did a great job on that call”. Our sales team really takes notice of the exceptional service you guys provide and I speak for them (and myself) when I say THANKS!”</p>" +
     "<h3>John O’Donnell, CFO<br />Aveksa</h3>";
    
    arrGenQuotes[3] = "<p>”Outside GC gives added bench strength to our in-house legal group.  They bring the strategic insight and credibility of experienced lawyers who really understand our business.  They are an integral part of our legal team – whether it’s for a particular project or to pick up ordinary-course work during particularly busy times, Outside GC provides a very valuable service and helps me control my legal budget.”</p>" +
     "<h3>Michael Prescott, Senior Vice President, General Counsel, and Corporate Secretary<br />GTECH Corporation</h3>";
   
    arrGenQuotes[4] = "<p>”After a full year of working with different lawyers on behalf of our start-up venture, we finally, and fortunately, found our way to Outside GC. As a start-up we are rapidly moving forward on a variety of different fronts, and they’ve been right there with us, enabling us to forge a solid legal and operational foundation.”</p>" +
    "<h3> Ian Kerner, Co-Founder<br />Passionista</h3>";
    
    arrGenQuotes[5] = "<p>”Our Outside GC lawyer has been a terrific member of our team through complex negotiations, and we very much appreciate her contribution. She is smart, professional, and creative. And here’s this for a first: the sales team loves her!”</p>" +
    "<h3>BC Krishna, Founder<br />Memento Security</h3>";
   
    arrGenQuotes[6] = "<p>”What I like most about Outside GC is how flexible they are in being able to quickly ramp up and ramp down depending on our legal needs.  We recently needed extra help for a stretch, and the following week we had a full-time experienced attorney on-site.  Outside GC worked with me to come up with a fee structure that made sense for the company, which was far less than what we would have paid to a traditional law firm for someone with comparable experience.”</p>" +
    "<h3>Ray DeZenzo, CFO and VP of Operations<br />Empirix</h3>";
	
    arrGenQuotes[7] = "<p>”I have worked with Outside GC for more than 5 years at two different companies.  They provide consistent, high quality legal work at a great price point and are professional, responsive and practical.  Outside GC has become a trusted partner because they’ve proven over the years to be an ideal resource for our day to day legal work.”</p>" +
    "<h3>Jim Eliason, CFO<br />Desktone</h3>";
    
    arrGenQuotes[8] = "<p>”Certified Collectibles Group uses Outside GC for all of our in-house legal services. What has made Outside GC invaluable to us is their ability to grasp not only the legal issues but the business issues as well. It is easy to find a lawyer to dispense legal advice but rare to find someone who possesses both a keen legal mind as well as an understanding of business and strategic issues.”</p>" +
    "<h3>Steven Eichenbaum, CEO<br />Certified Collectibles Group</h3>";
    
    arrGenQuotes[9] = "<p>”I have worked with Outside GC for several years now on projects ranging from conducting a shareholder vote on a reverse split to working with them on acquisition transactions.  In every instance, my expectations have been exceeded. Compared to the larger firms I have used previously, they also provide tremendous value on the financial side of the equation.   Frankly, I don’t know why I ever used anyone else.”</p>" +
    "<h3>Kirke Curtis, CEO<br />Pamet Systems, Inc.</h3>";
    
    arrGenQuotes[10] = "<p>”We turned to Outside GC when a special project left our in-house resources understaffed.  They were able to jump in immediately and were very effective in keeping our legal matters moving along, which was a great help to me.”</p>" +
    "<h3>Aaron M. Grossman, Vice President, General Counsel<br />LeMaitre Vascular</h3>";
    
    arrGenQuotes[11] = "<p>”The effectiveness, speed, and cost efficiency of Outside GC has allowed us to keep a lid on legal costs, while simultaneously allowing us to do what it is that we do. Your technical expertise is excellent and your legal advice reflects the depth of your experience in the business world.”</p>" +
    "<h3>Stephen Green, Managing Director<br />Mayfair Group LP</h3>";

    arrGenQuotes[12] = "<p>“I've now worked with Outside GC at two consecutive companies,  and what I like best is the consistency and responsiveness of their  lawyers. &nbsp;Because Outside GC is a partner-only firm, I get to work with  senior attorneys who bring maturity and judgment to every deal. &nbsp;And  because my Outside GC partner is available on-demand, they invariably  get back to me promptly and make sure my deals stay on track.”</p><h3>Joe Alwan, Vice President &amp; General Manager,AVOKE Caller<br /> Experience Analytics</h3>";

    arrGenQuotes[13] = "<p>“I have worked closely with Outside GC for the past several years.&nbsp; I really like the fact that I work primarily with the same one partner at Outside GC on most legal matters, but that I can also turn to another team member when things get very busy, or when a specialized need arises.&nbsp; As a rapidly growing company we have a wide variety of needs that can change quickly.&nbsp; I am always able to have a partner from Outside GC work with me as needed to meet tight deadlines.&nbsp; I really value and rely on the input and quality of work I always receive when I work with Outside GC.”</p><h3>David Stack, Chief Financial Officer<br>HubSpot</h3>";

    arrGenQuotes[14] = "<p>“Outside GC has been a great partner for our company.&nbsp; They are responsive, cost effective, and their on-demand model works perfectly for our business. The Outside GC attorneys are talented attorneys in their fields of expertise, and they have excellent “business savvy”.&nbsp; If you haven’t tried Outside GC, you owe it to yourself to give them a project.”</p><h3>Dan Slavin, CEO<br>CodeBroker</h3>";

    arrGenQuotes[15] = "<p>“I've been extremely pleased with the service I've received from Outside GC. &nbsp; I particularly appreciate the focus on small business - I can provide tasks to my Outside GC attorneys and I can give them very specific guidance on how much I want to spend on a given task. &nbsp;If it is going to take longer, I am always apprised accordingly. Regardless, I always get a bill that reflects those instructions, and I don't ever get any surprises! There's no black hole of cost - we just get good service that meets our expectations, and pay a fair price. &nbsp;Its how business should be done. &nbsp;Plus, I always get the sense that my attorneys are deeply sensitive to cost and service quality - they tell me what I should worry about and I spend money on that, and they also tell me when not to worry, which saves me the money and hassle of spending legal dollars unnecessarily.</p><h3>Seth Rosen, Chief Financial Officer<br>CustomMade Ventures</h3>";
    
    //Home page Quotes
    arrOtherQuotes[0] = "<p>”Outside GC is simply the best law firm I've ever worked with.  Our lawyer is quick, accurate, and actually gives you the useful information you've always wanted from lawyers but rarely if ever get.  They provide fast, pragmatic and reasonably priced legal work.”</p>" +
    "<h3>Mike Gardner, CEO<br/>Recombo<br />Recombo</h3>";
    
    arrOtherQuotes[1] = "<p>”Aside from the strong legal expertise Outside GC attorneys bring to the table, we have benefited tremendously from their ability to work directly and effectively with our sales organization and customers.  It is not always easy to find the necessary combination of these legal and business skills.”</p>" +
   "<h3>Ari Buchler, Senior Vice President, General Counsel and Secretary<br />Phase Forward</h3>";
    
    arrOtherQuotes[2] = "<p>”Outside GC is very professional and extremely responsive on all the deals we put in front of you. I can’t tell you how many times I hear “Wow – that was a quick turn around” or “they did a great job on that call”. Our sales team really takes notice of the exceptional service you guys provide and I speak for them (and myself) when I say THANKS!”</p>" +
   "<h3>John O’Donnell, CFO<br />Aveksa</h3>";
    
    arrOtherQuotes[3] = "<p>”Outside GC gives added bench strength to our in-house legal group.  They bring the strategic insight and credibility of experienced lawyers who really understand our business.  They are an integral part of our legal team – whether it’s for a particular project or to pick up ordinary-course work during particularly busy times, Outside GC provides a very valuable service and helps me control my legal budget.”</p>" +
    "<h3>Michael Prescott, Senior Vice President, General Counsel, and Corporate Secretary<br />GTECH Corporation</h3>";
    
    //Team page quotes
    
    arrTeamQuotes[0] = "<p>”I’ve been practicing law for over 40 years and this is the most enjoyable professional setting I have ever worked in – all of the challenge, variety and sophistication of the practice at a big firm without any of the administrative headaches and marketing responsibilities.  All I have to do is practice law as well as I can.  The level of appreciation I receive from my Outside GC clients is truly gratifying.  And I really love the opportunity to work from home most of the time.”</p>" +
    "<h3>Lew Segal</h3>";
    
    arrTeamQuotes[1] = "<p>”Outside GC is great because it combines the close connection with the client that you get in an in-house position, with the variety of representing multiple companies that you get from being in private practice.”</p>" +
    "<h3>Dan Carroll</h3>";
    
    arrTeamQuotes[2] = "<p>”I’m able to do high-quality work for a great variety of clients and I don’t have to worry about where my next client will come from.  Outside GC has done a consistent job keeping me busy for nearly 7 years now.  I work hard, but the rewards are terrific.”</p>" +
    "<h3>Stefan Vounessea</h3>";
    
    arrTeamQuotes[3] = "<p>”Jon and Bill make it clear that they really care about the experience we as lawyers are having.  They’re very supportive and always checking to make sure that the balance is right – if I want more work, they get it for me; if I want to slow down for some reason, they find a way to accommodate that too. I get all that flexibility and the broad experience that comes with working in a variety of companies and industries.”</p>" +
    "<h3>Mary Regan</h3>";
    
    arrTeamQuotes[4] = "<p>”After I left my last company, I turned down several offers to be General Counsel and decided to join Outside GC instead.  It was the best professional decision I ever made.  I have never been this happy practicing corporate law - It's amazing what a little flexibility and lifestyle can do (along with great clients and great co-lawyers)!”</p>" +
    "<h3>Jen Muto</h3>";
    
    arrTeamQuotes[5] = "<p>”At Outside GC, I have been able to finally achieve an incredibly satisfying balance between work and family life.  The Outside GC model has allowed me to maintain a challenging and varied legal practice, while also providing me with a tremendous amount of flexibility in my schedule and control over my billable hours.”</p>" +
    "<h3>Jackie Piscitello</h3>";

    
    //pick a random number between 0 and length of array
    rndNum =(Math.round((Math.random()* (quotesArray.length-1))));
    //populate container
    document.write(quotesArray[rndNum]);
}


