$(function(){
		
		//slide show
		$('.slideshow').cycle({ fx: 'fade', speed:1000, timeout:7000  });
		
		

		//rounded corner
		//$('#slidShowPanel').corner("30px");
		$('#pricePanel').corner("30px");
		$('#emailPanel').corner("30px");
		$('#passwordPanel').corner("30px");
		$('#personalPanel').corner("30px");
		$('#paymentPanel').corner("30px");
		$('.roundCorner').corner("30px");

		//pop-up bubble
		$("#gg").hover(function() {
			$('#gg_span').fadeIn("fast");
		}, function() {
			$('#gg_span').fadeOut("fast");

		});
		$("#biz").hover(function() {
			$('#biz_span').fadeIn("fast");
		}, function() {
			$('#biz_span').fadeOut("fast");
			
		});
		
		//menu rounded corner
		$('#flink').mouseover(function(){$('#nav-left').attr({ src: "/images/bg-nav-left-active.gif" });});
		$('#flink').mouseout(function(){$('#nav-left').attr({ src: "/images/bg-nav-left.gif" });});
		$('#cLink').mouseover(function(){$('#nav-right').attr({ src: "/images/bg-nav-right-active.gif" });});
		$('#cLink').mouseout(function(){$('#nav-right').attr({ src: "/images/bg-nav-right.gif" });});
		
		//full search list
		//$("#fullFeatureLink").click(function () { $("#fullFeature").animate(opacity: 'toggle')});
		/*$('#fullFeatureLink').click(function() {
			$('#fullFeature').animate({
 				opacity: 'toggle',
 				height: 'toggle',
 				easing: 'easein' 
 			});
		}); */
		
		
		 $('#fullFeatureLink').click(function() {
			 $('#fullFeature').toggle($('#fullFeature').css('display') == 'none');

		     return false;
		  });

		

		
		//search-set pop-up bubble
		$('#searchSet1').mouseover(function(){$('#searchSet_span1').fadeIn("fast");});
		$('#searchSet1').mouseout(function(){$('#searchSet_span1').fadeOut("fast");});
		$('#searchSet2').mouseover(function(){$('#searchSet_span2').fadeIn("fast");});
		$('#searchSet2').mouseout(function(){$('#searchSet_span2').fadeOut("fast");});
		$('#searchSet3').mouseover(function(){$('#searchSet_span3').fadeIn("fast");});
		$('#searchSet3').mouseout(function(){$('#searchSet_span3').fadeOut("fast");});
		
		//pop-up window
		$("#vLink").fancybox({ 
			'hideOnContentClick': true, 
			frameWidth: 650, 
			frameHeight:405, 
			overlayOpacity:0.4,
			'callbackOnClose': function() {
			$("#fancy_content").empty();
	      } 
		});
		$("#cLink").fancybox({ 'hideOnContentClick': false, frameWidth: 585, frameHeight:600, overlayOpacity:0.4});
		$("#uLink").fancybox({ 'hideOnContentClick': false, frameWidth: 585, frameHeight:600, overlayOpacity:0.4});
		$("#pwLink").fancybox({ 'hideOnContentClick': false, frameWidth: 560, frameHeight:280, overlayOpacity:0.4});
		
		/*$("#uLink").mouseover(function(){$('input#contactSubject').attr({ value: "I want TweetFeel Biz Unlimited." });});
		$("#uLink").click(function(){$('input#contactSubject').attr({ value: "I want TweetFeel Biz Unlimited." });});
		$("#cLink").mouseover(function(){$('input#contactSubject').attr({ value: "" });});*/
		
	
	
		
		
		//FAQ	
		$('.qq').click(function(e) {
			var name = $(e.target).attr('name');
			$('#a-' + name).animate({
 				opacity: 'toggle'
 			});
		}); 
		



	});

	