function resizeTeasers(){

        var browser = "";
        // BROWSER?

        if (browser == ""){
                if (navigator.appName.indexOf("Microsoft") != -1)
                        browser = "IE";
                else if (navigator.appName.indexOf("Netscape") != -1)
                        browser = "Firefox";
                else browser = "IE";
        }

        // get box heights;
        var cheight1 = document.getElementById("box1").clientHeight;
        var cheight2 = document.getElementById("box2").clientHeight;

        // YET ANOTHER IE HACK!
        if (browser == "IE") {
                cheight1 = cheight1 + 4;
                cheight2 = cheight2 + 4;
        }

        // set smallest box height to largest box height;
        if (cheight1 < cheight2)
        {
                document.getElementById("box1").style.height = cheight2+"px";
        }
        if (cheight2 < cheight1)
        {
                document.getElementById("box2").style.height = cheight1+"px";
        }
}

/*function showImage(id,user_id) {
	URL = "/image.php?id=" + id + "&user_id=" + user_id;
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,copyhistory=0,width=420,height=420,left=100,top=100,screenX=100,screenY=100');");
}

function popUp(url,page,width,height) {
	eval("page" + page + " = window.open(url, '" + page + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,copyhistory=1,width=" + width + ",height=" + height + ",left=50,top=50,screenX=50,screenY=50');");
}

*/
