    $(document).ready(function(){
    	$("a[target=okp_search]").attr("href", "#TB_inline?height=400&width=600&inlineId=search_okp").attr("class", "thickbox");
    	$("a[target=akkr_search]").attr("href", "#TB_inline?height=400&width=600&inlineId=search_okp_akkr").attr("class", "thickbox");
    	$("a[target=multi_search]").attr("href", "#TB_inline?height=400&width=750&inlineId=search_multi").attr("class", "thickbox");
    });

    function find_it(el) {
    	var i_text = $("#TB_window input[name=text_okp]").val();
    	var i_okp = $("#TB_window input[name=okp]").val();
    	var i_tnved = $("#TB_window input[name=tnved]").val();

    	$("#TB_window div.result_okp").html("<br /><br /><br />").css("background", "url(/js/loadingAnimation.gif) left top no-repeat");
    	$.post("/ajax-search.php", {text: i_text, okp: i_okp, tnved: i_tnved}, function(data) {
    		$("#TB_window div.result_okp").css("background", "").html(data);
    		$("#TB_window div.result_okp tr:even").css("background", "#efefef");
    	}, "html");
    }

    function find_it_akkr(el) {
    	var i_text = $("#TB_window input[name=text_okp_akkr]").val();
    	var i_okp = $("#TB_window input[name=okp_akkr]").val();

    	$("#TB_window div.result_okp_akkr").html("<br /><br /><br />").css("background", "url(/js/loadingAnimation.gif) left top no-repeat");
    	$.post("/ajax-search-akkr.php", {text: i_text, okp: i_okp}, function(data) {
    		$("#TB_window div.result_okp_akkr").css("background", "").html(data);
    		$("#TB_window div.result_okp_akkr tr:even").css("background", "#efefef");
    	}, "html");
    }

    function find_it_multi(el) {
    	var i_text = $("#TB_window input[name=text_multi]").val();
    	var i_okp = $("#TB_window input[name=okp]").val();
    	var i_tnved = $("#TB_window input[name=tnved]").val();

    	$("#TB_window div.result_multi").html("<br /><br /><br />").css("background", "url(/js/loadingAnimation.gif) left top no-repeat");

    	$.post("/ajax-search-multi.php", {text: i_text, okp: i_okp, tnved: i_tnved}, function(data) {
    		$("#TB_window div.result_multi").css("background", "").html(data);
    		$("#TB_window div.result_multi tr:even").css("background", "#efefef");
    	}, "html");
    }

