function OurSites() {
document.write("<center>");
document.write("<form style='margin-bottom:7; margin-top:5;'  method='post' action='http://publisher-one.com/redirect/sites.cgi'>");
document.write("<SELECT NAME='sites'>");
document.write("<OPTION SELECTED VALUE='oops'>Our Other Sites");
document.write("<OPTION VALUE='publisher'>--------------");
document.write("<OPTION VALUE='publisher'>Publisher-For-You.com");
document.write("<OPTION VALUE='newsletters'>Newsletters-For-You.com");
document.write("<OPTION VALUE='discuss'>Discussion-For-You.com");
document.write("<OPTION VALUE='publisher'>--------------");
document.write("<OPTION VALUE='widgets'>Widgets-For-You.com");
document.write("<OPTION VALUE='income'>Income-For-You.com");
document.write("<OPTION VALUE='bookkeeper'>Bookkeeper-For-You.com");
document.write("<OPTION VALUE='whois'>Whois-For-You.com");
document.write("<OPTION VALUE='affiliate'>Affiliate-Programs-For-You.com");
document.write("<OPTION VALUE='publisher'>--------------");
document.write("<OPTION VALUE='nature'>Nature-Talk.com");
document.write("<OPTION VALUE='weather'>Weather-For-You.com");
document.write("<OPTION VALUE='squirrels'>Squirrels-For-You.com");
document.write("<OPTION VALUE='publisher'>--------------");
document.write("<OPTION VALUE='krishnamurti'>Krishnamurti-For-You.com");
document.write("<OPTION VALUE='tanny'>Tanny.com");
document.write("</SELECT>&nbsp;<input type='submit' name='Submit' value='Go!'>"); 
document.write("</form>");
document.write("</center>");
} 



function SetCookie() {
if(arguments.length < 2) { return; }
var n = arguments[0];
var v = arguments[1];
var d = 0;
if(arguments.length > 2) { d = parseInt(arguments[2]); }
var exp = '';
if(d > 0) {
	var now = new Date();
	then = now.getTime() + (d * 24 * 60 * 60 * 1000);
	now.setTime(then);
	exp = '; expires=' + now.toGMTString();
	}
document.cookie = n + "=" + escape(String(v)) + '; path=/' + exp;
} // function SetCookie()







function ReadCookie(n) {
var cookiecontent = new String();
if(document.cookie.length > 0) {
	var cookiename = n+ '=';
	var cookiebegin = document.cookie.indexOf(cookiename);
	var cookieend = 0;
	if(cookiebegin > -1) {
		cookiebegin += cookiename.length;
		cookieend = document.cookie.indexOf(";",cookiebegin);
		if(cookieend < cookiebegin) { cookieend = document.cookie.length; }
		cookiecontent = document.cookie.substring(cookiebegin,cookieend);
		}
	}
return unescape(cookiecontent);
} // function ReadCookie()








/*

Correctly handle PNG transparency in Win IE 5.5 and 6.
http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2005.

Use in <HEAD> section with DEFER keyword
wrapped in conditional comments thus: 

    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->

This extended version includes imagemap and input image functionality.
It also requires a 1px transparent GIF.
 
*/


var strGif = "http://publisher-one.com/controls/transparentpixel.gif"
var strFilter = "progid:DXImageTransform.Microsoft.AlphaImageLoader"
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

if ((version >= 5.5) && (document.body.filters)) 
{
	for(var i=0; i<document.images.length; i++)
	{
	   var img = document.images[i]
	   var imgName = img.src.toUpperCase()
	   if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	   {
		  var imgID = (img.id) ? "id='" + img.id + "' " : ""
		  var imgClass = (img.className) ? "class='" + img.className + "' " : ""
		  var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
		  var imgStyle = "display:inline-block;" + img.style.cssText 
		  if (img.align == "left") imgStyle = "float:left;" + imgStyle
		  if (img.align == "right") imgStyle = "float:right;" + imgStyle
		  if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
		  if (img.useMap)
		  {  
			 strAddMap = "<img style=\"position:relative; left:-" + img.width + "px;"
			 + "height:" + img.height + "px;width:" + img.width +"\" "
			 + "src=\"" + strGif + "\" usemap=\"" + img.useMap 
			 + "\" border=\"" + img.border + "\">"
		  }
		  var strNewHTML = "<span " + imgID + imgClass + imgTitle
		  + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
		  + "filter:" + strFilter
		  + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
		  if (img.useMap) strNewHTML += strAddMap
		  img.outerHTML = strNewHTML
		  i = i-1
	   }
	}

   for(i=0; i < document.forms.length; i++) findImgInputs(document.forms(i))
}

function findImgInputs(oParent)
{
   var oChildren = oParent.children
   if (oChildren)
   {
      for (var i=0; i < oChildren.length; i++ )
      {
         var oChild = oChildren(i)
         if ((oChild.type == 'image') && (oChild.src))
         {
             var origSrc = oChild.src
             oChild.src = strGif
             oChild.style.filter = strFilter + "(src='" + origSrc + "')"
         }
         findImgInputs(oChild)
      }
   }
}
	