function openBrWindow(theURL,winName,features){	var win;	var winPath="";	if ((typeof win != 'object') || (typeof win == 'object' && win.closed))	{      win = window.open(theURL,winName,features);      win.opener = self;      win.focus();   }   else   {      if (winPath != theURL)		{			win.location.href = theURL;		}      win.focus();      winPath = theURL;   }}function openAppWindow(theURL,winName,features){   var appWindow=null;   appWindow = window.open(theURL,winName,features);   appWindow.opener = self;   appWindow.focus();}