﻿/*slideshow*/
$(function() {
    $('#slideshow').cycle({
        fx:     'fade',
        speed:  2000,
        timeout: 7000,
        pager:  '.controls',
		slideExpr: 'div.slide',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '.controls li:eq(' + (idx) + ') a';
        }
    });
});

$(function() {
    $("#login_box").fancybox({
	    'width'				: '35%',
		'height'			: '50%',
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	$("#register_box").fancybox({
	    'width'				: '65%',
		'height'			: '65%',
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
});

