rem: w = window.open(LOADING_STATUS_PAGE, window_name, window_params); 
add: w = window.open(LOADING_STATUS_PAGE, window_name, window_params); if (href != LOADING_STATUS_PAGE) w.location.href = href; 
context: function popup(href, window_name, window_params, dont_set_focus, on_close_handler, on_init_handler){		if (typeof(window_name) == 'undefined' || window_name == null) 		window_name = '_generate';	new_left = window.screen.width / 2 - 100;	new_top = window.screen.height / 2 - 50;	if (typeof(window_params) == 'undefined' || window_params == null) 		window_params = 'width=150,height=50,left=' + new_left + ',top=' + new_top + ',scrollbars=yes,resizable=yes,help=no,status=yes';	else		window_params = 'left=' + new_left + ',top=' + new_top + ',' + window_params;		if (window_name.toLowerCase() == '_generate')		window_name = 'w' + hex_md5(href) + 's';	if (typeof(window.popups) != 'array')		window.popups = new Array();	if (typeof(window.popups[window_name]) != 'array')		window.popups[window_name] = new Array();			if (typeof(on_close_handler) != 'undefined') 	{				window.popups[window_name]['close_popup_handler'] = on_close_handler;	}	if (typeof(on_init_handler) != 'undefined') 	{		window.popups[window_name]['init_popup_handler'] = on_init_handler;	}	w = window.open(LOADING_STATUS_PAGE, window_name, window_params);		if (href != LOADING_STATUS_PAGE)		w.location.href = href;		if(!dont_set_focus)		w.focus();			return w;}
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/08d8c853a1bc77288d0a5547db1d47be1c33b65e/common.js/buggy/trunk/shared/js/common.js