var overaktiv = 0;
var last = 0;
//
//
//
function openThis(what) {
    $("#a_obj_" + what).slideDown(500);
}
function hideThis(what) {
    $("#a_obj_" + what).slideUp(500);
}
$(function() {
	$('.bild a').lightBox();
});
//
//
//
function doLoad(what, onoff) {
    if (what == '0' || onoff == 0) {
        $("#thepreviewfloater").css({display:"none"});
        return;
    } else {
        if (onoff) {
            $("#thepreviewfloater").load("bild.php?pic=" + what);
            $("#thepreviewfloater").css({display:"block"});
            last = what;
        }
    }

}
jQuery(document).ready(function(){
   $().mousemove(function(e){
        var tx =e.pageX+20;
        var ty =e.pageY;
        $('#thepreviewfloater').css({left:tx+"px", top:ty+"px" });
   }); 
})


function doNews() {
	$("#newsbox").show("slow");
}