//////////////////////////////////////////////////
//	<My Menu!!!>				//
// 	(c) 2003 Premshree Pillai		//
//	http://www.qiksearch.com		//
//	http://premshree.resource-locator.com	//
//////////////////////////////////////////////////

var links=new Array ("index","about","screenshots","download");
var links_text=new Array ("Home","About","Screenshots","Download");
var links_url=new Array ("index.php","about.php","screenshots.php","http://prdownloads.sourceforge.net/b4s-pl-parser/b4s-pl-parser-041103.zip?download");
var links_target=new Array("_self","_self","_self","_self");

var loc=String(this.location);
loc=loc.split("/");
loc=loc[loc.length-1].split(".");
loc=loc[loc.length-2];

function qiksearch_menu_gen() {
	document.write('<table width="100%" cellpadding="0">');
	document.write('<tr><td><hr style="color:#333333; height:1px"></td></tr>');
	for(var i=0; i<links.length; i++) {
		document.write('<tr><td><font color="#FFFFFF">&nbsp;&raquo;&nbsp;</font>');
		if(((this.location=="http://b4s-pl-parser.sourceforge.net/") || (this.location=="http://b4s-pl-parser.sourceforge.net") || (this.location=="http://www.b4s-pl-parser.sourceforge.net/") || (this.location=="http://www.b4s-pl-parser.sourceforge.net")) && (i==0)) {
			document.write('<a href="'+links_url[i]+'" target="'+links_target[i]+'" class="menu_on">'+links_text[i]+'</a>');
		}
		else {
			if(loc==links[i]) {
				document.write('<a href="'+links_url[i]+'" target="'+links_target[i]+'" class="menu_on">'+links_text[i]+'</a>');
			}
			else {
				document.write('<a href="'+links_url[i]+'" target="'+links_target[i]+'" class="menu">'+links_text[i]+'</a></li>');
			}
		}
		document.write('<hr style="color:#333333; height:1px"></td></tr>');
	}
	document.write('</table>');
} 

qiksearch_menu_gen();