var path;
var dimensions;
var newwindow;
var anotherwindow;
var popwin;


function lawpop_win(path,pop_name,options)
{
	if(!options)
   {
options="width=400,height=400,location=yes,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,status=no"; 
   }
	if(path)
   {
      if(!pop_name)
      {
			var n = path.split("/");
			var temp = n[n.length-1];
			n = temp.split(".");
			pop_name = n[0];
		}	
		poet_popwin = window.open(path,pop_name,options);
      var winObj = window.open(path,pop_name,options);
      if (winObj.focus) winObj.focus();
   }
}
