<!--
var RMRunCheck = 'http://images.traderonline.com/img/rm_on.gif';
bAllowRealMedia = true;
var imageChecker = new Image();

function RMnoShow() {
 bAllowRealMedia = false;
}

imageChecker.onerror = RMnoShow;
imageChecker.src = RMRunCheck;

var oas='http://ads.traderonline.com/RealMedia/ads/';
var RN = new String (Math.random());
var RNS = RN.substring (2,11);
 
	var oas='http://ads.traderonline.com/RealMedia/ads/';
	var sitepage="www.parenthood.com";
 
 

	
function DisplayAds(page, sitepage, category, location, keywords, position, width , height) { 
	var oaspage = sitepage + page + '/1' + RNS + '@' + position + '?' + category + location + keywords;	 	
	if (bAllowRealMedia == true) {
	   if ( _version < 11 ) {
// 			document.write ('<a href="' + oas + 'adstream_nx.ads/' + oaspage + '" target="_top"><img src="' + oas + 'adstream_rx.cgi/' + oaspage + '" border="0" width="' + width + '" height="' + '"></a>');
		document.write ('<a href="' + oas + 'adstream_nx.ads/' + oaspage + '" target="_top"><img src="' + oas + 'adstream_nx.ads/' + oaspage + '" border="0" width="' + width + '" height="' + '"></a>');
	   }else {
		document.write ('<script language="JavaScript1.1" src="' + oas + 'adstream_jx.ads/' + oaspage + '">');
		document.write ('\<\!-- --\>');
		document.write ('\<\/script\>');
		document.write ('\<\!-- --\>');			
	   }
	}
}


var TheBrowserName = navigator.appName;
var TheBrowserVersion = parseFloat(navigator.appVersion);

function tdOn(td, location){	//  usage  --  <td onMouseOver="tdOn(this,'#this_title#')" onMouseDown="document.location='#this_url#';" onMouseOut="tdOff(this,'')" title="#this_title#"><a href="#this_url#">this</a></td>
	td.style.backgroundColor="#ffffff";
	if ((TheBrowserName == 'Netscape') && (TheBrowserVersion >= 5)){	// equivalent to style="cursor:pointer;cursor:hand;"
		td.style.cursor="pointer";
	}else{
		td.style.cursor="hand";
	}
 	window.status=location;
}

function tdOff(td, location){	//  usage  --  <td onMouseOver="tdOn(this,'#this_title#')" onMouseDown="document.location='#this_url#';" onMouseOut="tdOff(this,'')" title="#this_title#"><a href="#this_url#">this</a></td>
	td.style.backgroundColor="#e3def6";
	td.style.cursor="default";
	window.status=location;
}

function rolloverImage(cellName, imageName){	// usage  --  <a href="/x.html" onMouseOver="rolloverImage('cfir_1','x_on.gif')" onMouseOut="rolloverImage('cfir_1','x.gif')"><img name="cfir_1" src="x.gif" width="1" height="1" border="0" alt="" /></a>
	if(document.images){
		document[cellName].src = imageName;
	}
}

function ResetForm(formname){	//  usage  --  href="javascript:ResetForm('formname');"
	document.forms[formname].reset();
}

function SubmitForm(formname){	//  usage  --  href="javascript:SubmitForm('formname');"
	document.forms[formname].submit();
}

function imgSwap(theImage){
	theImage.src = 'http://images.traderonline.com/img/phw/spacer.gif';
}	

function needImg(theImage){
	theImage.src = 'http://images.traderonline.com/img/generic/no_photo_avail.gif';
}	


function ShowMouseOver(td){	//  usage  --  <td onMouseOver="ShowMouseOver(this)" onMouseDown="document.location='#this_url#';" title="#this_title#"><a href="#this_url#">this</a></td>
	if ((TheBrowserName == 'Netscape') && (TheBrowserVersion >= 5)){	// equivalent to style="cursor:pointer;cursor:hand;"
		td.style.cursor="pointer";
	}else{
		td.style.cursor="hand";
	}
 	window.status=location;
}

var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	for (var i = 0; i < words.length; ++i) {
		if (isNaN(parseInt(words[i])))
			continue;
		var MM_PluginVersion = words[i]; 
	}
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	FlashMode = 0;
	if (navigator.plugins && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash"]) {
			var plugin_version = 0;
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i) {
				if (isNaN(parseInt(words[i])))
					continue;
				plugin_version = words[i];
			}
			if (plugin_version >= 6) {
				var plugin = navigator.plugins["Shockwave Flash"];
				var numTypes = plugin.length;
				for (j = 0; j < numTypes; j++) {
					mimetype = plugin[j];
					if (mimetype) {
						if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1)) // Mac wierdness
							FlashMode = 1;
						if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
							FlashMode = 0;
					}
				}
			}
		}
	}
	if (FlashMode == 1)
		var MM_FlashCanPlay = true;
	else
		var MM_FlashCanPlay = false;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}

function GetFlashPluginPopup() {
	var WinVars = 'width=590,height=400,toolbar=no,menubar=no,resizable=no,scrollbars=no';	
	if ( !MM_FlashCanPlay ) {
		ImageWindow = window.open('', 'UpgradeYourFlash', WinVars);
		ImageWindow.document.write('<HTML>\n<HEAD><TITLE>ParentHood.com  PLEASE UPGRADE YOUR FLASH PLUGIN</TITLE>\n');
		ImageWindow.document.write('<SCR' + 'IPT LANGUAGE=JavaScr' + 'ipt1.1\>\n func' + 'tion GoThere() { window.open(' + '"http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English", "UpgradingYourFlash"' + '); window.close(' + '); }\n </SCR' + 'IPT\> </HEAD>\n');
		ImageWindow.document.write('<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">\n');
		ImageWindow.document.write('<div align="center"><a href="javascr' + 'ipt:GoThere();"> \n <img src="http://images.traderonline.com/phw/upgradeflashplugin_590x400.gif" width="590" height="400" border="0" alt="upgrade to flash 6!" /></a></div>\n');
		ImageWindow.document.write('</body>\n</HTML>\n');
		ImageWindow.document.close();
	}
}


function openWin( windowURL, windowName, windowFeatures ) { 
	myWindow =  window.open( windowURL, windowName, windowFeatures ) ; 
	return myWindow;
}

function doPreview(filename,caption){    
  var Img = new Image();  
  myWindow  = openWin('preview.html','Preview','width=350, height=600, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes');
 /* if (navigator.appName == "Netscape"){
    myWindow.document.write("Previews do not work in Netscape.");
  }else{ */
    Img.src = filename;
/*	ORIGINAL CODE WITH YELLOW BORDER
	myWindow.document.write("<table border='0' cellpadding='0' cellspacing='0' align='center'>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-top-left.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-top.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-top-right.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-left.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("<td style='background-color:#FFE489;'>");
    myWindow.document.write("<table border=0><tr><td>");	
    myWindow.document.write("<img src='" + filename + "' alt='" + caption + "' width='300'>");
    myWindow.document.write("<br><br><br>");			    	
    myWindow.document.write("<b>" + caption + "</b>");
    myWindow.document.write("<br><br><br>");
    myWindow.document.write("<input type=button value='Submit' onclick='opener.document.forms[0].uploadbutton.value=1;opener.document.forms[0].submit();self.close();'>");
    myWindow.document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");		
    myWindow.document.write("<input type=button value='Return to entry page' onclick='self.close();'>");	
    myWindow.document.write("</td></tr></table>");
	myWindow.document.write("</td>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-right.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-bottom-left.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td height='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-bottom.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-bottom-right.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("</table>");*/

//	THIS CODE LEAVES THE BORDERS AS WHITE USING SPACER.GIF
	myWindow.document.write("<table border='0' cellpadding='0' cellspacing='0' align='center'>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("<td style='background-color:#FFFFFF;'>");
    myWindow.document.write("<table border=0><tr><td>");	
    myWindow.document.write("<img src='" + filename + "' alt='" + caption + "' width='300'>");
    myWindow.document.write("<br><br><br>");			    	
    myWindow.document.write("<b>" + caption + "</b>");
    myWindow.document.write("<br><br><br>");
    myWindow.document.write("<input type=button value='Submit' onclick='opener.document.forms[0].uploadbutton.value=1;opener.document.forms[0].submit();self.close();'>");
    myWindow.document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");		
    myWindow.document.write("<input type=button value='Return to entry page' onclick='self.close();'>");	
    myWindow.document.write("</td></tr></table>");
	myWindow.document.write("</td>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td height='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("</table>");
// }	
 return false;
}

function showWinner(filename,caption){    
  var Img = new Image();  
  myWindow  = openWin('preview.html','Preview','width=350, height=600, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes');
 /* if (navigator.appName == "Netscape"){
    myWindow.document.write("Previews do not work in Netscape.");
  }else{ */
    Img.src = filename;
/*	ORIGINAL CODE WITH YELLOW BORDER
	myWindow.document.write("<table border='0' cellpadding='0' cellspacing='0' align='center'>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-top-left.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-top.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-top-right.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-left.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("<td style='background-color:#FFE489;'>");
    myWindow.document.write("<table border=0><tr><td>");	
    myWindow.document.write("<img src='" + filename + "' alt='" + caption + "' width='300'>");
    myWindow.document.write("<br><br><br>");			    	
    myWindow.document.write("<b>" + caption + "</b>");
    myWindow.document.write("<br><br><br>");
    myWindow.document.write("<input type=button value='Submit' onclick='opener.document.forms[0].uploadbutton.value=1;opener.document.forms[0].submit();self.close();'>");
    myWindow.document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");		
    myWindow.document.write("<input type=button value='Return to entry page' onclick='self.close();'>");	
    myWindow.document.write("</td></tr></table>");
	myWindow.document.write("</td>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-right.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-bottom-left.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td height='13' style='background-image:url(http://images.traderonline.com/img/phw/rounded-tile-bottom.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/rounded-corner-bottom-right.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("</table>");*/

//	THIS CODE LEAVES THE BORDERS AS WHITE USING SPACER.GIF
	myWindow.document.write("<table border='0' cellpadding='0' cellspacing='0' align='center'>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("<td style='background-color:#FFFFFF;'>");
    myWindow.document.write("<table border=0><tr><td>");	
    myWindow.document.write("<img src='" + filename + "' alt='" + caption + "' width='300'>");
    myWindow.document.write("<br><br><br>");			    	
    myWindow.document.write("<b>" + caption + "</b>");
    myWindow.document.write("<br><br><br>");
//    myWindow.document.write("<input type=button value='Submit' onclick='opener.document.forms[0].uploadbutton.value=1;opener.document.forms[0].submit();self.close();'>");
//    myWindow.document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");		
//    myWindow.document.write("<input type=button value='Return to entry page' onclick='self.close();'>");	
    myWindow.document.write("</td></tr></table>");
	myWindow.document.write("</td>");
	myWindow.document.write("<td width='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-y;'></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("<tr>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("<td height='13' style='background-image:url(http://images.traderonline.com/img/phw/spacer.gif); background-repeat:repeat-x;'></td>");
	myWindow.document.write("<td width='13'><img src='http://images.traderonline.com/img/phw/spacer.gif' width='13' height='13' alt='' /></td>");
	myWindow.document.write("</tr>");
	myWindow.document.write("</table>");
// }	
 return false;
}
/*19APR05 Below was added for the TopLinks Dropdown Menus charles.howard@traderonline.com*/ 
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
	if (!((TheBrowserName == 'Netscape') && (TheBrowserVersion < 5))) {
		var i,p,v,obj,args=MM_showHideLayers.arguments;
		for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
			if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
			obj.visibility=v; }
	}
}
/* 5/06 Below added because of Flash problems with lawsuit Microsoft lost - Fixes IE Flash Problems */
function BabyNamesTease(teaserTitle, flashObject, flashDimensions){
	document.write('<div style="padding-bottom:12px;margin-top:12px;margin-left:12px;margin-bottom:0px;padding-bottom:0px;width:166px;height:178px;text-align:center;" title="'+teaserTitle+'" align="center"><object type="application/x-shockwave-flash" data="'+flashObject+'" ');
	document.write('	'+flashDimensions+'>');
	document.write('	<param name="movie" value="'+flashObject+'" />');
	document.write('</object></div>');
}

function PHTopNavigation(imageroot, flashParams){
	document.write('<object type="application/x-shockwave-flash" data="'+imageroot+'swf/phflashnavtop_v8.swf'+flashParams+'" width="775" height="50">');
	document.write('	<param name="movie" value="'+imageroot+'swf/phflashnavtop_v8.swf'+flashParams+'" />');
	document.write('	<param name=menu VALUE=false />');
	document.write('</object>');
}

function PHTopNavTurnkey(){
	document.write('<object type="application/x-shockwave-flash" data="http://images.traderonline.com/img/phw/swf/phflashnavtop_v7.swf?section=home&pre=" width="775" height="50">');
	document.write('	<param name="movie" value="http://images.traderonline.com/img/phw/swf/phflashnavtop_v7.swf?section=home&pre=" />');
	document.write('	<param name=menu VALUE=false />');
	document.write('</object>');
}

function PHSurvey_Complete(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="430" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=4,0,0,0"><param name="MOVIE" value="http://graphs.traderonline.com:81/?@_FILEapfiles/polls.pcxml@_PCSCRIPT'+urlEncode(pcscript)+'@_FLASH"><embed width="500" height="430" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="http://graphs.traderonline.com:81/?@_FILEapfiles/polls.pcxml@_PCSCRIPT'+urlEncode(pcscript)+'@_FLASH"></embed></object>')
}

function DisplayAds(page, sitepage, category, location, keywords, position, width , height) { 
var oaspage = sitepage + page + '/1' + RNS + '@' + position + '?' + category + location + keywords; 

if ( _version < 11 ) {
document.write (''); }else {
document.write ('<script language="JavaScript1.1" src="' + oas + 'adstream_jx.ads/' + oaspage + '">');
document.write ('\<\!——\>');
document.write ('\<\/script\>');
document.write ('\<\!——\>'); } 
}


// -->
