$(function() {
	
	// This jquery will create an array with every input field that has the class swap. For example:
	// The value Swap Me! will be erased when you click in the input field, and it will come back in if you don’t enter anything.
    swap_val = [];
    $(".swap").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]);
            }
        });
    });	
	
	// fancybox
	
	
	$(".campaign-container .pop").fancybox({
		'width'				: '600',
		'autoScale'			: false,
		'autoDimensions'	: false
	});
	
	/*
	$('.campaign-container .item').click(function() {
		 $(this).children(".itemlink").trigger('click');
	});
	*/
	
		
});
