// Javascript	: functions.js
// Voor			: http://www.profile-huizen.nl 
// Auteur		: Dennis Jongerden  ||  Websteen.nl 

// Functie om venster te printen 

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}


// Ere wie ere toekomt: 
// Geschreven door Ian Lloyd. 
// http://www.accessify.com/features/tutorials/the-perfect-popup/
//

// Toepassing: <a href="../../js/index.htm" onclick="popUp(this.href,'console',713,1014);return false;" target="newWin">hier</a>

function popUp(strURL,strType,strHeight,strWidth) 
	{
	var strOptions="";
		
		if (strType=="console") strOptions="resizable,scrollbars,left=0,top=0,height="+strHeight+",width="+strWidth;
		if (strType=="console_actie") strOptions="resizable,scrollbars,left=100,top=100,height="+strHeight+",width="+strWidth;
		if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
		if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;

	window.open(strURL, 'newWin', strOptions);
	}




// This script and many more are available free online at
// The JavaScript Source :: http://javascript.internet.com
// Created by: Philip Myers :: http://virtualipod.tripod.com/bookmark.html 

function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}



