function parentWIN(theURL) {
   var thisWIN
   var parentWIN
   var altparentWIN
   var theURL ;

	thisWIN = self
	parentWIN = self.opener
   	if (!parentWIN || parentWIN.closed) {
   		if (!altparentWIN || altparentWIN.closed) {
      altparentWIN = window.open(theURL,"altparentWIN","toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=0,top=10,left=10,screeny=25,screenx=50");
		} else {
		altparentWIN.location = theURL ;
		parentWIN.focus() ;
		}
	return false ;
	} else {
	parentWIN.location = theURL ;
	parentWIN.focus() ;
	return false ;
	}
}

