// JavaScript Document

function popUp(strURL,strType,strHeight,strWidth) 
	{
		if(popUp.prototype.counter==null)popUp.prototype.counter=0;
		popUp.prototype.counter++;
		var strOptions="";
		if (strType=="console") strOptions="resizable,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'+(new Date()).getTime(), strOptions);
	}