// base.js für Plaxtika 2010



// H2 Farbänderung bei Mouseover der Box
$(document).ready(function() {
	 $("#info1").hover(function(){
	 	$("#info1 h2").addClass('greenFont'); 
	    }, function(){
	 	$("h2").removeClass('greenFont'); 
		});

	 $("#info2").hover(function(){
	 	$("#info2 h2").addClass('greenFont'); 
	    }, function(){
	 	$("h2").removeClass('greenFont'); 
		});

	 $("#info3").hover(function(){
	 	$("#info3 h2").addClass('greenFont'); 
	    }, function(){
	 	$("h2").removeClass('greenFont'); 
		});



// Rahmen um IMG im Portfolio bei hover

    $('div.exC').each( function () {
	$(this).hover( function () {
      	//$(this).find('h3').css({ color:"#bad431" });
        $(this).css({ "border-bottom":"1px solid #bad431"});
        $(this).find('img.web').css({ "border":"2px solid #dddddd"});
      	}, function (){
	  	//$(this).find('h3').css({ color:"#222222" });
        $(this).css({ "border-bottom":"1px solid #e1e1e1" });
        $(this).find('img.web').css({ "border":"2px solid #f2f2f2"});
  	  	});
    });
    
// scrollTo - Backtotop Link: 
    $('#mainC').after('<div style="width: 580px; text-align: center; line-height: 25px;"><a class="back">back to top</a></div>');

	$('a.back').click(function(){
		$.scrollTo( 0, 1000 );	
	});


    
// ### easyTooltip ###

	$("#wrapper a, #footerInner a").easyTooltip();	

	
}); // jQuery ready end








