//////////////////////////////////////////////////////////////////////////////

//  UglyBass.com javascript

//  Copyright 2000 by Birdsoft (Brian Heilman)

//

//  This code can only be used under license. Any unauthorized use is strictly

//  prohibited. This is not Freeware or Shareware!!! 

//


var contestOn = true;



//The lower the number the better the exposure

//var BigBnr1 = "<a href='http://www.bassjigs.com'><img src='images//bjbigbnr.gif' border=0 width=468 height=60 alt='BassJigs.com'></a>";

//var BigBnr2 = "<a href='http://www.commission-junction.com/track/track.dll?AID=877436&PID=577208&URL=http%3A%2F%2Fwww%2Ecoastalmarineonline%2Ecom' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=877436&banner=877436%2Ejpg' width='468' height='60' alt='Coastal Marine Online, for your boating needs' border='0'></a>";

var BigBnr1 = "<a href='advertise.htm'><img src='images//ubadhere1.gif' border=0 width=468 height=60 alt='UglyBass.com'></a>";

var BigBnr2 = "<a href='http://www.commission-junction.com/track/track.dll?AID=1063696&PID=577208&URL=http%3A%2F%2Fwww%2Ebigfishtackle%2Ecom' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=1063696&banner=1063696%2Egif' width='468' height='60' alt='BigFishTackle.Com' border='0'></a>";

//var BigBnr4 = "<a href='http://www.bassjigs.com'><img src='images//bjgqu.gif' border=0 width=468 height=60 alt='BassJigs.com'></a>";


var BigBnr3 = "<a href='http://www.uglybass.com/advertise.htm'><img src='images//yourad1.gif' width='475' height='60' border='0' alt='Your ad here!!'></a>";

var BigBnr4 = "<a href='http://www.dellscentral.com'><IMG SRC='http://www.dellscentral.com/images/dcscroll1r.gif' border='0' ALT='Dells Central' ></A>";

var BigBnr5 = "<a href='http://www.qksrv.net/click-577208-545269' target='_top' ><img src='http://www.qksrv.net/image-577208-545269' width='468' height='60' alt='Sea Eagle Inflatable Boats' border='0'></a>";

var BigBnr6 = "<a href='advertise.htm'><img src='images//ubadhere1.gif' border=0 width=468 height=60 alt='UglyBass.com'></a>";

var BigBnr7 = '<a href="http://www.qksrv.net/click-577208-4011009" target="_top" ><img src="http://www.qksrv.net/image-577208-4011009" width="468" height="60" alt="Get a Free Cellular Phone" border="0"></a>';

//var BigBnr10 = "<a href='http://www.floattuber.com/BBChampionship.htm' target='_top'><img src='images//BBChampBanner.gif' width='468' height='60' alt='Serious floattube and kickboat bass fishermen wanted' border='0'></a>";

var BigBnr8 = "<a href='http://www.bigbitebaits.com/' target='_top'><img src='images//bbbbnr1.gif' width='468' height='60' alt='Serious floattube and kickboat bass fishermen wanted' border='0'></a>";

var BigBnr9 = '<a href="http://www.qksrv.net/click-577208-4201648" target="_top" ><img src="http://www.qksrv.net/image-577208-4201648" width="468" height="60" alt="$25 Bonus Gift!" border="0"></a>';

var BigBnr10 = '<a href="http://service.bfast.com/bfast/click?bfmid=35356942&siteid=39807908&bfpage=fishing" target="_top" ><img src="http://ww2.basspro.com/affiliates/befree/images/reels.jpg" width="468" height="60" alt="Bass Pro Shops!!" border="0"></a>';


//var BigBnr7 = "<a href='http://www.webgenie.com/Script/ssp_master.cgi?click+Creative_Lure_Co_954603455+Ssp23'><IMG SRC='http://www.creativelure.com/its_time.gif' border='0' ALT='Creative Lure Co.' ></A>";
//var BigBnr7 = "<a href='http://www.qksrv.net/click-577208-1646730' target='_top' ><img src='http://www.qksrv.net/image-577208-1646730' width='468' height='60' alt='Maui Jim - Oakley &#8211; Cartier Sunglasses' border='0'></a>";
//var BigBnr11 = "<a href='http://www.tacklemania.com/default.asp?afc=611'><img src='http://www.tacklemania.com/plugins/ads/adpx/onlyafish.gif' width='468' height='60' border='0' alt='Buy Fishing Tackle From TackleMania.com'></a>";
//var BigBnr4 = "<a href='http://www.commission-junction.com/track/track.dll?AID=348345&PID=577208&URL=http%3A%2F%2Fwww%2Ecapsized%2Ecom' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=348345&banner=348345%2Ejpg' width='468' height='60' alt='' border='0'></a>";
//var BigBnr7 = "<a href='http://www.commission-junction.com/track/track.dll?AID=1128065&PID=577208&URL=http%3A%2F%2F63%2E160%2E71%2E83%2Fscripts%2Fcj%2Easp' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=1128065&banner=1128065%2Egif' width='468' height='60' alt='Bet on football. Click here' border='0'></a>";
//var BigBnr6 = "<a href='http://www.commission-junction.com/track/track.dll?AID=53066&PID=577208&URL=http%3A%2F%2Fwww%2Ebestcigarprices%2Ecom%2Fcgi%2Dbin%2Fcjaff%2Ecgi' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=53066&banner=53066%2Egif' width='468' height='60' alt='Best Cigar Prices Online!' border='0'></a>";
//var BigBnr6 = "<a href='http://www.webgenie.com/Script/ssp_master.cgi?click+Creative_Lure_Co_954603455+Ssp23'><IMG SRC='http://www.creativelure.com/its_time.gif' border='0' ALT='Creative Lure Co.' ></A>";



//var SmallBnr1 = "<center><a href='http://www.bassjigs.com'><img src='images//bjsmall2.gif' border=0 width=88 height=31></a></center>";

var SmallBnr1 = "<center><a href='http://www.themangler.com/squidy.html'><img src='images//smangleranim1.gif' border=0 width=88 height=31></a></center>";

var SmallBnr2 = "<center><a href='http://www.bassboatcarpets.com'><img src='images//bbclbnr1.gif' border=0 width=88 height=31></a></center>";

//var SmallBnr4 = "<center><a href='http://www.bassjigs.com'><img src='images//bjsmall.gif' border=0 width=88 height=31></a></center>";

//var SmallBnr5 = "<center><a href='http://www.tacklepro.com/transkei.splash.htm'><img src='images//transkei1.gif' width='120' height='60' border='0' alt='Transkei Scented Crankbaits'></a>";

var SmallBnr3 = "<center><a href='http://www.bigbitebaits.com'><img src='images//bbblil1.gif' border=0 width=88 height=31></a></center>";

var SmallBnr4 = "<center><a href='http://www.themangler.com/squidy.html'><img src='images//smangleranim1.gif' border=0 width=88 height=31></a></center>";

var SmallBnr5 = "<center><a href='http://www.uglybass.com/birdsoft/'><img src='images//bslink.jpg' height=31 width=88 border=0></center>";


//var SmallBnr4 = "<a href='http://www.webgenie.com/Script/ssp_master.cgi?click+Creative_Lure_Co_954603455+Ssp23'><IMG SRC='images//wantomake.gif' width='120' height='60' border='0' ALT='Creative Lure Co.' ></A>";
//var SmallBnr2 = "<center><a href='http://www.commission-junction.com/track/track.dll?AID=1063697&PID=577208&URL=http%3A%2F%2Fwww%2Ebigfishtackle%2Ecom' target='_top'><img src='http://www.commission-junction.com/banners/tracker.exe?PID=577208&AID=1063697&banner=1063697%2Egif' width='120' height='60' alt='BigFishTackle.Com' border='0'></a></center>";




//Disabling Right click for any document using this file

//document.onmousedown=right;

//document.onmouseup=right;

//if (document.layers) window.captureEvents(Event.MOUSEDOWN);

//if (document.layers) window.captureEvents(Event.MOUSEUP);

//window.onmousedown=right;

//window.onmouseup=right;

//get outta frames
//if (window != top) top.location.href = location.href;




function titleBar()
{
var string;
var titleCount = getTitleCount();

titleCount++;

if(titleCount >= 5)
  titleCount = 0;

setTitleCount(titleCount);

if( titleCount == 1)
  string = "<img src='images//uglybass2m.gif' border=0 width=314 height=68 alt='UglyBass.com'>";
else if( titleCount == 2)
  string = "<img src='images//uglybass3m.gif' border=0 width=314 height=68 alt='UglyBass.com'>";
else if( titleCount == 3)
  string = "<img src='images//uglybass4m.gif' border=0 width=314 height=68 alt='UglyBass.com'>";
else if( titleCount == 4)
  string = "<img src='images//uglybass5m.gif' border=0 width=314 height=68 alt='UglyBass.com'>";
else
  string = "<img src='images//uglybassm.gif' border=0 width=314 height=68 alt='UglyBass.com'>";

document.write(string);

	string = "&nbsp;&nbsp;<img src='images//usa_ribbon.gif' width='30' height='50' border=0>";

	document.write(string);
}



function drawBigBanner()

{
	var string;

	var bigCount = getBigBanner();

	bigCount = parseInt(bigCount);

	if(bigCount > 10)
	{
	    bigCount = 1;
	}


	if(bigCount == 1)
	{
		string = BigBnr1;
	}
	else if(bigCount == 2)
	{
		string = BigBnr2;
	}
	else if(bigCount == 3)
	{
		string = BigBnr3;
	}
	else if(bigCount == 4)
	{
		string = BigBnr4;
	}
	else if(bigCount == 5)
	{
		string = BigBnr5;
	}
	else if(bigCount == 6)
	{
		string = BigBnr6;
	}
	else if(bigCount == 7)
	{
		string = BigBnr7;
	}
	else if(bigCount == 8)
	{
		string = BigBnr8;
	}
	else if(bigCount == 9)
	{
		string = BigBnr9;
	}
	else if(bigCount == 10)
	{
		string = BigBnr10;
	}
	else if(bigCount == 11)
	{
		string = BigBnr11;
	}
	else if(bigCount == 12)
	{
		string = BigBnr12;
	}
	else if(bigCount == 13)
	{
		string = BigBnr13;
	}
	else if(bigCount == 14)
	{
		string = BigBnr14;
	}



	document.write(string);

	bigCount++;

	//Remember this is in two places(above for entry too)
	if(bigCount > 10)
	{
	    bigCount = 1;
	}

	setBigBanner(bigCount);

}



function drawLilBanner(writeIt)

{

	var string;

	var smallCount = getLilBanner();

	if(smallCount > 5)
	 smallCount = 1;

	smallCount = parseInt(smallCount);

	if(smallCount == 1)
	{
		string = SmallBnr1;
	}
	else if(smallCount == 2)
	{
		string = SmallBnr2;
	}
	else if(smallCount == 3)
	{
		string = SmallBnr3;
	}
	else if(smallCount == 4)
	{
		string = SmallBnr4;
	}
	else if(smallCount == 5)
	{
		string = SmallBnr5;
	}
	else if(smallCount == 6)
	{
		string = SmallBnr6;
	}

	else if(smallCount == 7)
	{
		string = SmallBnr7;
	}

	if(writeIt == "YES")
	   document.write(string);

	smallCount++;

	//Remember this is in two places(above for entry too)
	if(smallCount > 5)
	{
	   smallCount = 1;
	}
	setLilBanner(smallCount);

	 return string;
}





function greetings()

{

var string = " <font color='#4682B4' size='-1'>";



var result = GetPersonalizedName();

if(result == null)

  string += "Welcome to UglyBass.com";

else
{
  string += "Welcome " + result;

  if(contestOn == true)
  {
    var count = GetContestCount();
	if(count != 0)
		{
		string += "(" + count + " of 6 Tackle Giveaway Fish found)";
		}
  }

}

string += "</font>";



document.write(string);

}





//For disabling Right click!!

function right(e) 

{

	if (navigator.appName == 'Netscape' && 

	(e.which == 3 || e.which == 2))

		return false;

	else if (navigator.appName == 'Microsoft Internet Explorer' && 

	(event.button == 2 || event.button == 3)) 

	{

		alert("Right Click Unavailable.");

		return false;

	}

	return true;

}



function GetCookie (name) 

{  

	var arg = name + "=";  

	var alen = arg.length;  

	var clen = document.cookie.length;  

	var i = 0;  

	while (i < clen) 

	{

		var j = i + alen;    

		if (document.cookie.substring(i, j) == arg)      

			return getCookieVal (j);    

		i = document.cookie.indexOf(" ", i) + 1;    

		if (i == 0) 

			break;   

	}  

	return null;

}



function SetCookie (name, value) 

{  

	var argv = SetCookie.arguments;  

	var argc = SetCookie.arguments.length;  

	var expires = (argc > 2) ? argv[2] : null;  

	var path = (argc > 3) ? argv[3] : null;  

	var domain = (argc > 4) ? argv[4] : null;  

	var secure = (argc > 5) ? argv[5] : false;  

	document.cookie = name + "=" + escape (value) + 

	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 

	((path == null) ? "" : ("; path=" + path)) +  

	((domain == null) ? "" : ("; domain=" + domain)) +    

	((secure == true) ? "; secure" : "");

}



function DeleteCookie (name) 

{  

	var exp = new Date();  

	exp.setTime (exp.getTime() - 1);   

	var cval = GetCookie (name);  

	document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();

}

function getCookieVal(offset) 

{

	var endstr = document.cookie.indexOf (";", offset);

	if (endstr == -1)

		endstr = document.cookie.length;

	return unescape(document.cookie.substring(offset, endstr));

}



//Writes name for next time to cookie

function setPersonalizedName(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days



	SetCookie('PzdName',value ,expIs)

}



//Reads name outta the cookie, to personalize the page

function GetPersonalizedName()

{

	var result = GetCookie('PzdName')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}



}



//Writes zip for next time to cookie

function setPersonalizedZip(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days



	SetCookie('PzdZip',value ,expIs)

}



//Reads zip outta the cookie, to personalize the page

function GetPersonalizedZip()

{

	var result = GetCookie('PzdZip')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}



}



//Writes search for next time to cookie

function setPersonalizedSearch(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days



	SetCookie('PzdSearch',value ,expIs)

}



//Reads Search outta the cookie, to personalize the page

function GetPersonalizedSearch()

{

	var result = GetCookie('PzdSearch')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}



}

//Writes Weather choice for next time to cookie

function setPersonalizedWeather(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days



	SetCookie('PzdWx',value ,expIs)

}



//Reads Wx outta the cookie, to personalize the page

function GetPersonalizedWeather()

{

    var result = GetCookie('PzdWx')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}



}





function setBigBanner(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('BigBnr',value ,expIs);

}



function getBigBanner()

{

    var result = GetCookie('BigBnr');	

    if(result == null) 

	{

		return "1";

	}

	else

	{

		return result;

	}

}



function setLilBanner(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('LilBnr',value ,expIs);

}



function getLilBanner()

{

    var result = GetCookie('LilBnr');

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}function setVoteCount(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('VoteCount',value ,expIs)

}



function getVoteCount()

{

    var result = GetCookie('VoteCount');	

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}

function setTitleCount(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('TitleCount',value ,expIs)

}



function getTitleCount()

{

    var result = GetCookie('TitleCount')	

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}



function setTipCount(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('TipCount',value ,expIs)

}



function getTipCount()

{

    var result = GetCookie('TipCount')	

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}



function setShowCalc(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('ShowCalc',value ,expIs)

}



function getShowCalc()

{

    var result = GetCookie('ShowCalc')	

    if(result == null) 

	{

		return "NO";

	}

	else

	{

		return result;

	}

}



function setPersonalize(value)

{
	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days


	SetCookie('PersonalUB',value ,expIs)
}



function getPersonalize()

{

    var result = GetCookie('PersonalUB')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}

}



function personalize()

{

	var name = document.pzd.psdname.value;

	setPersonalizedName(name);



	var zip = document.pzd.pzip.value;

	setPersonalizedZip(zip);



	//just setting to a value!!

	setPersonalize("Dog");



	var scalc = document.pzd.showCalc.checked;

	

	if(scalc)

          setShowCalc("YES");

	else

          setShowCalc("NO");





	var zip = document.pzd.SearchEng.options[document.pzd.SearchEng.selectedIndex].value;

	setPersonalizedSearch(zip);



	var wthr = document.pzd.WxProvider.options[document.pzd.WxProvider.selectedIndex].value;

	setPersonalizedWeather(wthr);



	//Just a slimy way to restart the title graphics count

	setTitleCount("0");



	window.history.go(0);

}



function NewPerson()

{
	DeleteCookie('PersonalUB');

	window.history.go(0);
}



function DrawPersonalize()

{

	//Need to fill in blanks from previous results if ya can

	var searchRet = GetPersonalizedSearch();

	var wxRet = GetPersonalizedWeather();

	var zipcode = GetPersonalizedZip();

	var name = GetPersonalizedName();



	if(zipcode == null)

		zipcode = "";



	if(name == null)

		name = "";



	if(navigator.cookieEnabled != true)

	   return;

	   

	var DrawData = "";



	var theRet = getPersonalize();



	if(theRet == null)

	{

		//<!-- Lil Personalize Box -->



/*

		if(searchRet == "FishHoo")

		{

				document.pzd.SearchEng.selectedIndex = 1;

		}

		else if(searchRet == "FishS")

		{

				document.pzd.SearchEng.selectedIndex = 2;

		}

		else if(searchRet == "FishF")

		{

				document.pzd.SearchEng.selectedIndex = 3;

		}

		else

		{

		  //If no choice (null) will go with FishHOO!

				document.pzd.SearchEng.selectedIndex = 1;

		}

*/





		DrawData +="<BR><BR><BR>";

		DrawData += "<center><table border=1 bordercolor='#D3D3D3' bgcolor='#708090' width='90%'><tr><td><form name='pzd'>";

		DrawData += "<center><font size='-2' color='#FFFFFF'>Personalize</font><br></center>"; 

		DrawData += "<font size='-3' color='#FFFFFF'>Name:</font><br><input type='text' size=10 name='psdname' value='"+ name + "'><br>";

		DrawData += "<font size='-3' color='#FFFFFF'> Zip:</font><br><input type='text' size=10 name='pzip' value='" + zipcode + "'><br>";

		DrawData += "<font size='-3' color='#FFFFFF'>Search Engine:</font><br>";

		DrawData += "<select name='SearchEng' size='1'>";

		DrawData += "<option value='FishHoo'><font size='-3'>FishHoo</font></option>";

		DrawData += "<option value='FishF'>FishFinder</option><option value='FishS'>FishSearch</option><option value='Google'>Google</option></select><br>";

		DrawData += "<font size='-3' color='#FFFFFF'>Weather Choice:</font><br>";

		DrawData += "<select name='WxProvider' size='1' >";

		DrawData += "<option value='Wx'><font size='-3'>Weather.com</font></option>";

		//DrawData += "<option value='Wx24'>WeatherNow</option><option value='IntCast'>Intellicast</option><option value='WGuy'>WeatherGuys</option><option value='None'>None</option></select><br>";
		DrawData += "<option value='IntCast'>Intellicast</option><option value='None'>None</option></select><br>";

		DrawData += "<INPUT TYPE=CHECKBOX NAME='showCalc' VALUE='YES'><font size='-3' color='#FFFFFF'>Show Bass Calculator</font><br>";

		DrawData += "<center><input type=Image src='images//submitbtn.gif'  width='58' height='20' onclick='javascript:personalize()'></center>";

		DrawData += "</form></td></tr></table></center>";

	}

	else

		DrawData += "  <img name='ptimg100' src='images//grnpt.gif' width='9' height='10'><a href='javascript:NewPerson();' onmouseover='ShowLinkImg(100)' onmouseout='HideLinkImg(100)'><font size='2' color='#FFFFFF'>Personalize</font></a></font><br>";



	document.write(DrawData);

}



function drawSearch()

{

	var DrawData = "";



	var searchRet = GetPersonalizedSearch();



	if(searchRet == "FishHoo")

	{

	DrawData += "<form action='http://www.fishhoo.com/cgi-bin/links/search.cgi' method='GET'>";

	DrawData += "<img src='images//fhoocirs.gif' border=0 width=26 height=21 alt='FishHoo!'>";

	DrawData += "<input type='text' size=20 name='query'> ";

	DrawData += "<input type=Image src='images//searchbtn.gif'  width='58' height='20'>";

	}

	else if(searchRet == "FishS")

	{

	DrawData += "<FORM METHOD=POST ACTION='http://www.fishsearch.com/cgibin/search/hyperseek.cgi' NAME='SearchForm'>";

	DrawData += "<img src='images//fishsrch.gif' border=0 width=28 height=19 alt='FishSearch'>";

    DrawData += "<INPUT NAME='Terms' MAXLENGTH=800 SIZE=20 VALUE=''><INPUT TYPE=hidden NAME='x' VALUE=''><INPUT TYPE=hidden NAME='db' VALUE=''><INPUT TYPE='hidden' NAME='Range' VALUE='All'>";

	DrawData += "<input type=Image src='images//searchbtn.gif'  width='58' height='20' value='Search'>";	

	}

	else if(searchRet == "FishF")

	{

	DrawData += "<form action='http://www.thefishfinder.com/cgibin/links/search.cgi' method='GET'>";

	DrawData += "<img src='images//bufishy.gif' border=0 width=30 height=22 alt='FishFinder'>";

	DrawData += "<input type='text' size=20 name='query'> ";

	DrawData += "<input type=Image src='images//searchbtn.gif'  width='58' height='20'>";

	}

	else if(searchRet == "Google")

	{

	DrawData += "<FORM method=GET action=http://www.google.com/custom><A HREF=http://www.google.com/custom>";

	DrawData += "<IMG width='50'height='20' SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT='Google'></A><INPUT TYPE=text name=q size=20 maxlength=255 value=''>";

	DrawData += "<input type=Image src='images//searchbtn.gif'  width='58' height='20'>";

    DrawData += "<INPUT type=hidden name=cof VALUE='T:#003366;LW:314;L:http://www.uglybass.com/images/ubsggle.gif;LC:#008000;LH:68;BGC:#FFFFFF;AH:center;AWFID:9d97072a3f632865;'>";

    

	//Radio buttons for later, probably allows a site search....<input type=hidden name=domains value="None"><br><input type=radio name=sitesearch value="" checked> Search WWW <input type=radio name=sitesearch value="None">Search None <br>

	}

	else

	{

	  //If no choice (null) will go with FishHOO!

		DrawData += "<form action='http://www.fishhoo.com/cgi-bin/links/search.cgi' method='GET'>";

		DrawData += "<img src='images//fhoocirs.gif' border=0 width=26 height=21 alt='FishHoo!'>";

		DrawData += "<input type='text' size=20 name='query'> ";

		DrawData += "<input type=Image src='images//searchbtn.gif'  width='58' height='20'>";

	}





	document.write(DrawData);

}



function drawWeather(pageView)

{

	var string = "";

	

	var zipcode =  GetPersonalizedZip();



	var wthrRet = GetPersonalizedWeather();



	if(wthrRet == "None" && pageView != true)

	{

	   drawCalc();

	   return;

	}

	else if (wthrRet == "None" && pageView == true)

	   wthrRet = "Wx"; //if no default provider, then draw weather.com on the wx page



	if(zipcode == null)

	   zipcode = "";





	if((wthrRet == "Wx") ||(wthrRet == "WGuy") || (wthrRet == "Wx24"))

	{

	//Start of outside border

	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTop.gif' border='0' height=22 width=147></td></tr>";

	string += "<tr COLSPAN=3 height=130 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=130 width=12></td>";

	string += "<td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top>";



	string += "<center><table cellpadding=0 cellspacing=0  bgcolor='#FFFFFF'><tr><td align='center' width=120>";

	string += "<a href='http://www.weather.com?par=internal&code=302890&site=logo&promo=english'>";

	string += "<img border=0 src='http://image.weather.com/pics/oap/slogo.gif'></a>";

	string += "</td></tr><tr><td align='center' width=120>";

	string += "<form method='post' action='http://www.weather.com/cgi-bin/uncgi/zip_city_search.cgi?par=internal&code=302890&site=logo&promo=english'>";

	string += "<table cellpadding=0 cellspacing=0><tr><td valign=center width=120 colspan=2>";

	string += "<font face='Arial, Helvetica, Chicago, Sans Serif' color='#004371' size='-2'> ";

	string += "Enter city or US Zip </font></td></tr><tr>";

	string += "<td width='40' align='center' valign='bottom'><input name='destination' type='text' size='8' value='" + zipcode + "'>";

	string += "</td><td width='20' align='left' valign='bottom'>";

	string += "<input type='image' src='http://image.weather.com/pics/button_go.gif' width='26' height='23' border='0' alt='go!' value='Go City'></td></tr>";

	string += "</table></form></td></tr></table></center>";



	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=130 width=12></td></tr>";

	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=147></td></tr></table>";

	}

	else if (wthrRet == "IntCast")

	{

	//Start of outside border

	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTop.gif' border='0' height=22 width=158></td></tr>";

	string += "<tr COLSPAN=3 height=135 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=135 width=12></td>";

	string += "<td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top>";



	string += "<table width='132' height='134' border='1' cellspacing='0' cellpadding='0' bordercolor='#000000'>";

	string += "<script src='http://www.intellicast.com/JavaScript/ZipCheck.js' language='JavaScript'></script><form name=pickform onSubmit='return checkdata ()' method='post' action='http://www.intellicast.com/zip/zip/opt-in' target='_top'><tr bgcolor='#FFFFFF'>";

	string += "<td align='center' valign='top' colspan='2'><img src='http://www.intellicast.com/images/about/fasttop2.gif' width='130' height='62'>";

	string += "<br><input type='hidden' name='type' value=''><input type='text' name='zip_city' maxlength='45' size='5' value='" + zipcode + "'>";

	string += "<select name='state'><option value='phi'>--</option><option value='alabama'>AL</option><option value='alaska'>AK</option> <option value='arizonia'>AZ</option><option value='arkansas'>AR</option>";

	string += "<option value='california'>CA</option><option value='colorado'>CO</option><option value='connecticut'>CT</option><option value='delaware'>DE</option><option value='florida'>FL</option> <option value='georgia'>GA</option>";

	string += "<option value='hawaii'>HI</option><option value='idaho'>ID</option><option value='illinois'>IL</option><option value='indiana'>IN</option><option value='iowa'>IA</option><option value='kansas'>KS</option>";

	string += "<option value='kentucky'>KN</option><option value='louisiana'>LA</option> <option value='maine'>ME</option><option value='maryland'>MD</option><option value='massachusetts'>MA</option><option value='michigan'>MI</option>";

	string += "<option value='minnesota'>MN</option><option value='mississippi'>MS</option><option value='missouri'>MO</option><option value='montana'>MT</option><option value='nebraska'>NE</option><option value='nevada'>NV</option><option value='new hampshire'>NH</option>";

	string += "<option value='new jersey'>NJ</option><option value='new mexico'>NM</option><option value='new york'>NY</option><option value='north carolina'>NC</option><option value='north dakota'>ND</option><option value='ohio'>OH</option>";

	string += "<option value='oklahoma'>OK</option><option value='oregon'>OR</option><option value='pennsylvania'>PA</option><option value='rhode island'>RI</option><option value='south carolina'>SC</option><option value='south dakota'>SD</option><option value='tennessee'>TN</option>";

	string += "<option value='texas'>TX</option><option value='utah'>UT</option><option value='vermont'>VT</option> <option value='virginia'>VA</option><option value='washington'>WA</option><option value='west virginia'>WV</option><option value='wisconsin'>WI</option><option value='wyoming'>WY</option> ";

	string += "</select><br><input type='image' name='GoSearch' src='http://www.intellicast.com/images/about/gobutton3.gif' width='65' height='23' border='0'><img src='http://www.intellicast.com/images/spacer3x1.gif' width='2' height='30' border='0'></td></tr></form></table>"; 

	

	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=135 width=12></td></tr>";

	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=158></td></tr></table>";

	}

	else if(wthrRet == "Wx24-NOT")

	{
	//Start of outside border
	string += "<table border='0'  cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";
	string += "<img src='images//btTop.gif' border='0' height=22 width=149></td></tr>";
	string += "<tr COLSPAN=3 height=100 cellpadding='0' cellspacing='0'>";
	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=100 width=12></td>";
	string += "<td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top>";
	string += "<TABLE BGCOLOR='#006666' BORDER=0 CELLPADDING=0 CELLSPACING=0>";
	string += "<FORM METHOD='GET' ACTION='http://www.weather24.com/local/find'><TR><TDALIGN='CENTER'><FONT FACE='arial,helvetica' SIZE=2 COLOR='#99FF00'>";
	string += "<B>WeatherNOW</B></FONT></TD></TR><TR><TD><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN='CENTER'><TR><TD WIDTH=4> </TD><TD>";
	string += "<INPUT TYPE='text' NAME='weathernow' SIZE=11 MAXLENGTH=31 value='" + zipcode + "'>";
	string += "</TD><TD><INPUT SRC='http://www.weather24.com/Media/Master/go_cap.gif' TYPE='image' ALT='Go'BORDER=0 WIDTH=20 HEIGHT=22></TD><TD WIDTH=4> </TD></TR></TABLE></TD></TR><TR><TD ALIGN='CENTER'> <FONT COLOR='#FFFFFF'FACE='verdana,arial,helvetica' SIZE=1>(city, state or zip)</FONT> </TD>";
	string += "</TR></FORM></TABLE>";
	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=100 width=12></td></tr>";
	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=149></td></tr></table>";
	}
	else if(wthrRet == "WGuy-NOT")
	{
	//Start of outside border
	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";
	string += "<img src='images//btTop.gif' border='0' height=22 width=185></td></tr>";
	string += "<tr COLSPAN=3 height=200 cellpadding='0' cellspacing='0'>";
	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=200 width=12></td>";
	string += "<td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top>";

	if (zipcode == "")
		zipcode = "54601";
	var zcode = "";
	zcode = zipcode.charAt(0);
	string +="<table><tr><td align=center bgcolor='white'><font face=Verdana,Arial size=2><font face=Verdana,Arial size='-1'>Current Conditions</font><hr size=1 noshade color='#6699cc' width=120><a href='http://weatherguys.com/index.asp?zip='54601' target='wg'>";
	string += "<img src='http://209.70.191.111/zipcode/" + zcode + "/" + zipcode + ".gif' "; 
	string += "border='0' alt='The Weather Guys' width='150' height='50'></a><form ACTION='http://weatherguys.com/livewxzip.asp' METHOD=Get><font face=Verdana,Arial size='-1'>";
	string += "Enter Zip Code <br><hr size=1 noshade color=#6699cc width=120><input name=wzip maxlength=5 size=14 value='" + zipcode + "'><br>";
	string += "<input type=Image src='images//submitbtn.gif'  width='58' height='20'></form></td></tr></table>";	

	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=200 width=12></td></tr>";
	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=185></td></tr></table>";
	}



	document.write(string);



	//Test it out

	if(pageView != true)

           drawCalc();



}



function drawWeatherGuyForecast()

{

	var string = "";

	

	var zipcode =  GetPersonalizedZip();



	if(zipcode == null)

	   zipcode = "";



	if (zipcode == "")

		zipcode = "54601";



	var zcode = "";

	zcode = zipcode.charAt(0);



	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTopw.gif' border='0' height=22 width=425></td></tr>";

	string += "<tr COLSPAN=3 height=200 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=230 width=12></td>";

	string += "<td cellpadding=0 cellspacing='0' width=398 margin=0 valign=top>";



	string += "<table><tr><td align=center bgcolor='white'><font face=Verdana,Arial size=2><b>The Weather Guys In-Depth Forecast</b>";

	string += "<hr size=1 noshade color=#6699cc width=396><a href='http://weatherguys.com/index.asp?fzip=" + zipcode + "' target='wg'>";

	string += "<img src='http://209.70.191.111/forecast/" + zcode + "/" + zipcode + ".gif' border='0' alt='The Weather Guys' width='396' height='176'></a><hr size=1 noshade color=#6699cc width=396></td></tr></table>";





	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=230 width=12></td></tr>";

	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBotw.gif' border='0' height=14 width=425></td></tr></table>";



	document.write(string);

}


var site= "sm2uglybass";
function drawBottomAds()

{

	//One of my own and then the yahoo banner exchange!!!

	drawBigBanner();


	//FishHoo
	var string = "<br><br><center><P ALIGN=CENTER><A HREF='http://www.fishhoo.com/exchange.htm'><IMG SRC='http://www.fishhoo.com/but-fishhoo-team.gif' WIDTH=40 HEIGHT=40 ALT='Team FishHoo! Banner Exchange'></A><A HREF='http://www.fishhoo.com/cgi-bin/exchange/ads.pl?member=uglybass;banner=NonSSI;page=01'><IMG SRC='http://www.fishhoo.com/cgi-bin/exchange/ads.pl?member=uglybass;page=01' WIDTH=400 HEIGHT=40 ALT='Team FishHoo! Banner Exchange'></A><BR><SMALL><A HREF='http://www.fishhoo.com/exchange.htm'>Team FishHoo! Banner Exchange</A></SMALL></P>";

	//FishClix
	string += "<P><CENTER><IFRAME SRC='http://www.fishclix.com/cgibin/ads/ads.cgi?iframe;member=uglybass' MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=NO WIDTH=468 HEIGHT=60>";
	random = parseInt(Math.random()*1000) 
	string += '<A HREF="http://www.fishclix.com/cgibin/ads/ads.cgi?member=uglybass;banner=NonSSI;'; 
	string += 'page=' + random + '" TARGET="_blank">'; 
	string += '<IMG SRC="http://www.fishclix.com/cgibin/ads/ads.cgi?member=uglybass;' ;
	string += 'page=' + random + '" WIDTH=468 HEIGHT=60'; 
	string += ' ALT="Fish Clix Banner Exchange" BORDER=0></A>'; 
	string += '</IFRAME><BR><SMALL><A HREF="http://www.fishclix.com" TARGET="_blank">Fish Clix Banner Exchange</A></SMALL></CENTER></p> ';

	string += "<table bgcolor='#000000' ><tr><td bgcolor='#eeeeee'>";
//	string += "<center><a href='http://fishingtop50.com'><img src='http://fishingtop50.com/top50/1000940.gif' alt='Visit the Fishingtop50' border='0' width='88' height='31'></a>";
//	string += "  <A HREF='http://www.supertop100.com/aff.prg?fishing,48'><IMG SRC='http://www.supertop100.com/fishing/b/0/48.gif' ALT='Click Here to Visit!' WIDTH=88 HEIGHT=31 BORDER='0'></A>";
	string += "  <A HREF='http://www.hitsunlimited.com/cgi-bin/100topbass/100top.cgi?ID=65'><img SRC='http://www.hitsunlimited.com/cgi-bin/100topbass/100top.cgi?IDimg=65' BORDER=0 height=28 width=98></A>";
//	string += '  <A HREF="http://www.topsitelists.com/topsites.cgi?ID=271&user=ejsfishing&area=bestsites"><IMG SRC="http://www.thefishfinder.com/members/freshwater/ejfishing/top50banner.gif" border=0></A></center>'; 
	string += "</td></tr></table>";

//	string += "<br><!--WEBBOT bot='HTMLMarkup' startspan ALT='Site Meter' -->";
//	string += "<script type='text/javascript' language='JavaScript'>var site=&quot;sm2uglybass&quot;</script>";
//	string += "<script type='text/javascript' language='JavaScript1.2' src='http://sm2.sitemeter.com/js/counter.js?site=sm2uglybass'>";//</script><br><br>";
//      <noscript><a href='http://sm2.sitemeter.com/stats.asp?site=sm2uglybass' target='_top'>";
//	string += "<img src='http://sm2.sitemeter.com/meter.asp?site=sm2uglybass' alt='Site Meter' border=0></a></noscript>";
//	string += "<!-- Copyright (c)2000 Site Meter --><!--WEBBOT bot='HTMLMarkup' Endspan -->";


	document.write(string);

}


function ShowLinkImg(image)
{
var name = "ptimg" + image;

document.images[name].src = "images//bluept.gif";
}

function HideLinkImg(image)
{
var name = "ptimg" + image;

document.images[name].src = "images//grnpt.gif";
}

function drawNavLinks()

{

    var string = "";

	

	string += "  <img name='ptimg1' src='images//grnpt.gif' width= 9 height=10><a href='index.html' onmouseover='ShowLinkImg(1)' onmouseout='HideLinkImg(1)'><font size='2' color='#FFFFFF'>Home</font></a><br>";    

	//string += "  <img name="ptimg1" src='images//grnpt.gif' width= 9 height=10><a href='javascript:makeHomePage()'><font size='2' color='#FFFFFF'>Make Home</font></a></font><br>";

	string += "  <img name='ptimg2' src='images//grnpt.gif' width= 9 height=10><a href='articles.htm' onmouseover='ShowLinkImg(2)' onmouseout='HideLinkImg(2)'><font size='2' color='#FFFFFF'>Articles</font></a><br>";    

	string += "  <img name='ptimg15' src='images//grnpt.gif' width= 9 height=10><a href='discuss.htm' onmouseover='ShowLinkImg(15)' onmouseout='HideLinkImg(15)'><font size='2' color='#FFFFFF'>Discussion</font></a><br>";    

	string += "  <img name='ptimg16' src='images//grnpt.gif' width= 9 height=10><a href='chat.htm' onmouseover='ShowLinkImg(16)' onmouseout='HideLinkImg(16)'><font size='2' color='#FFFFFF'>Chat&nbsp;Room</font></a><br>";    

	string += "  <img name='ptimg3' src='images//grnpt.gif' width= 9 height=10><a href='weather.htm' onmouseover='ShowLinkImg(3)' onmouseout='HideLinkImg(3)'><font size='2' color='#FFFFFF'>Weather</font></a><br>";    

	string += "  <img name='ptimg4' src='images//grnpt.gif' width= 9 height=10><a href='resource.htm' onmouseover='ShowLinkImg(4)' onmouseout='HideLinkImg(4)'><font size='2' color='#FFFFFF'>Resources</font></a><br>";    

	string += "  <img name='ptimg18' src='images//grnpt.gif' width= 9 height=10><a href='tackrev.htm' onmouseover='ShowLinkImg(18)' onmouseout='HideLinkImg(18)'><font size='2' color='#FFFFFF'>Tackle&nbsp;Reviews</font></a><br>";    

	string += "  <img name='ptimg5' src='images//grnpt.gif' width= 9 height=10><a href='lakerep.htm' onmouseover='ShowLinkImg(5)' onmouseout='HideLinkImg(5)'><font size='2' color='#FFFFFF'>Lake&nbsp;Reports</font></a><br>";    

	string += "  <img name='ptimg6' src='images//grnpt.gif' width= 9 height=10><a href='tourn.htm' onmouseover='ShowLinkImg(6)' onmouseout='HideLinkImg(6)'><font size='2' color='#FFFFFF'>Tournaments</font></a><br>";    

	string += "  <img name='ptimg7' src='images//grnpt.gif' width= 9 height=10><a href='photos.htm' onmouseover='ShowLinkImg(7)' onmouseout='HideLinkImg(7)'><font size='2' color='#FFFFFF'>Bass&nbsp;Photos</font></a><br>";    

	string += "  <img name='ptimg8' src='images//grnpt.gif' width= 9 height=10><a href='classify.htm' onmouseover='ShowLinkImg(8)' onmouseout='HideLinkImg(8)'><font size='2' color='#FFFFFF'>Classifieds</font></a><br>";    

//	string += "  <img src='images//grnpt.gif' width= 9 height=10><a href='http://www.freearcade.com/Bass.jav/Bass.html'><font size='2' color='#FFFFFF'>Arcade</font></a><br>";    

	string += "  <img name='ptimg9' src='images//grnpt.gif' width= 9 height=10><a href='software.htm' onmouseover='ShowLinkImg(9)' onmouseout='HideLinkImg(9)'><font size='2' color='#FFFFFF'>Software</font></a><br>";    

//	string += "  <img name='ptimg17' src='images//grnpt.gif' width= 9 height=10><a href='http://uglybass.vstoresports.com/' onmouseover='ShowLinkImg(17)' onmouseout='HideLinkImg(17)'><font size='2' color='#FFFFFF'>Shopping</font></a><br>";    

//	string += "  <img name='ptimg10' src='images//grnpt.gif' width= 9 height=10><a href='links.htm' onmouseover='ShowLinkImg(10)' onmouseout='HideLinkImg(10)'><font size='2' color='#FFFFFF'>Links</font></a><br><br>";    
	string += "  <img name='ptimg10' src='images//grnpt.gif' width= 9 height=10><a href='statemap.htm' onmouseover='ShowLinkImg(10)' onmouseout='HideLinkImg(10)'><font size='2' color='#FFFFFF'>Links</font></a><br><br>";    

	string += "  <img name='ptimg11' src='images//grnpt.gif' width= 9 height=10><a href='advertise.htm' onmouseover='ShowLinkImg(11)' onmouseout='HideLinkImg(11)'><font size='2' color='#FFFFFF'>Advertising</font></a><br>";    

	string += "  <img name='ptimg12' src='images//grnpt.gif' width= 9 height=10><a href='webdsgn.htm' onmouseover='ShowLinkImg(12)' onmouseout='HideLinkImg(12)'><font size='2' color='#FFFFFF'>Web Design</font></a><br>";    

	string += "  <img name='ptimg13' src='images//grnpt.gif' width= 9 height=10><a href='aboutus.htm' onmouseover='ShowLinkImg(13)' onmouseout='HideLinkImg(13)'><font size='2' color='#FFFFFF'>About Us</font></a><br>";    

	string += "  <img name='ptimg14' src='images//grnpt.gif' width= 9 height=10><a href='mailto:webGuy@uglybass.com' onmouseover='ShowLinkImg(14)' onmouseout='HideLinkImg(14)'><font size='2' color='#FFFFFF'>Contact Us</font></a><br>";    



    document.write(string);



}


function drawTopNavBar()

{

	var string = "";



	string += "<table width='100%' cellpadding=0 cellspacing=0 border=0>";

	string += "<tr><td valign='top'><IMG SRC=images//curve2.gif ALIGN=top WIDTH=11 HEIGHT=11 border=0></td>";

	string += "<td><center><a href='plan.htm'><font size='2' color='#FFFFFF'>Plan</font></a> <font size='2' color='#FFFFFF'>|</font>"; 

	string += "<a href='discuss.htm'><font size='2' color='#FFFFFF'>Discuss</font></a><font size='2' color='#FFFFFF'> |</font> ";

	string += "<a href='chat.htm'><font size='2' color='#FFFFFF'>Chat</font></a></center></td></tr></table>";



    document.write(string);



}



function drawRightAdWindow()

{

	drawRightProductWindow();

	//longer window

	string = "";



	string += "<table border='0' cellpadding='0' cellspacing='0'><tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTop.gif' border='0' height=22 width=147></td></tr><tr COLSPAN=3 height=180 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=227 width=12></td><td cellpadding=0 cellspacing='0' width=120 margin=0 valign=top><font size = '-3'>";

	var infoCt = getTipCount();

	if((infoCt % 2) == 0)

	{

	   string += "<font size=-1 color='#FF0000'>Fishing Guides...           </font><br>";

           string += "Wow... What a great way to promote your business. Submit a bass fishing tip or article today, and be featured on UglyBass.com... Dont pass up a great opertunity for free advertising!!";

	   string += "-<a href='mailto:submit@uglybass.com'>Submit here</a>";

        }

        else

        {

	   string += "<font size=-1 color='#FF0000'>What's New...               </font><br><br>";

	   string += "<img src='images//grnpt.gif' width= 9 height=10><a href='basscoachsms.htm'>'Do Scents Really Make Sense?'</a><br><br>";

           string += "<img src='images//grnpt.gif' width= 9 height=10><a href='ubu.htm'>UglyBass Utilities</a><br><br>";

	   string += "<img src='images//grnpt.gif' width= 9 height=10><a href='tomlstrsbc.htm'>'Springtime Bassin..'</a><br>";

        }

	infoCt++;

	setTipCount(infoCt);

	string += "<br><br>";

	string += drawLilBanner("NO");

	string += "<br>";

	string += drawLilBanner("NO");

	string += "</font></td><td width=12> <img src='images//btRight.gif' border='0' height=227 width=12></td>";

	string += "</tr><tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=147></td></tr></table>";



	document.write(string);



}


function drawRightProductWindow()

{

	//longer window

	string = "";



	string += "<table border='0' cellpadding='0' cellspacing='0'><tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTop.gif' border='0' height=22 width=147></td></tr><tr COLSPAN=3 height=220 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 NORESIZE cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=220 width=12></td><td NORESIZE cellpadding=0 cellspacing='0' width=123 margin=0 valign=top><font size = '-3'>";

	var infoCt = getTipCount();

	if((infoCt % 4) == 0)
	{
//	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";

//           string += "<center><img src='http://www.uglybass.com/images/qk4.jpg' height=60 width=100><br><br>";

//	   string += "<b>QuiKnot</b>, because Life is too short to spend the FEW HOURS you do fish, having your baits out of the water. <br><br>";
//	   string += "<center>Check it out <a href='http://www.quiknot.com/'>Here</a>.</center>";
//
	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";

           string += "<center><img src='images/swspin.jpg' height=75 width=78><br><br>";

	   string += "<b>Secret Weapon Spinnerbaits</b> - Its Improvements make first generation Spinnerbaits obsolete. <br><br>";
	   string += "<center>Check it out <a href='http://www.secretweaponlures.com/'>Here</a>.</center>";

        }
	else if((infoCt % 4) == 1)
	{
	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";

           string += "<center><img src='http://bigbitebai7157.goemerchant6.com/buckets.gif' height=95 width=74><br><br>";

	   string += "<b>Big Bite Baits</b> Bulk Buckets. Everything you need to go bass fishing.  Makes a great gift!";
	   string += "<center>Check it out <a href='http://www.bigbitebaits.com/'>Here</a>.</center>";
        }
	else if((infoCt % 4) == 2)
	{
	   //string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><form method='get' action='http://www.qksrv.net/interactive' >";

	   //string += "<center><img src='http://www.qksrv.net/image-577208-536531' height='1' width='1' border='0'><img src='http://www.seaeagle.com/transom/images/126sr.jpg'  alt='Sea Eagle 12.6 SR 6 Man inflatable Boat' height=46 width=109><br><br>";

	  // string += "<b>Sea Eagle 12.6 SR 6 Man inflatable Boat</b>  Rugged 1000 denier material, maintenece free plastic floorboards. 3 year warranty. Complete kit..";
	  // string += '<br><input type="hidden" name="pid" value="782073"><input type="hidden" name="aid" value="536531"><input type="submit" value="Buy"></form>';
	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";

           string += "<center><img src='images/swspin.jpg' height=75 width=78><br><br>";

	   string += "<b>Secret Weapon Spinnerbaits</b> - Its Improvements make first generation Spinnerbaits obsolete. <br><br>";
	   string += "<center>Check it out <a href='http://www.secretweaponlures.com/'>Here</a>.</center>";
        }
        else
        {

	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";
           string += "<center><img src='http://www.uglybass.com/images/mainsquid.jpg' height=97 width=43><br>";
	   string += " <b>The Squidy Mangler</b> Tentalize the fish with The Squidy Mangler. <br><br>";
	   string += "<center>Check it out <a href='http://www.themangler.com/squidy.html'>Here</a>.</center>";

        }


//	   string += "<font size=-1 color='#FF0000'>Featured Product...</font><br><br>";
//           string += "<center><img src='http://www.uglybass.com/images/hgboat.jpg' height=73 width=110><br>";
//	   string += "The <b>Hydrilla Gorilla</b> Jon Boat to Bass Boat Easy How-to Book is a must have when planning that boat conversion. Imagine what you could be fishing in.<br><br>";
//	   string += "<center>Check it out <a href='http://www.hydrillagorilla.com'>Here</a>.</center>";

	//infoCt++;

	//setTipCount(infoCt);

	string += "<br><br>";

	string += "</font></td><td NO RESIZE width=12 cellpadding=0 cellspacing='0'> <img src='images//btRight.gif' border='0' height=220 width=12></td>";

	string += "</tr><tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=147></td></tr></table>";



	document.write(string);



}




function drawRightTipWindow()

{

	string = "";



	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3><img src='images//btTop.gif' border='0' height=22 width=147></td></tr>";



	var infoCt = getTipCount();	

	//3 Rotating Tips for now

	if((infoCt % 3) == 0)

		{

	   	string += "<tr COLSPAN=3 height=185 cellpadding='0' cellspacing='0'><td width=12 cellpadding='0' cellspacing='0'>";

		string += "<img src='images//btLeft.gif' border='0' height=185 width=12></td><td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top><font size = '-3'> ";

		string += "<font size=-1 color='#FF0000'>Tips....                            </font><br>";

		string += "Please Feel free to submit a tip for use by UglyBass.com to appear here. If we use your tip it is great exposure for your fishing related site. Guides and Charter's welcome.  -- <a href='mailto:tips@uglybass.com'>Submit a Tip</a>";

	    string += "<br><br>";

	    string += drawLilBanner("NO");

	    string += "</font></td><td width=12> <img src='images//btRight.gif' border='0' height=185 width=12></td></tr>";

	    }

	else if ((infoCt % 3) == 1)

	   {

	   	string += "<tr COLSPAN=3 height=219 cellpadding='0' cellspacing='0'><td width=12 cellpadding='0' cellspacing='0'>";

		string += "<img src='images//btLeft.gif' border='0' height=219 width=12></td><td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top><font size = '-3'> ";

		string += "<font size=-1 color='#FF0000'>Tips....                            </font><br>";

	    string += "For those...fishing topwater baits like the ChugBug and ZaraSpook (my favorite) try this.";

	    string += "Bend the point of the treble hooks out a little bit.  Quite often, I find that bass will just swipe at a lure. ";

	    string += "By having the hook a little more open, you will often times catch them on the outside of the mouth. - <a href='http://herefishyfishy.com'>Steve Huber</a>";

	    string += "<br><br>";

	    string += drawLilBanner("NO");

	    string += "</font></td><td width=12> <img src='images//btRight.gif' border='0' height=219 width=12></td></tr>";

	    }

 	 else if ((infoCt % 3) == 2)

	    {

	   	string += "<tr COLSPAN=3 height=135 cellpadding='0' cellspacing='0'><td width=12 cellpadding='0' cellspacing='0'>";

		string += "<img src='images//btLeft.gif' border='0' height=135 width=12></td><td cellpadding=0 cellspacing='0' width=118 margin=0 valign=top><font size = '-3'> ";

	    string += "<font size=-1 color='#FF0000'>Tips....                            </font><br>";

	    string += "Please Practice Catch and Release. Leave those UglyBass out there to fight another day! -- <a href='mailto:tips@uglybass.com'>Submit a Tip</a>";

	    string += "<br><br>";

	    string += drawLilBanner("NO");

	    string += "</font></td><td width=12> <img src='images//btRight.gif' border='0' height=135 width=12></td></tr>";

	    }



	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=147></td></tr></table>";



	document.write(string);

}



function DrawVoteLink()

{

	//Eventually you'll want to switch which site to vote for you

	//fishtop50 fishhoo etc....

	var string = "<br><br>";



	var voteCount = getVoteCount();

//	if((voteCount % 2) == 0)

//		string += "<center><a href='http://fishingtop50.com'><img src='http://fishingtop50.com/top50/1000940.gif' alt='Visit the Fishingtop50' border='0' width='88' height='31'></a></center><br>";

//		string += "<center><A HREF='http://www.supertop100.com/aff.prg?fishing,48'><IMG SRC='http://www.supertop100.com/fishing/b/0/48.gif' ALT='Click Here to Visit!' WIDTH=88 HEIGHT=31 BORDER='0'></A></center><br>";

//		string += "<center><A HREF='http://www.hitsunlimited.com/cgi-bin/100topbass/100top.cgi?ID=65'><img SRC='http://www.hitsunlimited.com/cgi-bin/100topbass/100top.cgi?IDimg=65' BORDER=0 height=28 width=98></A><br></center>";



//		string += "<center><A HREF='http://new.topsitelists.com/topsites.cgi?ID=2&user=fishnotes1&area=bestsites'><IMG SRC='http://www.hitsunlimited.com/fish/top50.gif' border=0></A></center>";

//	else

//		string += "";



	

	//Drawing a small add every fourth page 

	if((voteCount % 4) == 0) 

	{

	   string += "<br><br>";

	   string += drawLilBanner("NO");

        }



	document.write(string);



	voteCount++;

	setVoteCount(voteCount);

}



function drawCopyright()

{
   var string = "";

   string +=  "<img src='images//ubswim1.gif' width=92 height=55><br>";
   string += "<font size=-3>Copyright © 2001-04 - <a href='http://www.birdsoft.biz/'>Birdsoft</a></font>";

   document.write(string);

}



//function PopMSRV()

//{

//var wnam = "newwin";

//var attr = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=555,height=700";

//var loca  = "http://www.maptech.com/mapserver/index.cfm ";

//window.open(loca, wnam, attr);

//}



function PopMSRV() 

{



var wnam = "newwin";



var attr ='toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=625,height=700';



var loca = 'http://www.maptech.com/mapserver/index.cfm';



window.open(loca, wnam, attr);



}







function makeHomePage()

{

  var bn=navigator.appName;

  if(bn == "Netscape")

	alert("Please go to the Menu Edit/Preferences and then choose use Current Page");

  else if(bn.substring(0,9)=="Microsoft")

  {

	alert("Please go to the Menu Tools/Internet options and then choose use Current Page");

    // navigator.style.behavior='url(#default#homepage)';

    // navigator.setHomePage('http://www.uglybass.com');

  }



}



function calculate()

{

	var height = document.FishCalc.fheight.value;

	setCalcHeight(height);

	var girth = document.FishCalc.fgirth.value;

	setCalcGirth(height);



	//just setting to a value!!

	setCalc("Dog");

		

	window.history.go(0);

}



function NewCalc()

{

	DeleteCookie('Calculated');

	window.history.go(0);



}



function setCalc(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days



	SetCookie('Calculated',value ,expIs)

}



function getCalc()

{

    var result = GetCookie('Calculated')	

    if(result == null) 

	{

		return null;

	}

	else

	{

		return result;

	}

}



function setCalcWidth(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('cwidth',value ,expIs)

}



function getCalcWidth()

{

    var result = GetCookie('cwidth')	

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}

function setCalcGirth(value)

{

	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days



	SetCookie('cgirth',value ,expIs)

}



function getCalcGirth()

{

    var result = GetCookie('cgirth')	

    if(result == null) 

	{

		return "0";

	}

	else

	{

		return result;

	}

}



function calculate()

{

	if(verifyFishCalc() == false)

	{

	alert("invalid number in Calculator");

	return;

	}

	

	var width = document.FishCalc.fwidth.value;

	setCalcWidth(width);

	var girth = document.FishCalc.fgirth.value;

	setCalcGirth(girth);



	//just setting to a value!!

	setCalc("Dog");

		

	window.history.go(0);

}



function drawCalc()

{

	var showIt = getShowCalc();



	if(showIt != "YES")	

		return;	



	var string = "";



	string += "<table border='0' cellpadding='0' cellspacing='0'> <tr cellpadding='0' cellspacing='0'><td cellpadding='0' cellspacing='0' COLSPAN=3>";

	string += "<img src='images//btTop.gif' border='0' height=22 width=147></td></tr>";

	string += "<tr COLSPAN=3 height=92 cellpadding='0' cellspacing='0'>";

	string += "<td width=12 cellpadding='0' cellspacing='0'><img src='images//btLeft.gif' border='0' height=92 width=12></td>";

	string += "<td cellpadding=0 cellspacing='0' width=120 margin=0 valign=top>";



	var theRet = getCalc();



	if(theRet == null)

	{

	string += "<form name='FishCalc'>";

	string += "<table cellpadding=0 cellspacing=0><tr><td colspan=3><font size=-2 color='#FF0000'>Bass Calculator...      </font></td></tr>";

	string += "<tr><td valign=center width=70 >";

	string += "<font face='Arial, Helvetica, Chicago, Sans Serif' color='#004371' size='-2'>Length:</font></td>";

	string += "<td valign=center width=60><font face='Arial, Helvetica, Chicago, Sans Serif' color='#004371' size='-2'>Girth:</td></tr>";

	string += "<tr><td><input type='text' size=5 name='fwidth'></td><td><input type='text' size=5 name='fgirth'></td></tr>";

	string += "<tr><td valign=center width=130 colspan=2><center><input type=Image src='images//calcbtn.gif'  width='58' height='20' onclick='javascript:calculate()'></center></td></tr><tr> ";

	string += "</table></form>";

	}

	else

        {

        

	var fWidth = getCalcWidth();

	var fGirth = getCalcGirth();

	fWidth = parseFloat(fWidth);

	fGirth = parseFloat(fGirth);	



	//The algorithm used is W=(L * (G^2))/R, where: 



	//W = Weight in decimal pounds

	//L = Length in inches

	//G = Girth in inches (default is .58 * L)

	//R = 800 for trout/bass, 900 for pike/musky 

	//var fTotal =  fGirth * fGirth;

	//fTotal *= fWidth;

	//fTotal /= 800;





	//Two others from rofb post(by Warren Funk or possibly Doug Hannon Bass Doctor )

	//1 - Length squared times girth divided by 1200;

	//2 - Length cubed divided by 1600.







	var fTotal =  fWidth * fWidth;

	fTotal *= fGirth;

	fTotal /= 1200;

	fTotal = formatCurrency(fTotal);

	string += "<font size=-1 color='#FF0000'>Last Fish...                   </font><br>";

	string += "<font face='Arial, Helvetica, Chicago, Sans Serif' color='#004371' size='-2'>";

	string += fWidth + " L + " + fGirth + "  G = ";

	string += "<center>" + fTotal + " lbs.</center>";

	string += "</font>";

	string += "<br><center><a href='javascript:NewCalc();'><img src='images//newfishbtn.gif'  border=0 width='58' height='20'></a></center>";

        } 

	string += "</td><td width=12> <img src='images//btRight.gif' border='0' height=92 width=12></td></tr>";

	string += "<tr cellpadding=0 cellspacing='0'> <td  cellpadding=0 COLSPAN=3><img src='images//btBot.gif' border='0' height=14 width=147></td></tr></table>";

	document.write(string);
}



function verifyFishCalc()

{

   var lgt = document.FishCalc.fwidth.value;

   var gth = document.FishCalc.fgirth.value;



   if (lgt == null || lgt.length == 0)

     return false;

   if (gth == null || gth.length == 0)

     return false;



    //check if its a number

    for (var i = 0; i < lgt.length; i++) 

    {

        var ch = lgt.substring(i, i + 1)

        if ((ch < "0" || "9" < ch) && ch != '.') 

            return false;

    }



    for (var i = 0; i < gth.length; i++) 

    {

        var ch = gth.substring(i, i + 1)

        if ((ch < "0" || "9" < ch) && ch != '.') 

            return false;

    }

return true;
}

//For tackle contest....
function drawBlueFish(value)
{
	
	if(contestOn != true)
		return;
	var string = "";
    if((value == "DOG") || (value == "CAT") || (value == "MOUSE") || (value == "FROGGY") ||(value == "JUMP")|(value == "CHICKEN"))
	{
		var result = GetContestCookie(value);
		if(result == "0")
		{
			string += "<a href='javascript:AddContestFish(&quot;";
			string += value;
			string +=  "&quot;);'><img src='images/blueUB.gif' width=23 height=32 alt='Fish' border=0></a>";
			document.write(string);	
		}  		
	}
}

//Use this when putting in welcome name, you can list how many fish they've found in parenthesis
function GetContestCount()
{
var count = 0;
var value = "";

   value = GetContestCookie("DOG"); 
   if(value == "TRUE")
    {
	count++;
    } 
   value = GetContestCookie("CAT"); 
   if(value == "TRUE")
    {
	count++;
    } 
   value = GetContestCookie("MOUSE"); 
   if(value == "TRUE")
    {
	count++;
    } 
   value = GetContestCookie("FROGGY"); 
   if(value == "TRUE")
    {
	count++;
    } 
   value = GetContestCookie("JUMP"); 
   if(value == "TRUE")
    {
	count++;
    } 
   value = GetContestCookie("CHICKEN"); 
   if(value == "TRUE")
    {
	count++;
    } 
    return(count);
}

function AddContestFish(value)
{
	var result = GetContestCookie(value);
	if(result == "0")
	{
		SetContestCookie(value);
	}  

	if(GetContestCount() >= 4)
	{
	if(contestOn == true)
	   {
		//alert("You have found ");
		//redirect to registration for Tackle giveaway!!!
		window.location.href = "tacklereg.htm";
		return;
	   }

	}

	if(contestOn == true)
	{
		window.history.go(0);
	}
}

function GetContestCookie(value)

{
    if((value == "DOG") || (value == "CAT") || (value == "MOUSE") || (value == "FROGGY") ||(value == "JUMP") || (value == "CHICKEN"))
    {
		var result = GetCookie(value)	

		if(result == null) 
		{
			return "0";
		}
		else
		{
			return result;
		}
    }
    
}

function DrawTackleRegForm()
{
	var string = "";

	if(GetContestCount() == 4)
	{
		if(contestOn == true)
		{
			string += "<table NORESIZE width=300 border=1 bordercolor='#696969'><tr><td bgcolor='#5F9EA0'><center>Tackle Giveaway Entry</center></td></tr><tr><td bgcolor='#C0C0C0'>Name: <input type='text' size=15 name='NAME'><br>";
			string += "Address: <input type='text' size=20 name='ADDRESS'><br>";
			string += "City: <input type='text' size=12 name='CITY'>   State:  <input type='text' size=5 name='STATE'><br>";
			string += "Zip:  <input type='text' size=10 name='ZIP'><br></td></tr><tr><td bgcolor='#C0C0C0'>";
			string += "Email:   <input type='text' size=18 name='EMAIL'><br></td></tr><tr><td bgcolor='#C0C0C0'>";
			string += "<br><center><input type=Image src='images//submitbtn.gif'  width='58' height='20'></center><br>";
			string += "</td></tr></table>";
		}
		else
		{
			string += "<table NORESIZE width=400 border=1 bordercolor='#C0C0C0'><tr><td bgcolor='#191970'><center><font color='#F5FFFA'>Error</font></center></td></tr>";
			string += "<tr><td bgcolor='#BC8F8F'>You have reached this page but there is currently no Tackle Giveaway pending!";
			string += "</td></tr></table>";
		}
	}
	else
	{
		string += "<table NORESIZE width=400 border=1 bordercolor='#C0C0C0'><tr><td bgcolor='#191970'><center><font color='#F5FFFA'>Error</font></center></td></tr>";
		string += "<tr><td bgcolor='#BC8F8F'>You have reached this page but you have not found the required Blue Giveaway Fish or should have already registered.";
		string += "</td></tr></table>";
	}

	document.write(string);

}

function SetContestCookie(value)

{
	//NEED to set this up so expires at the end of the month!!!
	var expIs = new Date(); 
	expIs.setTime(expIs.getTime() + (30*24*60*60*1000));//30 days

	SetCookie(value,"TRUE",expIs);
}

//Formatting to 0.00 form

function formatCurrency(num) 

{

	num = num.toString().replace(/\$|\,/g,'');

	if(isNaN(num)) num = "0";

		cents = Math.floor((num*100+0.5)%100);

	num = Math.floor((num*100+0.5)/100).toString();

	if(cents < 10) 

		cents = "0" + cents;

	for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)

		num = num.substring(0,num.length-(4*i+3))+','+num.substring(num.length-(4*i+3));

	return (num + '.' + cents);

}

function picture(name,file,phgt,pwdt,wgt,location,date)
{
this.name = name;
this.file = file;
this.phgt = phgt;
this.pwdt = pwdt;
this.wgt = wgt;
this.location = location;
this.date = date;
}


function drawPhotos()
{
var string = "<p align='left'>";
for(i = 0; i < album.length; i++)
{
  string += "<table border=0 cellpadding=6 cellspacing=3><tr><td bgcolor='#556B2F'>";

  string += "<img src='images//" + album[i].file + "' height=" + album[i].phgt + " width=" + album[i].pwdt + ">";
  string += "</td><td bgcolor='#BDB76B' width=250 >";

  string += "Name: " + album[i].name + "<br>Weight:" + album[i].wgt + "<br>Location: " + album[i].location + "<br>Date: " + album[i].date;
  string += "</td><tr></table><br>";
}

string += "</p>";
document.write(string);
}

function drawLakeReportForm()
{

	var drawData = "";
	var stt = /st/i;
	var astring;
	var state = "";
	var string = "";

	astring = "" + unescape(location.search);
	astring = astring.substring(1,astring.length);
	field = astring.substring(0,astring.indexOf("="));
	astring = astring.substring(astring.indexOf("=")+1,astring.length);

	if(field.search(stt) != -1)
	{
		var line = astring.indexOf("$");
		state = astring.substring(0,line);	

	}




string += "<table NORESIZE width=300 border=1 bordercolor='#696969'><tr><td bgcolor='#5F9EA0'><center>Lake Report Submission</center></td></tr><tr><td bgcolor='#C0C0C0'>"

if( state == "")
{
string +="<center><select name='state' size='1'>";
string += "<OPTION VALUE='AL'>Alabama<OPTION VALUE='AK'>Alaska<OPTION VALUE='AZ'>Arizona<OPTION VALUE='AR'>Arkansas<OPTION VALUE='CA'>California<OPTION VALUE='CO'>Colorado<OPTION VALUE='CT'>Connecticut";
string += "<OPTION VALUE='DE'>Deleware<OPTION VALUE='FL'>Florida<OPTION VALUE='GA'>Georgia<OPTION VALUE='HI'>Hawaii<OPTION VALUE='ID'>Idaho<OPTION VALUE='IL'>Illinois<OPTION VALUE='IN'>Indiana<OPTION VALUE='IA'>Iowa";
string += "<OPTION VALUE='KS'>Kansas<OPTION VALUE='KY'>Kentucky<OPTION VALUE='LA'>Louisiana<OPTION VALUE='ME'>Maine<OPTION VALUE='MD'>Maryland<OPTION VALUE='MA'>Massachusetts<OPTION VALUE='MI'>Michigan";
string += "<OPTION VALUE='MN'>Minnesota<OPTION VALUE='MS'>Mississppi<OPTION VALUE='MO'>Missouri<OPTION VALUE='MT'>Montana<OPTION VALUE='NE'>Nebraska<OPTION VALUE='NV'>Nevada<OPTION VALUE='NH'>New Hampshire";
string += "<OPTION VALUE='NJ'>New Jersey<OPTION VALUE='NM'>New Mexico<OPTION VALUE='NY'>New York<OPTION VALUE='NC'>North Carolina<OPTION VALUE='ND'>North Dakota<OPTION VALUE='OH'>Ohio<OPTION VALUE='OK'>Oklahoma";
string += "<OPTION VALUE='OR'>Oregon<OPTION VALUE='PA'>Pennsylvania<OPTION VALUE='RI'>Rhode Island<OPTION VALUE='SC'>South Carolina<OPTION VALUE='SD'>South Dakota<OPTION VALUE='TN'>Tennessee<OPTION VALUE='TX'>Texas";
string += "<OPTION VALUE='UT'>Utah<OPTION VALUE='VT'>Vermont<OPTION VALUE='VA'>Virginia<OPTION VALUE='WA'>Washington<OPTION VALUE='WV'>West Virginia<OPTION VALUE='WI'>Wisconsin<OPTION VALUE='WY'>Wyoming";
string += "</select></center><br>";
}
else
{
string += "<center><b>" + state + "</b></center><br>";
}
string += "Lake Name: <input type='text' size=20 name='NAME'><br><br>";

string += "Enter Lake Report here:<br>";
string += "<textarea cols=35 rows=10 name='LAKEREP' wrap='virtual'></textarea>";
string += "<br><br><center><input type=Image src='images//submitbtn.gif'  width='58' height='20'></center><br>";
string += "</td></tr></table>";

document.write(string);


}


	//This is the list of all the Registered Photos
	//Try to keep sizes all similar like 110 height and close width
	album = new Array();	

	i = 0;


	album[i++] = new picture("Missy Sjerven","missyfish1.JPG",135,98,"2+ lbs","Northern MN","June 2003");  //height, width//aaron.cantu@cemex.com
	album[i++] = new picture("Rodney Bongbonga","rodneybongbonga7lb2.jpg",93,123,"7 lbs","Lake 'c', CA","March 2003");  //height, width//aaron.cantu@cemex.com
	album[i++] = new picture("Arturo & Aaron","ArturoAaron2.jpg",103,137,"8 lbs","LOS MIMBRES LAKE IN NUEVO LEON, MEXICO","Feb. 22, 2003");  //height, width//aaron.cantu@cemex.com

	album[i++] = new picture("Brian Heilman (UglyBass)","bribigfishUB.jpg",158,117,"5 lbs","Sparta, WI","Sept. 28, 2002");  //height, width

	album[i++] = new picture("Greg Heilman","gregmedfishUB.JPG",128,111,"3 lbs","Spooner, WI","Aug. 2002");  //height, width
	album[i++] = new picture("Ed Anthony","edanthony.jpg",112,125,"3 lbs","St. Cloud, FL","Oct. 2002");  //height, width
	album[i++] = new picture("Sergio Bonilla","sbonillabigUB.jpg",104,126,"4lbs, 12 oz","Lake Tiorati-- Orange County, NY","Aug. 14, 2002");  //height, width

	album[i++] = new picture("Suzy Manson","SuzyFish2.jpg",130,127,"3 lbs+","Lake Minnetonka, MN","July 2002");  //height, width

	album[i++] = new picture("John Humphrey","humphrey2.jpg",119,121,"13 lbs+","N.C. (on 3 Lb Line!!)","Sent July 2002");  //height, width
	album[i++] = new picture("Chris Bowen","cbowen2.jpg",103,121,"11 lbs","Local Honey Hole","Sent June 2002");  //height, width

	album[i++] = new picture("Rich Lindgren","richlindgren.jpg",118,124,"5.5 and 5 lbs","Lake Shamineau - Motley, MN","June 15, 2002");  //height, width

<!--	album[i++] = new picture("Sergio Bonilla","sbonilla2.jpg",107,114,"~2? lbs","Sterling Forest, NY","June 3, 2002");  //height, width-->
	album[i++] = new picture("Bob Celona","bcelona2.jpg",118,122,"~2? lbs","Sterling Forest, NY","June 3, 2002");  //height, width


	album[i++] = new picture("Micky Jaeger","mickyjaeger1.jpg",114,118,"5 lbs 3 ozs","Stone Tavern, Millstone, NJ","Sent April 2002");  //height, width
	album[i++] = new picture("Rodney Bongbonga","rodneybass1c.gif",105,129,"8 lbs","Lake 'G', San Jose, CA","April 20, 2002");  //height, width
	album[i++] = new picture("Rob Doherty","robmarch1c.gif",125,126,"5 lbs","Hattiesburg Mississippi","March 18, 2002");  //height, width
	album[i++] = new picture("Roy Jacobs","jacobs2.jpg",124,94,"3.5 lbs","Wriggleswade, East London South Africa","Feb 2002");  //height, width
	album[i++] = new picture("Dan Fenwick","fenwick2.gif",125,80,"8 lbs 5 Oz","Lake Toho, Kissimmee, FL","Feb 2002");  //height, width
	album[i++] = new picture("Taz Bowen","taz5small.gif",98,130,"5 lbs","Polk County, FL","Sent Feb 2002");  //height, width
	album[i++] = new picture("Chris and Dillon Bowen<br>(on a Cane Pole)","bowen1.gif",92,120,"9 lbs","Florida","Jan. 5 2002");  //height, width
	album[i++] = new picture("Chad Craven","2001townsend2.gif",123,121,"3 and 4 lbs","Greensboro, NC","Nov. 2001");  //height, width
	album[i++] = new picture("Josh Kobler","kobler2.jpg",118,110,"9.7 lbs( a 7.3 lber was caught close behind)","Lake Columbia, AK","Dec. 2001");  //height, width
	album[i++] = new picture("Dennis & Charlie Gabbeart","gabbeart.jpg",104,120,"??","Michigan","Oct. 31, 2001");
	album[i++] = new picture("Jim Riordan","riordanj.jpg",123,123,"3.75 lbs","Effingham,IL","Oct. 2001");
	album[i++] = new picture("Zack K","zackbass.jpg",111,123,"2 lbs","ASU Reserch Park Tempe, AZ","Sept. 2, 2001");
	album[i++] = new picture("Mark Stevens","mstevens2.jpg",120,108,"~6 lbs","Lower Beverly lake ON Canada","Sent Sept. 2001");
<!--	album[i++] = new picture("Greg Heilman","gregfish2.jpg",110,125,"2 lbs","Spooner, WI","Aug. 2001");-->
	album[i++] = new picture("Wade Neubauer","wadefish1.jpg",136,122,"2 lbs","Spooner, WI","Sent Aug. 2001");
	album[i++] = new picture("John N.","johnnyr2.jpg",116,132,"??","Alligator Alley Broward Cty. FL","Aug 6 2001");//nyreb??
	album[i++] = new picture("Chris DeRocher","cderocher.jpg",95,135,"~4 lbs","Hudson, MA","Sent Aug. 2001");
	album[i++] = new picture("Cliff Gallagher and Bart","cliffbart.jpg",136,110,"~5 lbs","Utah","Sent July 2001");
	album[i++] = new picture("Jerry Dougherty","jdougherty.jpg",127,90,"3.7 lbs","Sparta, WI","July 2001");
	album[i++] = new picture("Dave Houzner","dhouzner.jpg",120,134,"~4 lbs","Sparta, WI","July 2001");
	album[i++] = new picture("Adam Houzner","ahouzner.jpg",108,106,"1+ ?? lbs","Sparta, WI","July 2001");
	album[i++] = new picture("Travis Reed","treed2.jpg",109,132,"11.4 lbs","Lake Poway","June 29, 2001");
	album[i++] = new picture("Jeremy Pratt","pratt1.jpg",100,121,"11 lbs","North Carolina","June 2001");  //height, width
	album[i++] = new picture("Jon Farmer","jfarmer.jpg",100,110,"10.4 lbs","Spring Lake, Santa Rosa, CA ","April 15, 2001");
	album[i++] = new picture("Duane Tressider","dtressider.jpg",110,117,"??","East London(South Africa)","sent April 2001");
	album[i++] = new picture("Chance N.","chancen.jpg",113,122,"~2 lbs","Mesa Arizona","March 29, 2001");
	album[i++] = new picture("Tony Armstrong","tonyarm2.gif",113,120,"11.0 lbs","Shearon Harris Lake, NC ","March 2001");
	album[i++] = new picture("Wes W. Winget","wwinget.jpg",110,74,"~11.0 lbs","Lake Ray Roberts","March 2001");
	album[i++] = new picture("Randy Woodall","woodall1s.jpg",103,130,"7 lbs","Pickens, SC","March, 2001");
	album[i++] = new picture("Chad Wiley","cwiley.jpg",110,126,"~5.75 lbs","LaCygne, KS","Jan 12, 2001");
	album[i++] = new picture("Ron Zak","rzak.jpg",110,147,"6.5 lbs","Lisbon, OH","Fall 2000");
	album[i++] = new picture("D.J. McDonald(caught within 30 minutes of each other)","bjmcd.jpg",110,142,"18-19lbs w/ pail","Little hiddin Northern Ontario lake","Sent Feb, 2001");
	album[i++] = new picture("Terry Hollan(caught within 3 minutes of each other)","huites2.jpg",110,119,"10 and 11","Lake Huites Lodge, Mexico","January, 2001");
	album[i++] = new picture("John Deckard(2001 Budweiser Sharelunker Entry)","deckard.jpg",110,131,"14.29","Lake Fork, TX","January 14, 2001");
	album[i++] = new picture("John Lindsey Jr.(New IGFA Fly Rod - World Record(pending))","rosie.jpg",110,120,"14.14","Lake Meredith, TX","October 20, 2000");
	album[i++] = new picture("Cody Pierce(New IGFA Junior Division - World Record)","codyfish.jpg",110,150,"17.05","Lake Murray, CA","March 22, 2000");
	album[i++] = new picture("Dave Houzner","davefish.jpg",132,110,"??","Fort McCoy, WI","August 2000");
	album[i++] = new picture("Brian Heilman(UglyBass)(FYI: I'm tall AND I'm up next to these other monsters, otherwise this is a nice fish)","brifish.jpg",138,110,"~3","Slim Lake, WI","July 2000");

