if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("map_pipe.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}}

var bd=0
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".map_pipe_menu {border-color:#000000;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#4e718f;position:absolute;left:0px;top:0px;visibility:hidden;}");
document.write("a.map_pipe_plain:link, a.map_pipe_plain:visited{text-align:left;background-color:#4e718f;color:#ffffff;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Verdana, Arial, Helvetica, sans-serif;font-weight:bold;}");
document.write("a.map_pipe_plain:hover, a.map_pipe_plain:active{background-color:#a6b8c7;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Verdana, Arial, Helvetica, sans-serif;font-weight:bold;}");
document.write("\n-->\n");
document.write("</style>");

var fc=0x000000;
var bc=0xa6b8c7;
if(typeof(frames)=="undefined"){var frames=0;}

startMainMenu("map_pipe_top.gif",15,160,1,0,0)
mainMenuItem("map_pipe_b1",".gif",25,160,"javascript:;","","The Welsh counties ...",1,2,"map_pipe_plain");
mainMenuItem("map_pipe_b2",".gif",25,160,loc+"roadmap.htm","","Main roads in Wales",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b3",".gif",25,160,loc+"swmap.htm","","South Wales in more detail",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b4",".gif",25,160,loc+"monmap.htm","","Old Monmouthshire (Gwent)",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b5",".gif",25,160,loc+"anglemap.htm","","The Isle of Anglesey",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b6",".gif",25,160,loc+"emmap.htm","","Main emigration movements",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b7",".gif",25,160,loc+"sw_relmap.htm","","South Wales in relief ",2,2,"map_pipe_plain");
mainMenuItem("map_pipe_b8",".gif",25,160,loc+"celebmap.htm","","Some Welsh celebrities",2,2,"map_pipe_plain");
endMainMenu("map_pipe_bottom.gif",15,160)

startSubmenu("map_pipe_b1","map_pipe_menu",241);
submenuItem("The old counties",loc+"oldmap.htm","","map_pipe_plain");
submenuItem("The 1974 to 1996 counties",loc+"map1.htm","","map_pipe_plain");
submenuItem("The present Unitary Authorities",loc+"unimap.htm","","map_pipe_plain");
endSubmenu("map_pipe_b1");

loc="";

