
      
$(document).ready(function() {

        $(".tweet").tweet({
            username: "RepresentPledge",
            join_text: "auto",
            avatar_size: 32,
            count: 2,
            auto_join_text_default: "", 
            auto_join_text_ed: "",
            auto_join_text_ing: "",
            auto_join_text_reply: "",
            auto_join_text_url: "",
            loading_text: "loading tweets…"
        });
        
        

			$(".youtube").click(function() {
				$.fancybox({
						'padding'		: 0,
						'autoScale'		: false,
						'transitionIn'	: 'none',
						'transitionOut'	: 'none',
						'title'			: this.title,
						'width'		: 680,
						'height'		: 495,
						'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
						'type'			: 'swf',
						'swf'			: {
						   	 'wmode'		: 'transparent',
							'allowfullscreen'	: 'true'
						}
					});
			
				return false;
			});
			
			
			$('#closefancybox').click(function() {
						  $.fancybox.close();
			});
			     
			        
			       

						$("#various1").fancybox({
							'titlePosition'		: 'inside',
							'transitionIn'		: 'none',
							'transitionOut'		: 'none'
						});
						
		
			
			 
		
			
			
		});

	        
			   


        
 
