
function show_help () {
     var help = window.open("http://www.overheid.nl/help/op/", "_blank", "width=500,height=500,status=no,toolbar=no,menubar=no,scrollbars=yes");
     return false;
}

// navigator_draw
function navigator_draw (doc, script, session, query, pos) {

	if (doc && doc.parent && doc.parent.overheid_op_navigator && doc.parent.overheid_op_navigator.document) {
		var dest = doc.parent.overheid_op_navigator.document;

		if (dest) {
			dest.open('text/html', 'replace');

			dest.writeln('<'+ '!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' );
			dest.writeln('<html>');
			dest.writeln('<head><title>Overheid-OP Navigator</title>');

            dest.writeln('<link rel="stylesheet" type="text/css" href="http://www.overheid.nl/css/main.css" />');
            dest.writeln('<link rel="stylesheet" type="text/css" href="http://www.overheid.nl/css/headinfo.css"  />');
    
            dest.writeln('<' + '!' + '-' + '-[if lt IE 7]>');
            dest.writeln('<link rel="stylesheet" type="text/css" href="http://www.overheid.nl/css/ie.css" />');
            dest.writeln('<link rel="stylesheet" type="text/css" href="/ie.css" />');
            dest.writeln('<' + '!' + '[endif]' + '-' + '-' + '>');


            dest.writeln('<style>');

            dest.writeln('#subhead {');
            dest.writeln('top: 0px; ');
            dest.writeln('height: 25px; ');
            dest.writeln('}');

            dest.writeln('#subtopnav-menu ul li { ');
            dest.writeln('padding-left: .8em; ');
            dest.writeln('background: url("http://www.overheid.nl/img/breadcrumbs.png") left no-repeat; ');
            dest.writeln('} ');

            dest.writeln('#subtopnav-menu ul li.first { ');
            dest.writeln('padding-left: .5em; ');
            dest.writeln('background: transparent; ');
            dest.writeln('}');
            dest.writeln('</style>');
            
            dest.writeln('</head>');

			dest.writeln('<body class="toepassing">');
            dest.writeln('<div id="subhead">');
            dest.writeln('<div id="subtopnav-menu">');
            dest.writeln('<ul>');
            dest.writeln('<li class="first"> U bent hier: </li>');
            dest.writeln('<li class="first"><a target="_top" href="http://www.overheid.nl/">Home</a></li>');
            
            dest.writeln('<li><a target="_top" href="http://www.overheid.nl/overheidsinformatie">Informatie</a></li>');
            
            if (script == 'search') {
                dest.writeln('<li class="here">Offici&euml;le Publicaties</li>');
            } else {
                dest.writeln('<li><a target="overheid_op_main" href="/cgi/search/session=' + session + '/action=display/query=' + query + '">Offici&euml;le Publicaties</a></li> ');
                if (script == 'titlelist') {
                    dest.writeln('<li class="here">Zoekresultaten</li>');
                } else {
                    dest.writeln('<li><a target="overheid_op_main" href="/cgi/titlelist/session=' + session + '/query=' + query + '/pos=' + pos + '/count=-">Zoekresultaten</a></li> ');        

                    if (script == 'showdoc') {
                        dest.writeln('<li class="here">Document Inzien</li>');
                    } else {
                        dest.writeln('<li><a target="overheid_op_main" href="/cgi/showdoc/session=' + session + '/action=frame/query=' + query + '/pos=' + pos + '/document.pdf">Document Inzien</a> </li>');
                    }
                 }
             }
             dest.writeln('</ul>'); 
             dest.writeln('</div>');
             dest.writeln('</div>');
			 dest.writeln('</body>');
			 dest.writeln('</html>');

			 dest.close();
		}

		doc.focus();
	}
}


