<!--begin "content container"-->
function switch_QuickNavi(){
    if (document.getElementById("QuickNavi").style.display != "block"){
        document.getElementById("QuickNavi").style.display = "block";
        document.getElementById("QuickNavi_Arrow").src = "/img/quick_arrow_rev.gif";
        document.getElementById("QuickNavi").focus();
    }else{
        document.getElementById("QuickNavi").style.display = "none";        
        document.getElementById("QuickNavi_Arrow").src = "/img/quick_arrow.gif";
    }
}
function determine_picture_dimensions(img_src, dimension)
{
    var img_temp = new Image();
    img_temp = img_src;
    if (dimension == "height"){
        return img_temp.height;
    }
    if (dimension == "width"){
        return img_temp.width;
    }
}
function media_window_open(url, title, height, width) {
 if (height != '' && width != ''){
   new_media_window = window.open(url, "", "width=width ,height=height ,scrollbars, resizable=yes");
 }else{
   new_media_window = window.open(url, "", "width=660 ,height=600 ,scrollbars, resizable=yes");
 }
 new_media_window.focus();
}
function next(x) {
    var location = window.location.href;
    var position = location.lastIndexOf("next");
    if (position >=0){
      location = location.substring(0,position-1);
    }
     var temp = location + "?next=" + x;
     window.location.href = temp;
}
<!--end "content container"-->