$(document).ready(function(){
		
	$('.fancybox').fancybox({
			 overlayOpacity : 0.5			
	});
	
	//$(".stripeMe tr").mouseover(function() {$(this).addClass("table_row_over");}).mouseout(function() {$(this).removeClass("table_row_over");});
	$(".stripeMe tr:even").addClass("table_row_alt");

	


    /*
	$('#photos').galleryView({
		panel_width: 764,
		panel_height: 450,
		frame_width: 153,
		frame_height: 100,
		border: 'none',
		background_color: '#222'
	});    
	*/
	//delete confirm
	/*
	$("a.delete").click(function(e){
	    e.preventDefault();
	    var href = $(this).attr('href');
	    custom_confirm('This item will be permanently deleted and cannot be recovered. Are you sure?',
	        function(){
	                location.href = href;
	        }
	    ); 
	});
	
*/		
	        })	;





/*
});

// Function to add the comment to the page
// Function to add the comment to the page
function addLoader() { 
	
    $("#ajax_response").html('');
    $("#ajax_response").show();
	$("#ajax_loader").html('<img src="/images/ajax_loader.gif" />');
       
} 
function removeLoader() { 
    $("#ajax_response").html("<img src='/images/ajax_response_success.gif' />");
    $("#ajax_response").fadeOut(3000);
    $("#ajax_loader").html('');
      
} 

function custom_confirm(prompt, action, title){
    if (title === undefined) title = "Are you sure?";
    $("#wrapper").append('<div id="dialog" title="' + title + '">' + prompt + '</div>');
    $("#dialog").dialog({width: 300, 
    					 modal: true,
    			
						 resizable: true, 
						 buttons: {'Proceed': function(){ $(this).dialog('close'); action(); }, Cancel: function(){ $(this).dialog('close'); }}, close: function(ev, ui) { $(this).remove();}});
} 
	*/  


