// jQuery
$(function(){
	$.backstretch("images/bg6.jpg", {speed: 0, centeredY: 0, centeredX: 1});
	$(".triple a").hover(function(e){ $(this).hoverFlow(e.type, {bottom: "15px"}, 220); }, function(e){ $(this).hoverFlow(e.type, {bottom: "0px"}, 400); });
	$(".fade").animate({opacity: .75}, 0);
});

// Javascript
function myFocus(element) { if (element.value == element.defaultValue) { element.value = ''; } }
function myBlur(element) { if (element.value == '') { element.value = element.defaultValue; } }

//store the testimonials in arrays
quotes = new Array(12);
authors = new Array(12);
title = new Array(12);

quotes[0] = "Pixafy are my only retained web development agency and have been so for a few years now. They are a genuine extension of our team, and great at suggesting ways we can be smarter in our approach to digital marketing. They work well with all our team and are a resource I wholeheartedly trust. I am delighted to tell you how impressed I have been with the team at Pixafy. We have received an exceptionally high-standard of account management... always responded to our requests with a sense of urgency and utmost professionalism... despite our urgent deadlines, able to turn things around on time and within budget.";
authors[0] = "Greg Solomon";
title[0] = "Director of Marketing, Big Lead Sports by FSV";

quotes[1] = "In our years working with Pixafy, their team has been instrumental in helping us successfully achieve our technology needs on both small- and large-scale projects.  They are attentive to detail, think outside the box to solve challenges and meet aggressive deadlines that often come up in a digital world.";
authors[1] = "Ryan R. Bonini";
title[1] = "VP, Technology, BigLeadSports";

quotes[2] = "We came to Uri and team with a tight, do-or-die deadline and a complicated user experience problem. Pixafy immediately dove in, found the optimum solutions and in the process made our technology platform infinitely better and faster. The project was done on time, on budget and with 150 percent of their attention to detail every step of the way. The best part? The way Uri and the whole Pixafy team approached our challenge clearly conveyed to us that we were priority number one, with no indication whatsoever that other, pressing projects called. What an incredible, unheard of thing, especially in today's world of web development! We love Pixafy!";
authors[2] = "Cooper Munroe";
title[2] = "Co-Founder, The Motherhood";

quotes[3] = "I would highly recommend Uri and his team as a development resource. My branding company Red Antler often needs to partner with a development team to service our clients. They are one of the best teams I've ever worked with - efficient and reliable, producing consistently great work. Not to mention on time and within budget! There's always a certain amount of trust involved when you bring on a development partner - not being able to read code myself, I can't exactly check the work (and I've definitely been burned in the past). But Uri and his team quickly put any doubts at ease - they clearly know their stuff, and they are patient and courteous walking the less-initiated through the process. They are true professionals - a rare find in this category - and I would work with them again without hesitation.";
authors[3] = "Emily Heyward";
title[3] = "Partner, Red Antler";

quotes[4] = "Everyone at Pixafy was very responsive, and every request was met and then some.  They understood our requirements perfectly and included analytics we didn't even ask for!  When we went back to them for an expansion 18 months later, the work was turned around in a flash!";
authors[4] = "Joseph D'Ambrosio";
title[4] = "Owner, The Vow Project";

quotes[5] = "It's been a pleasure to have teamed up with Pixafy for our website development and ongoing needs.  The attention to detail, speed, and care that they have shown our project has been outstanding.  With unparalleled customer service, I receive answers to my questions quickly.  But not only that, they have proactively helped us find technical solutions or inexpensive ways to enhance our website in accordance with our creative needs.  Needless to say, I highly recommend Pixafy.";
authors[5] = "Monique Moore";
title[5] = "Co-Founder, Mott 50";

quotes[6] = "We've collaborated on several projects with Pixafy and continue to look to them as a reliable development resource to help our fast paced start-up build out its technology capabilities. Pixafy is quick to respond to requests and answer questions, delivers projects timely and is super thorough. I absolutely recommend Pixafy and look forward to continuing our work together.";
authors[6] = "Alison Gilbert";
title[6] = "Chief Operating Officer, Tasting Table";

quotes[7] = "Pixafy is a fast, efficient and professional team. They accomplished our project on time, were easy to work with and delivered quality code we could use right away. It's rare to work with a dev team, in house or otherwise that executes as well as Pixafy, I'd recommend them to anyone.";
authors[7] = "Adam Schwartz";
title[7] = "GM, Busted Tees";

quotes[8] = "We have worked closely with Pixafy to successfully integrate four new clients in three short months. During this time the Pixafy team has demonstrated the necessary expertise, flexibility and urgency to deliver on multiple integrations in parallel. They understand the unique needs of each respective client and build the solution around them which makes it that much easier to achieve the common goal of a satisfied customer.";
authors[8] = "Lorne Brockway";
title[8] = "VP of Client Services, Quiet Logistics";

quotes[9] = "Pixafy exceeded all our expectations in taking what we wanted our website to do & making it a reality. They listened to what the needs were of my specific business and assured that they met all of those needs. They were open to course correcting along the way if something changed and always made me feel as if my project were the only one on their plate. Their response time continues to be beyond admirable and most unexpected in today's market. In addition to their phenomenal great attention to detail is the level of expertise, intelligence, and experience they bring to the table. No matter what challenge I presented to them, they found a solution. Even though I come from a bakery background, they were able to make my world meet the web-world - something I did not think was possible. I could not think of a better business partner to have built and launched my website and more importantly, I can't think of a better partner than Pixafy to work with me as my business continues to grow.";
authors[9] = "Susan Sarich";
title[9] = "Founder, SusieCakes Bakeries";

quotes[10] = "We engaged Pixafy as our site developers when we had several complex elements of a new site we wanted to attempt. They worked with our designers and demonstrated a willingness to tackle difficult problems and explore different solutions.  Our site is multi-faceted with users contributing content from two countries.  Pixafy's early approach to training allowed for our content managers to feel confident when it went live.  We also rely on their client portal which allows site managers to track the status of bug reports and the progress of work pending.";
authors[10] = "Benedict Campbell";
title[10] = "I.T. Manager, American Academy in Rome";

quotes[11] = "I know nothing about websites except how to click and view them. Pixafy helped me created mylastsupper.com in a easy and simple way. They were able to translate all of the technical mumbo jumbo into a way I could understand. Building my site with Pixafy became an adventure as opposed to a daunting experience. As I dreamed up different features and experiences I wanted people to have on my site, not once was I told something wasn't possible; they always tried to find a way to make it work. I was and am thrilled with my experience with Pixafy.";
authors[11] = "Melanie Dunea";
title[11] = "Photographer/Author of My Last Supper";

quotes[12] = "The Pixafy team did an incredible job of creating Lockboxer. Its success is a credit to them. Lockboxer is a software as a service platform, so our product is the superiority of the experience that we provide for people when they come to our site. Within three months of launching, Lockboxer was featured in the Wall Street Journal, being compared favorably to other competitors in our industry. This, to me, is a huge barometer of success and an indicator of the value that Pixafy provides for a company.";
authors[12] = "Jennifer Morehead";
title[12] = "Founder, Lockboxer";

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//store the quotables in arrays
quotesa = new Array(4);
authorsa = new Array(4);
readmorea = new Array(4);

quotesa[0] = "The last thing most startups need is to overspend on hardware.";
authorsa[0] = "Pixafy founder Uri Foox in Crain's New York";
readmorea[0] = "<a href='http://mycrains.crainsnewyork.com/blogs/executive-inbox/2011/06/absorbing-a-burst-of-new-busin/' target='_blank'>Read more</a>";

quotesa[1] = "A New York based development team centered on using new technologies to pioneer solutions for companies.";
authorsa[1] = "Elizabeth Canon on Pixafy in Fashion's Collective";
readmorea[1] = "<a href='http://fashionscollective.com/FashionAndLuxury/12/preparing-for-the-online-holiday-rush/' target='_blank'>Read more</a>";

quotesa[2] = "Developers should be able to explain what they do in terms you can understand. Don't let them confuse and/or bore you into working with them.";
authorsa[2] = "Pixafy founder Uri Foox in Bloomberg BusinessWeek";
readmorea[2] = "<a href='http://www.businessweek.com/smallbiz/tips/archives/2011/07/questions_to_ask_when_hiring_a_web_developer.html' target='_blank'>Read more</a>";

quotesa[3] = "They are experts at helping websites maintain functionality when traffic soars.";
authorsa[3] = "Small business guru Denise O'Berry on DeniseOBerry.com";
readmorea[3] = "<a href='http://www.deniseoberry.com/four-ways-to-prevent-a-traffic-spike-from-ruining-your-business/' target='_blank'>Read more</a>";

quotesa[4] = "I called up all my friends who have websites or businesses and asked them how they did it. Then I asked them who they used and why they used them. After much research, looking through e-lance and talking to friends, I finally was put in touch with Uri from Pixafy, who I am still working with.";
authorsa[4] = "Lockboxer CEO Jenny Morehead on finding the right technical team, quoted in YoungUpstarts.com";
readmorea[4] = "<a href='http://www.youngupstarts.com/2011/10/13/interview-lockboxer-ceo-you-don%E2%80%99t-need-a-technical-co-founder-to-start-a-web-business/' target='_blank'>Read more</a>";

//calculate a random index
indexa = Math.floor(Math.random() * quotesa.length);
