var IE;   // Explorer 
var N;    // Netscape 
var N7;   // Netscape 7 

window.onresize = doReSize;

function checkInnerHeight() {
var innerheight;
if (document.all){IE=1;N=0;N7=0;}
else if (document.layers){IE=0;N=1;N7=0;}
else if (document.getElementById){IE=0;N=0;N7=1;}

if (IE) {
	document.all["mainpage"].style.height = (document.documentElement.offsetHeight-15)+"px";
	document.all["content"].style.height = (document.documentElement.offsetHeight-160)+"px";
	document.all["content_main"].style.height = (document.documentElement.offsetHeight-215)+"px";
} 
if (N)  {
	document.getElementById("mainpage").innerHTML.style.height = (window.innerHeight-15)+"px";
	document.getElementById("content").innerHTML.style.height = (window.innerHeight-160)+"px";
	document.getElementById("content_main").innerHTML.style.height = (window.innerHeight-215)+"px";
} 
if (N7) {
	document.getElementById("mainpage").style.height = (window.innerHeight-15)+"px";
	document.getElementById("content").style.height = (window.innerHeight-160)+"px";
	document.getElementById("content_main").style.height = (window.innerHeight-215)+"px";
}
}
function doReSize(){checkInnerHeight();}
function openpdf(URL2) {
URL1="http://www.babymassagetogether.nl/nl/" + URL2;
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL1, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=800,height=600');");
}
function setCornyCornersNav()
  {
      settings = {
          tl: { radius: 5 },
          tr: { radius: 5 },
          bl: { radius: 0 },
          br: { radius: 0 },
          antiAlias: true,
          autoPad: true,
          validTags: ["a"]
      }
      var myBoxObject = new curvyCorners(settings, "navulahover" );
      var myBoxObject2 = new curvyCorners(settings, "roundednav" );
      myBoxObject.applyCornersToAll();
      myBoxObject2.applyCornersToAll();
}
//$(document).ready(function(){
//    $(".navulahover").corner("top");
//  });

function setCornyCornersNav2()
  {
  	}


