// This source code is copyrighted 2005
// by giovanni@cardona.com
//
// Setting global variables
var evt = null;
var nCounter = 0;
var sTempString = "";
var sBaseURL = "http://giovanni.cardona.com/c64/";
var sUseBase = ""; // read function LinksUseBaseURL for more info
var mem = "20595"; //esto es una variable global para TrafficG

//constants
var nENGLISH = 0;
var nSPANISH = 1;

var nLanguages = 1; // put the EXACT amount of available languages
var nSelectedLanguage = nENGLISH;

var sUserName = "Commodore Friend";

var oLanguage = new Array();
var oSeaMonkey = new Object();
//
// Create the Language Class
function fnObjectLanguage()
{
	this.urlLinks = new Array();
	this.urlLabel = new Array();
	this.urlFastLinks = new Array();
	this.urlFastLabel = new Array();	
	this.kitComments = new Array();	
}
//
// Initialize all languages as an object
for (nCounter = 0; nCounter < nLanguages; nCounter++)
	oLanguage[nCounter] = new fnObjectLanguage();

// -- START CONFIGURE ENGLISH LINKS AND LABELS
oLanguage[nENGLISH].urlLinks[0] = "index.htm";
oLanguage[nENGLISH].urlLinks[1] = "shop.htm";
oLanguage[nENGLISH].urlLinks[2] = "utils.htm";
oLanguage[nENGLISH].urlLinks[3] = "music.htm";
oLanguage[nENGLISH].urlLinks[4] = "games.htm";

//oLanguage[nENGLISH].urlLinks[7] = "";
//
oLanguage[nENGLISH].urlLabel[0] = "HOME";
oLanguage[nENGLISH].urlLabel[1] = "SHOP";
oLanguage[nENGLISH].urlLabel[2] = "UTILS";
oLanguage[nENGLISH].urlLabel[3] = "MUSIC";
oLanguage[nENGLISH].urlLabel[4] = "GAMES";

//oLanguage[nENGLISH].urlLabel[7] = "&nbsp;";
//
oLanguage[nENGLISH].urlFastLinks[0] = "index.htm";
oLanguage[nENGLISH].urlFastLinks[1] = "feedback.htm";
oLanguage[nENGLISH].urlFastLinks[2] = "links.htm";
//
oLanguage[nENGLISH].urlFastLabel[0] = "HOME";
oLanguage[nENGLISH].urlFastLabel[1] = "FEEDBACK";
oLanguage[nENGLISH].urlFastLabel[2] = "LINKS";


// -- END OF ENGLISH CONFIGURATION
//
// Initiate oSeaMonkey as the web pages entity object
oSeaMonkey.urlLinks = new Array();
oSeaMonkey.urlLabel = new Array();
oSeaMonkey.urlFastLinks = new Array();
oSeaMonkey.urlFastLabel = new Array();
// Fill the oSeaMonkey properties arrays with the selected language
for (nCounter = 0; nCounter < oLanguage[nSelectedLanguage].urlLinks.length; nCounter++)
	oSeaMonkey.urlLinks[nCounter] = oLanguage[nSelectedLanguage].urlLinks[nCounter];
//
for (nCounter = 0; nCounter < oLanguage[nSelectedLanguage].urlLabel.length; nCounter++)
	oSeaMonkey.urlLabel[nCounter] = oLanguage[nSelectedLanguage].urlLabel[nCounter];
//
for (nCounter = 0; nCounter < oLanguage[nSelectedLanguage].urlFastLinks.length; nCounter++)
	oSeaMonkey.urlFastLinks[nCounter] = oLanguage[nSelectedLanguage].urlFastLinks[nCounter];
	//
for (nCounter = 0; nCounter < oLanguage[nSelectedLanguage].urlFastLabel.length; nCounter++)
	oSeaMonkey.urlFastLabel[nCounter] = oLanguage[nSelectedLanguage].urlFastLabel[nCounter];	
//
//
//functions declarations
function goURL(sURL)
{
	//window.navigate(sURL);
	location.href = sURL;
}
function LinksUseBaseURL()
{
	// if this function is called,
	// the bUseBase variable will be used to complete the
	// link with the base URL (for ASP pages in other folders)
	sUseBase = sBaseURL;
}
function WriteNavigation()
{
	bIsNetscape = (isNN4 || isNS);
	
	if(bIsNetscape)
	{
		document.write("<table border='0' cellspacing='5'>");
	}
	
	//constructing menu
	for (nCounter = 1; nCounter < oSeaMonkey.urlLinks.length; nCounter++)
	{
		if(!bIsNetscape)
		{
			document.write("<span class = \"largebutton\" onclick = \"goURL('"+sUseBase+oSeaMonkey.urlLinks[nCounter]+"');\">"+oSeaMonkey.urlLabel[nCounter]+"</span><br>");
		}
		else
		{
			document.write("<tr><td bgcolor='#000077' height='60' width='140'>");
			document.write("<span class = \"largebutton\"><a href='"+sUseBase+oSeaMonkey.urlLinks[nCounter]+"'>"+oSeaMonkey.urlLabel[nCounter]+"</a></span>");
			document.write("</td></tr>");
		}
	}
	
	if(bIsNetscape)
	{
		document.write("</table>");
	}	
	
	document.write("<br>");
	WriteChatLink();
	
	return true;
}
function WriteTextNagivation()
{
	document.write("<center><div align='center' style='display:block; font-size:9pt; font-family: Verdana; font-weight: bold;background: #DDDDEE; border: 3px groove;'>");
	
	for (nCounter = 0; nCounter < oSeaMonkey.urlFastLinks.length; nCounter++)
		document.write("[&nbsp;<a href='"+sUseBase+oSeaMonkey.urlFastLinks[nCounter]+"'>"+oSeaMonkey.urlFastLabel[nCounter]+"</a>&nbsp;] ");

	document.writeln("<BR>");

	for (nCounter = 1; nCounter < oSeaMonkey.urlLinks.length; nCounter++)
		document.write("[&nbsp;<a href='"+sUseBase+oSeaMonkey.urlLinks[nCounter]+"'>"+oSeaMonkey.urlLabel[nCounter]+"</a>&nbsp;] ");
	
	document.write("</div></center>");
}
function WriteFooter()
{
	sTempString =  "<h5>";
	sTempString += "Send mail to <a href='mailto:giovanni@cardona.com'><span style='color: yellow;'>giovanni@cardona.com</span></a> with questions or comments about this web site.<br>";
	sTempString += "Web contents &copy;2005 Giovanni Cardona<br><br>";
	sTempString += "</h5>";
	//
	document.write(sTempString);
}
function WriteFastLinks()
{
	// this MUST be called first to initialize variables
	initDHTMLAPI();
	
	bIsNetscape = (isNN4 || isNS);
	
	document.write("<p>");
	
	if(bIsNetscape)
	{
		document.write("<table border='0' cellspacing='0' bgcolor='black'><tr>");
	}
	
	for (nCounter = 0; nCounter < oSeaMonkey.urlFastLinks.length; nCounter++)
	{
		if(!bIsNetscape)
		{	
			document.write("<span class = \"fastlinks\" onclick = \"goURL('"+sUseBase+oSeaMonkey.urlFastLinks[nCounter]+"');\">"+oSeaMonkey.urlFastLabel[nCounter]+"</span>");
		}
		else
		{
			document.write("<td>");
			document.write("<span class = \"fastlinks\"><a href='"+sUseBase+oSeaMonkey.urlFastLinks[nCounter]+"'>"+oSeaMonkey.urlFastLabel[nCounter]+"</a></span>");			
			document.write("</td>");			
		}		
	}

	if(bIsNetscape)
	{
		document.write("</tr></table>");
	}
	
	document.write("</p>");		
	document.write("<span style='position: absolute; margin-left: 500px;'><img src = 'gpx\/AmigaBall.gif' border = '0' alt='AmigaOne logo by Sven Harvey' onclick = 'window.external.AddFavorite(location.href, document.title);' alt='Add to Favorites!'   /></span>");
	
}

// ------------
function WriteAmazonSearch()
{
	//Netscape 4 has some serious issues with this Search Box...
	if (!isNN4)
	{
		sTempString = "";
		sTempString += "<form METHOD='get' ACTION='http://www.amazon.com/exec/obidos/external-search'>";
		sTempString += "<input type='hidden' name='tag' value='theseamonkeypage'>";
		sTempString += "<table BORDER='0' CELLPADDING='1' cellspacing='0' align='center' BGCOLOR='#000000'>";
		sTempString += "<tr><td><table BORDER='1' CELLPADDING='2' cellspacing='0' align='center' BGCOLOR='#FFFFFF'>";
		sTempString += "<tr BORDER='0'><td BGCOLOR='#FFFFFF' align='RIGHT' valign='middle'>";
		sTempString += "<span style='font-family: Verdana; color: red;'>Search:</span></td>";
		sTempString += "<td BGCOLOR='#FFFFFF' align='left' valign='middle'>";
		sTempString += "<select class='cssctrl' NAME='mode' size='1'>";
		sTempString += "<option VALUE='blended' selected>All Products </option>";
		sTempString += "<option VALUE='books' selected>Books </option>";
		sTempString += "<option VALUE='music'>Music </option>";
		sTempString += "<option VALUE='video'>Video </option>";
		sTempString += "<option VALUE='toys'>Toys </option>";
		sTempString += "<option VALUE='electronics'>Consumer Electronics </option>";
		sTempString += "<option VALUE='universal'>Home Improvement </option>";
		sTempString += "</select></td>";
		sTempString += "<td rowspan='2' VALIGN='middle' ALIGN='center' style='background: black;'>";
		sTempString += "<a href='http://www.amazon.com/exec/obidos/redirect-home/theseamonkeypage' target='_blank'>";
		sTempString += "<img SRC='100X30-b-logo.gif' BORDER='0' HSPACE='0' VSPACE='0' ALT='In Association with Amazon.com' width='100' height='30'></a>";
		sTempString += "</td></tr><tr BORDER='0'><td BGCOLOR='#FFFFFF' align='RIGHT' valign='middle'>";
		sTempString += "<span style='font-family: Verdana; color: black;'>Keywords:</span></td>";
		sTempString += "<td BGCOLOR='#FFFFFF' align='left' valign='middle'>";
		sTempString += "<input class='cssctrl' TYPE='text' NAME='keyword' SIZE='12' VALUE='Commodore Computer'>&nbsp;";
		sTempString += "<input class='csscmd' TYPE='submit' BORDER='0' VALUE='Go!' NAME='Search'></td>";
		sTempString += "</tr></table></td></tr></table></form>";
		//
		document.write(sTempString);
	}
	else
	{
		// lets give Netscape4 users a link to Amazon
		WriteAmazonDynamicBanner();
	}
}
function WriteAmazonDynamicBanner()
{
	document.write("<br clear='all'><center><iframe marginwidth='0' marginheight='0' width='468' height='60' scrolling='no' frameborder='0' src='http://rcm.amazon.com/e/cm?t=theseamonkeypage&l=st1&search=sea-monkey&mode=toys&p=13&o=1&bg1=0040a0&fc1=eeeeee&lc1=ccff66&lt1=_blank&f=ifr'><MAP NAME='boxmap-p13'><AREA SHAPE='RECT' COORDS='379, 50, 460, 57' HREF='http://rcm.amazon.com/e/cm/privacy-policy.html?o=1' target='main'><AREA COORDS='0,0,10000,10000' HREF='http://www.amazon.com/exec/obidos/redirect-home/theseamonkeypage' target='main'></MAP><img src='http://rcm-images.amazon.com/images/G/01/rcm/468x60.gif' width='468' height='60' border='0' usemap='#boxmap-p13' alt='Shop at Amazon.com'></iframe></center>");
}
// ------------
function defaultEvents(evt)
{
	//comenzar con return hasta que corrija el bug
	return true;
}
function followMe(evt)
{
	return true;

}

//SPONSORS CALLER
function fnTopSponsor()
{
	document.write("<script type='text\/javascript'>google_ad_client = 'pub-5001211387625078';google_ad_width = 728;google_ad_height = 90;google_ad_format = '728x90_as';google_ad_type = 'text_image';google_ad_channel ='9471116100';google_color_border = '000000';google_color_bg = 'F0F0F0';google_color_link = '0000FF';google_color_url = '008000';google_color_text = '000000';<\/script><script type='text\/javascript'  src='http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js'><\/script>");
}

function fnSMUSponsors(showAll)
{
	if(showAll == null)
	{
		//default is to show all
		showAll = true;
	}
	else
	{
		showAll = false;
	}

	document.write("<center><div align='center' id='sponsors' style='display:block; font-family: Verdana; font-size: 8pt; color: gray;'>");
	document.write("<a name='sponsors'><B>-- C64 MEMORIES SITE SPONSORS --</B></a><br clear='all'>");
	
	//mandatory links
	//WriteAmazonDynamicBanner();
	//WriteHorizontalAmazonBanner();
	WriteC64BannerExchange();
	
	
	document.write("<br clear='all'>");

	if(showAll)
	{
		//links to randomize
		//no en uso nov252005 - WriteVistaPrint(), WriteTrafficGJS()
		var strfnSponsor = new Array();
		strfnSponsor[0]="WriteEntEarthBanner();";
		strfnSponsor[1]="WritePayPalBanner();";
		strfnSponsor[2]="WriteLinkExchangeBanner();";
		strfnSponsor[3]="WriteBigHitsBanner();";
		strfnSponsor[4]="WriteAmazonHorizontalCreditCard();";
		strfnSponsor[5]="MegaTraffic();";
		strfnSponsor[6]="WriteClixGaloreTextLink();";
		strfnSponsor[7]="WriteC64Ring();";
		strfnSponsor[8]="TrafficG();";
		strfnSponsor[9]="WriteeBayBanner();";
		strfnSponsor[10]="HoroscopeBanner();";
		strfnSponsor[11]="WriteHotTopicBanner();";

		
		//loop the banners and decide which one to display at random
		for(i=0; i != strfnSponsor.length; i++)
		{
			if((Math.round(Math.random()*5))==3)
			{
				eval(strfnSponsor[i]);
			}
		}
	}
	document.write("<br clear='all'><br>");
	document.write("<small><i>-- Note: Please write me if you have any questions about our sponsors --</i></small>");	
	document.write("</div></center>");
}
//sponsors functions
function WriteLinkExchangeBanner()
{
	document.write("<br clear='all'>");
	document.write("<iframe src = 'http://leader.linkexchange.com/X1745068/showiframe?' width = '468' height = '60' marginwidth = '0' marginheight = '0' hspace = '0' vspace = '0' frameborder = '0' scrolling = 'no'>");
	document.write("<a href = 'http://leader.linkexchange.com/X1745068/clickle' target = '_blank'><img width = '468' height = '60' border = '0' ismap alt = '' src = 'http://leader.linkexchange.com/X1745068/showle?'></a></iframe><br><a href = 'http://leader.linkexchange.com/X1745068/clicklogo' target = '_blank'><img src = 'http://leader.linkexchange.com/X1745068/showlogo?' width = '468' height = '16' border = '0' ismap alt = ''></a>");
}

function WritePayPalBanner()
{
	document.write("<br clear='all'><A HREF = 'https://www.paypal.com/us/mrb/pal=UFCA6BQTU46RQ' target = '_blank'><IMG SRC = 'http://images.paypal.com/images/paypal_mrb_banner.gif' BORDER = '0' ALT = 'Sign up for PayPal and start accepting credit card payments instantly.'></A>");
}
function WriteBigHitsBanner()
{
	document.write("<br clear='all'><A HREF = 'http://bounty.bighits.net/bads.pl?advert=NonSSI&page=01'><IMG SRC = 'http://bounty.bighits.net/bads.pl?ID=10656957&page=01' HEIGHT = '60' WIDTH = '460' ALT = 'BigHits' border = '0'></A>");
}
function WriteClixGaloreTextLink()
{
	document.write("<br clear='all'><!-- Begin clixGalore Code--><A href='http://www.clixGalore.com/PSale.aspx?BID=16952&AfID=90067&AdID=26'><img src='http://www.is1.clixgalore.com/cgd.aspx?BID=16952&AfID=90067&AdID=26' border='0' height='60' width='468'></A><!-- End clixGalore Code-->");
}
function WriteScienceStoreBanner()
{
	return;
}
function WriteChatLink()
{
	document.write("<a href=\"#\" onClick=\"childwin = window.open('http://www.amazon.com/exec/obidos/redirect?tag=theseamonkeypage&path=dt/assoc/tg/chat/age-verification/-/171280/true/588990/ref=br_chat_cc_av_e/', '', 'width=392,height=490'); childwin.opener = window;\">");
	document.write("<span style='font-size: 7pt; font-family: Comic Sans MS; font-weight: bold; display: block; text-decoration: none; text-align: center;'>Enter<br>My 64k Memories<br>Chat&nbsp;Room</span>");
	document.write("</a>");
}
function WriteC64BannerExchange()
{
	document.write("<!-- Begin The C64 Banner Exchange Code --><BR clear='all'><BR><CENTER><A HREF='http://scenebanner.net/c64/ads.pl?member=the_menace;banner=NonSSI;page=01' TARGET='_blank'><IMG SRC='http://scenebanner.net/c64/ads.pl?member=the_menace;page=01' WIDTH=400 HEIGHT=40 ALT='The C64 Banner Exchange' BORDER=0></A><BR><SMALL><A HREF='http://scenebanner.net/c64/' TARGET='_blank'>The C64 Banner Exchange</A></SMALL></CENTER><!-- End The C64 Banner Exchange Code -->");
}
function WriteC64Ring()
{
	document.write("<br clear='all'><script language=javascript type='text/javascript' src='http://ss.webring.com/navbar?f=j;y=the_menace;u=defurl'></script>");
}
function WriteHorizontalAmazonBanner()
{
	document.write("<br clear='all'><iframe marginwidth='0' marginheight='0' width='468' height='60' scrolling='no' frameborder='0' src='http://rcm.amazon.com/e/cm?t=theseamonkeypage&l=bn1&mode=books&p=13&o=1&browse=5&bg1=0040a0&fc1=eeeeee&lc1=ccff66&lt1=_blank&f=ifr'><MAP NAME='boxmap-p13'><AREA SHAPE='RECT' COORDS='379, 50, 460, 57' HREF='http://rcm.amazon.com/e/cm/privacy-policy.html?o=1' target='main'><AREA COORDS='0,0,10000,10000' HREF='http://www.amazon.com/exec/obidos/redirect-home/theseamonkeypage' target='main'></MAP><img src='http://rcm-images.amazon.com/images/G/01/rcm/468x60.gif' width='468' height='60' border='0' usemap='#boxmap-p13' alt='Shop at Amazon.com'></iframe>");
}
function WriteVerticalAmazonKeywordBanner(p1,p2)
{
	document.write("<iframe marginwidth = '0' marginheight = '0' width = '120' height = '450' scrolling = 'no' frameborder = '0' src = 'http://rcm.amazon.com/e/cm?t=theseamonkeypage&l=st1&search="+p1+"&mode="+p2+"&p=10&o=1&bg1=ffffff&fc1=000000&lc1=0000dd&lt1=_blank&f=ifr'><MAP NAME = 'boxmap-p10'><AREA SHAPE = 'RECT' COORDS = '14, 440, 106, 450' HREF = 'http://rcm.amazon.com/e/cm/privacy-policy.html?o=1' target = main><AREA COORDS = '0,0,10000,10000' HREF = 'http://www.amazon.com/exec/obidos/redirect-home/theseamonkeypage' target = main></MAP><img src = 'http://rcm-images.amazon.com/images/G/01/rcm/120x450.gif' width = '120' height = '450' border = '0' usemap = '#boxmap-p10' alt = 'Shop at Amazon.com'></iframe>");
}
function WriteAmazonCreditCard()
{
	document.write("<iframe src='http://rcm.amazon.com/e/cm?t=theseamonkeypage&o=1&p=29&l=dl1&f=ifr&f=ifr' width='120' height='600' scrolling='no' border='0' frameborder='0' style='border:none;'></iframe>");
}
function WriteAmazonHorizontalCreditCard()
{
	document.write("<br clear='all'><iframe src='http://rcm.amazon.com/e/cm?t=theseamonkeypage&o=1&p=26&l=dl1&f=ifr&f=ifr' width='468' height='60' scrolling='no' border='0' frameborder='0' style='border:none;'></iframe>");
}

function WriteGoogleHorizontalBanner(gchannel)
{
	if(gchannel == null)
	{
		// 3086002494 (sea-monkey uncle site)
		// 9471116100 (commodore site)		
		gchannel = "9471116100";
	}	
	
	document.write("<script type = 'text/javascript'> google_ad_client = 'pub-5001211387625078'; google_ad_width = 468; google_ad_height = 60; google_ad_format = '468x60_as'; google_ad_type = 'text'; google_ad_channel ='"+ gchannel +"'; google_color_border = 'B4D0DC'; google_color_bg = 'ECF8FF'; google_color_link = '0000CC'; google_color_url = '008000'; google_color_text = '6F6F6F'; </script><script type = 'text/javascript' src = 'http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>");
}
function WriteGoogleSearch()
{
	//Note: different for each site
	document.write("<!-- Search Google --><center><form method='get' action='http://www.google.com/custom' target='google_window'><table bgcolor='#dddddd'><tr><td nowrap='nowrap' valign='top' align='left' height='32'><a href='http://www.google.com/'><img src='http://www.google.com/logos/Logo_25wht.gif' border='0' alt='Google' align='middle'></img></a><input type='text' name='q' size='31' maxlength='255' value=''></input><input type='submit' name='sa' value='Search'></input><input type='hidden' name='client' value='pub-5001211387625078'></input><input type='hidden' name='forid' value='1'></input><input type='hidden' name='channel' value='1263668585'></input><input type='hidden' name='ie' value='windows-1252'></input><input type='hidden' name='oe' value='windows-1252'></input><input type='hidden' name='safe' value='active'></input><input type='hidden' name='cof' value='GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC:D03500;AH:center;BGC:99CCFF;LBGC:CCE5F9;ALC:440066;LC:440066;T:336699;GFNT:223472;GIMP:223472;LH:48;LW:46;L:http://giovanni.cardona.com/c64/gpx/gui/commodore.gif;S:http://giovanni.cardona.com/c64/index.htm;LP:1;FORID:1;'></input><input type='hidden' name='hl' value='en'></input></td></tr></table></form></center><!-- Search Google -->");
}

function WriteVistaPrint()
{
	//no en uso
	document.write("<p align='center'><A href='http://www.clixGalore.com/Sale.aspx?BID=9813&AfID=90067&AdID=1680'><img src='http://www.is1.clixgalore.com/cgd.aspx?BID=9813&AfID=90067&AdID=1680' border='0' height='60' width='468'></A><br><a href='http://www.clixGalore.com/default.asp' target='_new'><img src='http://www.cliximages.com/images/clixgalore/clixfooter.gif' border='0'></a></p>");
}
function MegaTraffic()
{
	document.write("<br clear='all'><a href='http:\/\/megatraffic.biz?r=59487'><img border='0' src='http:\/\/megatraffic.biz\/images\/banner.gif'></a>");
}

function TrafficG()
{
	document.write("<br clear='all'><A HREF='http:\/\/trafficg.com\/?member=mambo966' TARGET='_blank'><IMG SRC='http:\/\/trafficg.com\/banner\/banner_12.gif' BORDER=0><\/A>");
}
function WriteTrafficGJS()
{
	//no en uso
	document.write("<br clear='all'><script language='javascript'>mem = '20595';<\/script><script src='http:\/\/www.trafficg.com\/trafficg.js'><\/script><script src='http:\/\/www.trafficg.com\/trafficg2.js'><\/script>");
}
function HoroscopeBanner()
{
	document.write("<br clear='all'><A href='http:\/\/www.clixGalore.com\/PSale.aspx?BID=31294&AfID=90067&AdID=4449'><img src='http:\/\/www.is1.clixgalore.com\/cgd.aspx?BID=31294&AfID=90067&AdID=4449' border='0' height='60' width='468'><\/A><br><a href='http:\/\/www.clixGalore.com\/default.asp' target='_new'><img src='http://www.cliximages.com/images/clixgalore/clixfooter.gif' border='0'></a>");
}

function WriteeBayBanner()
{
	document.write("<p align='center'>");
	document.write("<a href='http:\/\/www.kqzyfj.com\/click-1764569-5900367' target='_blank' onmouseover='window.status=\"http:\/\/affiliates.ebay.com\";return true;' onmouseout='window.status=\" \";return true;'>");
	document.write("<img src='http:\/\/www.afcyhf.com\/image-1764569-5900367' width='468' height='60' alt='Find great deals at eBay!' border='0'><\/a>");
	document.write("<\/p>");	
}

 function WriteeBayHBanner(keyw)
{
	if (keyw == null) keyw = "%22commodore%22+(amiga%2cc64)";
	document.write(" <p align='center'><script language='JavaScript' src='http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=mv%7eqva%21t*%26+&bdrcolor=FFCC00&cid=0&eksize=3&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=3&num=25&numbid=y&paypal=n&popup=y&prvd=1&query="+keyw+"&r0=4&shipcost=n&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=1764569&width=570'></script></p>");
}

 function WriteHotTopicBanner()
{
	document.write("<br clear='all'><a href=\"http:\/\/www.jdoqocy.com/2i108gv30v2IKQPNOPSINKRMMKS\" target=\"_blank\" onmouseover=\"window.status='http:\/\/www.hottopic.com';return true;\" onmouseout=\"window.status=' ';return true;\"><img src=\"http:\/\/www.lduhtrp.net/6j117fz2rxvGIONLMNQGLIPKKIQ\" alt=\"Hot Topic! Click here!\" border=\"0\"><\/a>");
}

 function WriteIX120()
{
	document.write("<p align='center'>");
	                           document.write("<a href=\"http:\/\/www.kqzyfj.com\/ff108gv30v2IKQPNOPSIKJMSLRSJ\"  target=\"_blank\" onmouseover=\"window.status='http:\/\/www.ixwebhosting.com';return true;\" onmouseout=\"window.status=' ';return true;\"><img src=\"http:\/\/www.ftjcfx.com\/15106wquiom79FECDEH798BHAGH8\" alt=\"IXWEBHOSTING\" border=\"0\"><\/a>");
	document.write("<\/p>");		
}

 function WriteEntEarthBanner()
{
	document.write("<p align='center'><a href=\"http:\/\/www.dpbolvw.net\/ci108kjspjr68EDBCDG687ADBFB9\" target=\"_blank\" onmouseover=\"window.status='http:\/\/www.entertainmentearth.com';return true;\" onmouseout=\"window.status=' ';return true;\"><img src=\"http:\/\/www.lduhtrp.net\/pb115elpdjh24A9789C243697B75\" alt=\"Star Wars Saga at Entertainment Earth!\" border=\"0\"><\/a><\/p>");
}