function design_func(mode) { (new Image()).src="cook_design.php?design_mode="+mode; }