8, 'geog' => 10, 'geol' => 11, 'hmo' => 6, 'invi' => 12, 'mim' => 4, 'phys' => 9, 'schem' => 7 ); $section = @request_uri(); $section = preg_replace("/.*?\\b(bio|geog|geol|hmo|invi|mim|phys|schem|main)\\b.*/", '$1', $section); if (!preg_match("/^(bio|geog|geol|hmo|invi|mim|phys|schem|main)$/", $section)) $section="main"; if (strcmp($section, "main")) echo views_embed_view('image_galleries', 'panel_pane_1', $roles[$section]); else echo views_embed_view('image_galleries', 'panel_pane_2', '3+5'); ?>