jQuery(document).ready(function(){
		
		jQuery('.btn-boolen').click(function(){
			//remove all selected values
			jQuery(this).parent('div').children('a').removeClass('yes_no_selected');
			//find the class
			var class_name = jQuery(this).attr('class');
			//remove the 'btn-boolen' from the string
			val = class_name.substr(11);
			//add value
			jQuery(this).parent('div').children('input').attr("value", val);
			
			jQuery(this).toggleClass('yes_no_selected');
			return false;
		});
		
		//zebra striping
		jQuery("table.target_segment tr:even").addClass("alt");
		
		//message/flash closing
		jQuery(".message").mouseover(function() {
			jQuery(this).css('cursor', 'pointer');
			jQuery(this).attr('title', 'click to close');
		});
		jQuery(".message").click(function() {
			jQuery(this).hide();
		});
		
		var quotes = []
		quotes.push(['&quot;In just a few months working with Bizo, we’re increasing our brand awareness with audiences that matter. Bizo’s business targeting ensures we’re getting in front of the most qualified audiences for our business, and it shows in the results.&quot;</span>', '– Richard Turcott, CMO for RatePoint, Inc., a leading provider of customer feedback and online reputation management services']);
		quotes.push(['&quot;Plaxo has a user base that is very attractive to advertisers.  Bizo’s targeting capabilities have enabled advertisers for the first time to directly reach specific groups within that user base, in turn yielding significantly higher revenue for Plaxo.&quot;', '– Peter Lester, the VP of business development for Plaxo, a social utility popular with professionals']);
		quotes.push(['&quot;The business targeting that Bizo’s network provides has generated about a 100% increase in the value of the inventory we’re using to target ads. That means our campaigns are twice as effective as they were before using Bizo.&quot;', '– Jay Schwedelson, Corporate Vice President, Worldata'])
		quotes.push(['&quot;Having worked with Bizo for a number of my clients - I can say that their dedication to client success and honesty with what works and how to improve on shortcomings will guarantee them success in the future!&quot;', '– Jennifer Bachner, 90 Octane'])
		quotes.push(['&quot;The Rubicon Project’s top priority is providing our ad network partners with safe, quality-driven inventory opportunities. Bizo is an extremely valuable partner and is consistently placed in the top tier of our premium inventory because of their quality branded advertisers and high CPM performance.&quot;', '– Raleigh Harbour, VP of Ad Network Development'])
		quotes.push(['&quot;Hoover’s is a valuable tool for sales and marketing audiences, and Bizo allows us to efficiently reach specific target audiences to describe the value we can deliver. We have been working with Bizo for a few months now and are excited that we have found a new channel that is showing increased ROI above and beyond our past efforts.&quot;', '– Rocky Brown, marketing manager for Hoovers'])
		quotes.push(['&quot;Bizo gives us more than 100% better value for our impressions than any other ad network while delivering additional revenues from anonymously targeting our audience after they have left Spoke. That’s real money that goes right to our bottom line.&quot;', '– Frank Vaculin, the CEO of business information publisher Spoke'])
		quotes.push(['&quot;The social media channel is playing an increasingly central role as we look for new and innovative ways to get our clients’ messages and brands in front of their target audiences online.  We’ve started integrating Bizo Switchboard into several campaigns that we’re supporting and, for the first time, we’re getting some real clarity around who we’re reaching.&quot;', '– Rick Segal, President Worldwide, Chief Practice Officer, Gyro'])
		quotes.push(['&quot;Our company is committed to delivering quality information that helps our target audience, engineering and manufacturing professionals, do their jobs better.  By providing insight into the types of users engaging with our content, Bizo Switchboard helps us make sure we’re covering the topics that are most relevant and useful for our audience.&quot;', '– Jennifer Bomze, Senior Director of Marketing, Arena Solutions'])
		quotes.push(['&quot;The insight Bizo provides has allowed us to focus and optimize our clients’ B-to-B advertising efforts like never before. Bizo helps us reach the very specific business audiences that matter to our clients and then really understand if outbound programs are driving the right people to their websites.&quot;', '– Rick Segal, President Worldwide, Chief Practice Officer, Gyro'])	
		quotes.push(['&quot;Bizo has given us truly unique insight into the precise business professionals that we serve and the power to engage them more effectively. We pride ourselves on providing keen business content and creating solid opportunities for marketers to reach important decision makers. Bizo has taken this commitment to new levels of innovation and access while increasing our revenue opportunities.&quot;', '– Brian DeWeese, VP Publisher Relations, FinancialContent'])
		quotes.push(['&quot;After an extensive review of Bizo’s system, our certification has determined that Bizo meets or exceeds industry requirements for accurate and anonymous data. Bizo provides a valuable service to both publishers and advertisers by adding the dimension of audience quality upon which informed media decisions can be made.&quot;', '– Peter Black, Sr. VP of Business Development, BPA Worldwide'])
		quotes.push(['&quot;Having a thought leader like Bizo as an advocate for industry self-regulation is a major win for advancing the cause and preserving industry growth. Bizo joins a growing list of companies using Evidon to power their compliance efforts in order to inform consumers about how the industry collects and uses interest-based data.&quot;', '– Scott Meyer, founder and CEO of Evidon'])
		quotes.push(['&quot;Targeting our prospects online can take a lot of effort and a healthy dose of guesswork. Bizo is able to place our ads precisely in front of our ideal prospects across the web. The resulting precision is an essential part of meeting our online advertising objectives.&quot;', '–  Jon Miller, VP of Marketing, Marketo'])
		quotes.push(['&quot;Our ongoing studies show that, above all else, advertisers allocate their spending based on campaigns that yield the highest lead quality. Marketers, as well as publishers, put themselves in preferred positions by using audience targeting such as Bizo’s to increase the ratio of ideal prospects entering the funnel.&quot;', '– Chuck Richard, VP & Lead Analyst, Outsell'])
		quotes.push(['&quot;Bizo has been providing indispensible B2B data on US audiences, helping our US clients target and measure B2B campaigns like never before. It is exciting that we now have the same B2B data on UK audiences to offer to our UK clients.&quot;', '– Tim Brown, EU General Manager, Tribal Fusion'])
		quotes.push(['&quot;With greater demand for transparency in online marketing, advertisers want assurance that the data they are using to analyze media buys is not only accurate, but has been collected in a truly anonymous manner. Our certification has determined that Bizo meets or exceeds industry requirements for accurate and anonymous data.&quot;', '– Peter Black, Sr. VP of Business Development, BPA Worldwide'])
		quotes.push(['&quot;...Discovering your website whos can be simple and quick thanks to Bizo – a business targeting platform of rich, anonymous business demographics of 85 million worldwide web users.&quot;', '– Dara Schulenberg, B2B Fishbowl'])
		quotes.push(['&quot;We build unique programs with Bizo for almost every one of our clients.   It’s our first choice when it comes to targeted business-to-business display programs.&quot;', '– Frannie Jaye Danzinger, Sr. VP of Media, Gyro'])
											


		var random_number = Math.floor(quotes.length*Math.random());

		
		if(jQuery("#quotes_text").length > 0) {
			jQuery("#quotes_text p:first").html(quotes[random_number][0]);
			jQuery("#quotes_text p:last").addClass('sub').html(quotes[random_number][1]);
		}
		
		if(jQuery(".quotes-side").length > 0) {
			jQuery(".quotes-side p:first").html(quotes[random_number][0]);
			jQuery(".quotes-side p:last").html(quotes[random_number][1]);
		}
		
		
		if(jQuery("#p_leads").length > 0) {
		  jQuery("#p_leads").submit(function(){
		    jQuery(this).slideUp('slow', function(){
		      jQuery("#lead-capture #flash").show();
		    });
		    return false;
		  });
		}
		
});

