jQuery.noConflict(); (function($) { $(function() {

$('html').attr('id', 'js'); // Enabled Javascript Detection

if($("a[rel=external]")){
	$("a[rel=external]").click(function() {
		window.open(this.href);  
		return false;
	});
}

if ($('#flash_area').length){$('#flash_area').coinslider({ width: 503, height: 265, hoverPause: false })};

$('.wrapper').css('min-height', $('#site').height());

if ($('#fb-wall').length){$('#fb-wall').fbWall({
	id:'102812113142189',
	accessToken:'206158599425293|fd3597a6747e6c8013da148e.1-100003023784107|1Pd1VbGJVzyuW_3RgK6V44ouFTA',
	showGuestEntries:true,
	showComments:true,
	max:3,
	timeConversion:12
	})
};

/*
function divresize(block, take_away) {
	var windowHeight = $(window).height();
	if (windowHeight-take_away>$('.content_int').height())  {
	$(block).css('height', windowHeight - take_away); 
	} else {
		$(block).css('height', $('.content_int').height());			
	}
	
}

$(window).ready(function() {
divresize('.content_int_bg', 317); 
});

$(window).resize(function(){
  divresize('.content_int_bg', 317); 
});
*/

/*
function myHeight () {
	var h_scrin = $(document).height();
	var h_1 = $(".content_int").height();
	if (h_scrin-315 > h_1){
		var h_1 = h_scrin - 315;
		$(".content_int").height(h_1);
	}
}

myHeight ();

$(window).resize(function(){
	myHeight ();
});

*/

}); })(jQuery);



