/*
Generic routines for the Sea-Monkey.com web site
(c)2006 by Giovanni@Cardona.com
*/
function WriteTables()
{
	/*
	var txtTitle = "SEA-MONKEY&reg; CLUB";
	var txtText = "<img src=\'http://www.sea-monkeys.com/images/smclub.jpg\'>";
	var txtReadMore = "http:\/\/groups.yahoo.com\/group\/theseamonkeyclubhouse\/";
	WriteTable(txtTitle,txtText,txtReadMore);
	*/
	return true;
}
//
function WriteNewsTable()
{
/*
	var txtTitle = "SEA-MONKEY&reg; NEWS";
	var txtText = "We no longer have an ecommerce connection. You can find pouch &amp; accessory reorder information [<a href=\'http:\/\/www.sea-monkeys.com\/html\/shoponline\/mailorder\/MailOrder.html\'>here</a>].";	
	var txtReadMore = "http:\/\/www.sea-monkeys.com\/html\/news\/news_april.html";
	WriteTable(txtTitle,txtText,txtReadMore);
*/
	var txtTitle = "LOOKING FOR AN ANSWER?";
	var txtText = ""
	+ "<form method='get' action='http:\/\/www.google.com\/custom' target='google_window'>"
	+ "<input type='hidden' name='domains' value='www.sea-monkeys.com'><\/input>"
	+ "<input type='hidden' name='sitesearch' value='www.sea-monkeys.com'><\/input>"
	+ "<input type='hidden' name='client' value='pub-5001211387625078'><\/input>"
	+ "<input type='hidden' name='forid' value='1'><\/input>"
	+ "<input type='hidden' name='channel' value='9549811475'><\/input>"
	+ "<input type='hidden' name='ie' value='ISO-8859-1'><\/input>"
	+ "<input type='hidden' name='oe' value='ISO-8859-1'><\/input>"
	+ "<input type='hidden' name='safe' value='active'><\/input>"
	+ "<input type='hidden' name='flav' value='0000'><\/input>"
	+ "<input type='hidden' name='sig' value='4sPDkD4gf55PU34E'><\/input>"
	+ "<input type='hidden' name='cof' value='GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:615;L:http:\/\/www.sea-monkeys.com/images/bannersearchresults.gif;S:http:\/\/www.sea-monkeys.com;FORID:1;'><\/input>"
	+ "<input type='hidden' name='hl' value='en'><\/input>"
	+ "<br \/>Search our site:<br \/><br \/>"
	+ "<input type='text' name='q' size='21' maxlength='128' value='' style='"
	+ "border: 1px solid #000000;"
	+ "background-color: #EEFFEE;"
	+ "font-family: Geneva, Arial;"
	+ "font-size: 9pt;"
	+ "color: #000000;"
	+ "font-weight: bold;"	
	+ "'><\/input>"
	+ "<br \/><br \/><input type='submit' name='sa' value='GOOGLE SEARCH' style='"
	+ "border: 1px outset #CCCCCC;"
	+ "font-family: Verdana, Arial;"
	+ "font-size: 7pt;"
	+ "color: #000000;"
	+ "background-color: #AACCEE;"
	+ "font-weight: bold;"		
	+ "width: 108px;"
	+ "'><\/input>"
	+ "</form><!-- SiteSearch Google -->";
	WriteTable(txtTitle,txtText,null);
	return true;
}
//
function WriteTable(ttitle,texto,readmore)
{
document.write("<!-- BEGIN  TABLE -->");
document.write("<BR CLEAR=\'ALL\' \/>");
document.write("<DIV align=\'center\' style=\'display:block;\'>");
document.write("<table width=\'194\' border=\'0\' align=\'left\' cellpadding=\'0\' cellspacing=\'0\'>");
document.write("<tr>");
document.write("<td width=\'32\' height=\'32\' align=\'right\' valign=\'top\' bgcolor=\'#2D9946\'><img src=\'http:\/\/www.sea-monkeys.com\/html\/gpx\/mvtop_logo.gif\' width=\'32\' height=\'32\' hspace=\'0\' vspace=\'0\' border=\'0\'><\/td>");
document.write("<td width=\'162\' height=\'32\'  align=\'left\' valign=\'middle\' background=\'http:\/\/www.sea-monkeys.com\/html\/gpx\/mvtop_castle.gif\' bgcolor=\'#2D9946\'>");
document.write("<div align=\'right\' class=\'mvtopstyle\'>"+ttitle+"<\/div><\/td>");
document.write("<\/tr>");
document.write("<\/table><br clear=\'all\'\/>");
document.write("<!-- begin inner news content -->");
document.write("<table width=\'194\' border=\'0\' align=\'left\' cellpadding=\'0\' cellspacing=\'0\'>");
document.write("<tr>");
document.write("<td width=\'194\' align=\'right\' valign=\'middle\' class=\'newscolumn\'><div align=\'center\'>");
document.write("<table width=\'194\' border=\'0\' align=\'center\' cellpadding=\'0\' cellspacing=\'0\' id=\'innerNews\'>");
document.write("<tr>");
document.write("<td width=\'194\' align=\'center\' valign=\'middle\'>");
document.write(texto);
document.write("<\/td><\/tr>");
	if (readmore)
	{
		document.write("<tr><td>&nbsp;<\/td><\/tr>");		
		document.write("<tr><td align=\'right\'><div align=\'right\'><a href=\'"+readmore+"\'><span class=\'readmorelink\'>READ MORE...<\/span><\/a><\/div><\/td><\/tr>");
	}
document.write("<\/table>");	
document.write("<!-- end nested news content -->");
document.write("          <\/td>");
document.write("      <\/tr>");
document.write("    <\/table>");
document.write("	<\/DIV>");
document.write("<!-- END TABLE -->");
return true;
}