function popup(URL)
{
  window.open(URL, 'Miranet', 'width=450,height=260,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=no,status=no');
}

function popup2(URL)
{
  window.open(URL, 'Miranet', 'width=430,height=180,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no');
}

function popup800(URL)
{
  window.open(URL, 'Miranet', 'width=820,height=650,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no');
}

function popup640(URL)
{
  window.open(URL, 'Architectuur', 'width=660,height=500,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no');
}

function adfopop(URL)
{
  window.open(URL, 'Architectuur', 'width=450,height=180,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=no,status=no');
}


	
function mobileeditor(contenttype, data, pos)
	{
	 mmrefname = 'miranet';
	 mmlanguage = 'xx';
	 mmpskin = '';
	 mmdata = data;
	 
	 
	 switch (contenttype*1) {
	   case 16:
	   case 19:
	   	screenwidth = 520;
	   	screenheight = 300;
	   	break;
	   case 17:
	   	screenwidth = 520;
	   	screenheight = 400;
	   	break;						
	   case 15:
	   	screenwidth = 575;
	   	screenheight = 505;
	   	break;
	   case 27:
	   	screenwidth = 500;
	   	screenheight = 497;
	   	break;
	}
 
	 window.open('http://www.mobilemoney.biz/editor.asp?contenttype='+escape(contenttype)+'&refname='+escape(mmrefname)+'&mmdata='+escape(mmdata)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'editorpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+screenwidth+',height='+screenheight+',left='+eval((screen.availWidth/2)-(screenwidth/2))+',top=50');

	}
