// JavaScript Document

	$(document).ready(function() {
							   
		$("#content").show();
		
    	/*$('#feat-cycle').cycle({
			fx:     'scrollUp', 
    		timeout: 5000,
			speed:	500,
			before:  onBefore
		});
		
		function onBefore() {
			$('#feat-left a').removeClass('active');
			$('#feat-left a').eq($(this).parent().children().index(this)).addClass('active');
		}
		
		$("#feat-left a").click(function(){
			$('#feat-cycle').cycle($(this).parent().children().index(this));
			$('#feat-left a').removeClass('active');
			$(this).addClass('active');
		});*/
		
		$('#imgset1, #img1').click(function() {
			$.fancybox([
				{
					'href'	: 'images/gallery/new-ui-1.png',
					'title'	: 'Designed with you in mind'
				},
				{
					'href'	: 'images/gallery/new-ui-2.png',
					'title'	: 'Designed with you in mind'
				}
			], {
				'padding'			: 0,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'              : 'image',
				'overlayColor'		: '#000',
				'overlayOpacity'	: '0.8',
				'centerOnScroll'	: true
			});
		});
		
		$('#imgset2, #img2').click(function() {
			$.fancybox([
				{
					'href'	: 'images/gallery/performance.png',
					'title'	: 'Scan and Go'
				}
			], {
				'padding'			: 0,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'              : 'image',
				'overlayColor'		: '#000',
				'overlayOpacity'	: '0.8',
				'centerOnScroll'	: true
			});
		});
		
		$('#imgset3, #img3').click(function() {
			$.fancybox([
				{
					'href'	: 'images/gallery/online-backup.png',
					'title'	: 'Backup Online - Free'
				}
			], {
				'padding'			: 0,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'              : 'image',
				'overlayColor'		: '#000',
				'overlayOpacity'	: '0.8',
				'centerOnScroll'	: true
			});
		});
		
		/*$('#movie1').click(function() {
			$.fancybox({
				'padding'		: 0,
				'autoScale'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none',
				'title'			: this.title,
				'width'			: 640,
				'height'		: 385,
				'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
				'type'			: 'swf',
				'overlayColor'		: '#000',
				'overlayOpacity'	: '0.8',
				'centerOnScroll'	: true,
				'swf'			: {
			    	'wmode'				: 'transparent',
					'allowfullscreen'	: 'true'
				}
			});

			return false;
		});*/
		
		
		/*$("#subscribebtn").click(function(){
		
			var email = $("input#email").val();
		
			$("#content-newsletter p.third").html('<p align="center"><img src="images/ajax-loader.gif" alt="" /></p>');
							
			$.post('includes/newsletter-prel.php', {mail:email}, function(data){
				if(data.err==0){
					$("#inpnews").css('background-position', 'left top');
					$("#content-newsletter p.third").html('<p class="cul-green">' + data.txt + '</p>');
					setTimeout('newsreset()', 5000);
				}
				else if(data.err==1){
					$("#content-newsletter p.third").html('<p class="cul-red">' + data.txt + '</p>');
					$("#inpnews").css('background-position', 'left bottom');
					//setTimeout('newsreset()', 5000);
				}
			}, "json");
    	});*/

	});
	
	/*function newsreset() {
		$("#inpnews").css('background-position', 'left top');
		$("#content-newsletter p.third").html('*Comodo cares about your security issues and will not give your email to any third party or use it for commercial purposes.');
		$("input#email").val('Your email');
	}*/
