function winClosed(var_win) {
	if(navigator.userAgent.indexOf('Gecko')!=-1 || navigator.userAgent.indexOf('MSIE 4')!=-1) {
		return var_win.closed;
	}else{
//		return typeof var_win.document  != 'object';
		return true;
	}
}
function backOpener(var_url){
	if(navigator.userAgent.indexOf('Win') != -1 && navigator.userAgent.indexOf('MSIE') != -1){
		alert("WinIE_1");
		if(!winClosed(window.opener)){
			alert("Parent Window_2");
			window.opener.location.href = var_url;
			window.opener.focus();
		}else{
			alert("New Window_3");
			baseWin = window.open(var_url,'baseWin','toolbar=yes,scrollbars=yes,resizable=yes,directories=yes,menubar=yes,status=yes,location=yes');
			baseWin.focus();
		}
	}else{
		alert("Others_4");
		if(window.opener){
			alert("Parent Window_4");
			window.opener.location.href = var_url;
			window.opener.focus();
		}else{
			alert("New Window_5");
			baseWin = window.open(var_url,'baseWin','toolbar=yes,scrollbars=yes,resizable=yes,directories=yes,menubar=yes,status=yes,location=yes');
			baseWin.focus();
		}
	}
}
