browserName = navigator.appName;

browserVer = parseInt(navigator.appVersion);



function fetch(url) {

	opener.location.href = url;

}



function open_page() {

    if (window.top.length != 5) {

	window.top.location.href="/index.html";

    }

}



function pcarshdr() {

	document.writeln("<TABLE border='0'>");

	document.writeln("<DIV align='center'>");	

	document.writeln("<TR><TD valign='top'>");

	document.writeln("<A href='/emblem.html'>");

	document.writeln("<IMG src='/images/pcars4small.gif' border='0' alt='[PCARS Emblem]'></A>");

	document.writeln("</TD><TD align='center'>");

	document.writeln("<H4><IMG src='/images/PCARS_banner.gif' border='0'><BR>");

	document.writeln("W4MLB<BR>P.O. Box 1004, Melbourne, Florida. 32902-1004</H4>");

	document.writeln("</TD></TR>");

	document.writeln("</DIV>");

	document.writeln("</TABLE>");

}



function newshdr() {

	document.writeln("<TABLE border='0'>");

	document.writeln("<DIV align='center'>");

	document.writeln("<TR><TD valign='top'>");

	document.writeln("<IMG src='/images/pcars4small.gif' border='0' alt='[PCARS Emblem]'>");

	document.writeln("</TD><TD align='center'>");

	document.writeln("<IMG src='/images/news.gif' border='0' alt='[PCARS Hot News]'>");

	document.writeln("</TD></TR>");

	document.writeln("</DIV>");	

	document.writeln("</TABLE>");

}



function links() {

	parent.main.location="/links/pages/";

}



function searchpcars() {

	parent.main.location="/cgi-bin/search.pl";

}



function dboard() {

	window.top.location.href="/cgi-bin/UltraBoard/UltraBoard.pl";
	
}



function main1() {

	parent.index.location="/index1.html";

	parent.main.location="/main.shtml";

}



function menu1() {

	parent.index.location="/index1.html";

}

function photogallery() {

	parent.index.location="/index7.html";
	
	parent.main.location="/Field_day/2001/index.htm";

}



function main2() {

	parent.index.location="/index2.html";

	parent.main.location="/main.shtml";

}

function getdx() {

	parent.main.location="http://oh2aq.kolumbus.com/dxs/dx250.html?";

}

function getwwv() {

	parent.main.location="http://oh2aq.kolumbus.com/dxs/wwv250.html?";

}


function newsletter() {

	parent.index.location="/index2.html";

	parent.main.location="/newsletter/";

}


function towerdamage() {

	parent.index.location="/index6.html";

	parent.main.location="/tower/shack/PC020078.JPG";

}



function repeater() {

	parent.index.location="/index5.html";

	parent.main.location="/images/85repeater/tower1.jpg";

}


function menu3() {

	parent.index.location="/index3.html";

}



function hamfest() {

	parent.index.location="/index7.html";

	parent.main.location="/hamfest/Melbourne2003Hamfest.html";

}



if (browserVer >= 3) version = "n3";

	else version = "too_old";



if (version == "n3") {

	menu0on = new Image(17,7); menu0on.src="/images/bullet-red.gif";

	menu0off = new Image(17,7); menu0off.src="/images/bullet-blue.gif";

	

	menu1on = new Image(17,7); menu1on.src="/images/bullet-red.gif";

	menu1off = new Image(17,7); menu1off.src="/images/bullet-blue.gif";



	menu2on = new Image(17,7); menu2on.src="/images/bullet-red.gif";

	menu2off = new Image(17,7); menu2off.src="/images/bullet-blue.gif";



	menu3on = new Image(17,7); menu3on.src="/images/bullet-red.gif";

	menu3off = new Image(17,7); menu3off.src="/images/bullet-blue.gif";



	menu4on = new Image(17,7); menu4on.src="/images/bullet-red.gif";

	menu4off = new Image(17,7); menu4off.src="/images/bullet-blue.gif";



	menu5on = new Image(17,7); menu5on.src="/images/bullet-red.gif";

	menu5off = new Image(17,7); menu5off.src="/images/bullet-blue.gif";



	menu6on = new Image(17,7); menu6on.src="/images/bullet-red.gif";

	menu6off = new Image(17,7); menu6off.src="/images/bullet-blue.gif";



	menu7on = new Image(17,7); menu7on.src="/images/bullet-red.gif";

	menu7off = new Image(17,7); menu7off.src="/images/bullet-blue.gif";



	menu8on = new Image(17,7); menu8on.src="/images/bullet-red.gif";

	menu8off = new Image(17,7); menu8off.src="/images/bullet-blue.gif";



	menu9on = new Image(17,7); menu9on.src="/images/bullet-red.gif";

	menu9off = new Image(17,7); menu9off.src="/images/bullet-blue.gif";



	menu10on = new Image(17,7); menu10on.src="/images/bullet-red.gif";

	menu10off = new Image(17,7); menu10off.src="/images/bullet-blue.gif";



	menu11on = new Image(17,7); menu11on.src="/images/bullet-red.gif";

	menu11off = new Image(17,7); menu11off.src="/images/bullet-blue.gif";



	menu12on = new Image(17,7); menu12on.src="/images/bullet-red.gif";

	menu12off = new Image(17,7); menu12off.src="/images/bullet-blue.gif";



	menu13on = new Image(17,7); menu13on.src="/images/bullet-red.gif";

	menu13off = new Image(17,7); menu13off.src="/images/bullet-blue.gif";



	menu14on = new Image(17,7); menu14on.src="/images/bullet-red.gif";

	menu14off = new Image(17,7); menu14off.src="/images/bullet-blue.gif";



	menu15on = new Image(17,7); menu15on.src="/images/bullet-red.gif";

	menu15off = new Image(17,7); menu15off.src="/images/bullet-blue.gif";



	menu16on = new Image(17,7); menu16on.src="/images/bullet-red.gif";

	menu16off = new Image(17,7); menu16off.src="/images/bullet-blue.gif";



	menu17on = new Image(17,7); menu17on.src="/images/bullet-red.gif";

	menu17off = new Image(17,7); menu17off.src="/images/bullet-blue.gif";

	

	menu18on = new Image(17,7); menu18on.src="/images/bullet-red.gif";

	menu18off = new Image(17,7); menu18off.src="/images/bullet-blue.gif";

	
	
	menu19on = new Image(17,7); menu19on.src="/images/bullet-red.gif";

	menu19off = new Image(17,7); menu19off.src="/images/bullet-blue.gif";

	
	
	menu20on = new Image(17,7); menu20on.src="/images/bullet-red.gif";

	menu20off = new Image(17,7); menu20off.src="/images/bullet-blue.gif";
	
	
	menu21on = new Image(17,7); menu21on.src="/images/bullet-red.gif";

	menu21off = new Image(17,7); menu21off.src="/images/bullet-blue.gif";
	
	
	menu22on = new Image(17,7); menu22on.src="/images/bullet-red.gif";

	menu22off = new Image(17,7); menu22off.src="/images/bullet-blue.gif";

}



function img_act(imgName) {

	if (version == "n3") {

    	imgOn = eval(imgName + "on.src");

    	document [imgName].src = imgOn;

	} 

}



function img_inact(imgName) {        

	if (version == "n3") {

   		imgOff = eval(imgName + "off.src");

   		document [imgName].src = imgOff;

	}

}
