// JavaScript Document





$(document).ready(function(){
			
				
			
			$("#ExpandReviews").click(function (event) {
			  event.preventDefault();
			  //$("#comments2").toggle("blind", {height:200}, 500);
			  $('#pageReviwes').animate({height:'100%'}, 1000);
			  $('#ExpandReviews').hide(); 
			  $('#CloseReviews').show(); 
			    
			});
			
			$("#CloseReviews").click(function (event) {
			  event.preventDefault();
			  $('#pageReviwes').animate({height:400}, 1000);
			  $('#ExpandReviews').show(); 
			  $('#CloseReviews').hide(); 
			    
			});

			
			$('.Tipsy').tipsy({fade: true, title: 'name',gravity: 's'});	
			$('.Tipsy1').tipsy({fade: true, title: 'name',gravity: 'e'});	
			$('.Tipsy2').tipsy({fade: true, title: 'name',gravity: 'w'});	
				
			
			
			
			
			
			
			
			
			$(".FancyPage").fancybox({
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.7,
				'titleShow'	: false,
				'type'				: 'iframe'
			
			});
			
			$(".FancyCountry").fancybox({
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.7,
				'titleShow'	: false
				
			
			});
			
			
			
			
			$("a#FancyPic").fancybox({
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.7,
				'titlePosition'	: 'inside'
			});
			
			$(".FancyVideo").fancybox({
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.7,
				'type'				: 'iframe',
				'autoScale'			: true,
				'titlePosition'	: 'inside',
				'width': 700,
				'height': 420
			});
			
			$(".FancySurvey").fancybox({
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.7,
				'type'				: 'iframe',
				'autoScale'			: true,
				'titlePosition'	: 'inside',
				'width': 700,
				'height': 500
			});
			
			
			
			

			
		
				
				
				
				
				
				// Dialog Link
				
				

				
				$('.JQpost').click(function() {
				  $('#PostForm').slideToggle(800,"easeOutElastic", function() {
					// Animation complete.
					//boo('some stuff');
				  });
				});
				
				
				
				
				
				
				$(".SomeRow").hover(function() {
						var color = $(this).css("background-color");
						//alert(color);
						$(this).stop().animate({ backgroundColor: "#DCE4ED"}, 300);
						},function() {
						$(this).stop().animate({ backgroundColor: "#ffffff" }, 900);
						// $("#resultCSS").html("That div is <span style='color:" + color + ";'>" + color + "</span>.");
						
				});
				
				
				
				
				//Cufon.now(); 
				
				
					
							
					
			
			
				
			});


