
function windowopen(page,contactid,item,id,taal,site,webstek)
{
var mywidth=screen.width;
var myheight;
var myleftpos;
var mytoppos;
	//mywidth=screen.width-8;
	//myheight=screen.height-6;
	mywidth=580;
	myheight=screen.height/1.5;
	myleftpos=0;
	mytoppos=0;
	settings='width='+mywidth+',height='+myheight+',top='+mytoppos+',left='+myleftpos+',scrollbars=yes,location=no,directories=no,maximize=no,status=yes,menubar=no,toolbar=no,resizable=no';
	newwin=window.open("/"+page+".asp?contactid="+contactid+"&item="+item+"&id="+id+"&taal="+taal+"&site="+site+"&webstek="+webstek+"","fullwindow",settings)
}


function printpage(page,printpage,item,id,taal,site)
{
var mywidth=screen.width;
var myheight;
var myleftpos;
var mytoppos;
	//mywidth=screen.width-8;
	//myheight=screen.height-6;
	mywidth=600;
	myheight=screen.height/1.5;
	myleftpos=0;
	mytoppos=0;
	settings='width='+mywidth+',height='+myheight+',top='+mytoppos+',left='+myleftpos+',scrollbars=yes,location=no,directories=no,maximize=no,status=yes,menubar=no,toolbar=no,resizable=no';
	newwin=window.open("/"+page+".asp?printpage="+printpage+"&item="+item+"&id="+id+"&taal="+taal+"&site="+site+"","fullwindow",settings)
}


	function PrintFile()
	{
		//PrintSpan.innerHTML = '';
		document.execCommand('print');
//		return true;
	}


	function SaveFile()
	{
		document.execCommand('SaveAs');
//		return true;
	}
	
	function DoSubmit() {
		//var objForm;
		//objForm = document.forms[0];
				window.document.frmtellafriend.submit();
	}	

