$(function(){
		
	//ie only
	/*
	if($.browser.msie && $.browser.version < 9){
		$('#logo')
			.append('<span class="lt"></span><span class="rt"></span><span class="lb"></span><span class="rb"></span>')
			.css('position' ,'relative');
	}
	*/
	
	//textbox values
	/*
	swap_val = [];
	$(".input").each(function(i){
		swap_val[i] = $(this).val();
		$(this).focusin(function(){
			if ($(this).val() == swap_val[i]) {
				$(this).val("");
			}
		}).focusout(function(){
			if ($.trim($(this).val()) == "") {
				$(this).val(swap_val[i]);
			}
		});
	});
	*/

	 // Dock initialize  
    $('#dock').Fisheye(  
        {  
            maxWidth: 60,  
            items: 'a',  
            itemsText: 'span',  
            container: '.dock-container',  
            itemWidth: 70,  
            proximity: 60,  
            alignment : 'right',  
            valign: 'bottom',  
            halign : 'right'  
        }  
    );  
	
	
	$('.lightbox-ama').fancybox();

});

$(window).load(function() {
	
//content height
	var maxHeight=0;
    $('.equal_height').each(function(){
        if($(this).height()>maxHeight)
            maxHeight=$(this).height();
    });
	$('.equal_height').css('height', maxHeight);
	
});
