
act=0;focus();
// config.js
my=new Array;
netscape=false;if(navigator.appName.indexOf('Netscape')>-1){netscape=true}
//fstr="member_id,node_id,username,first_name,last_name,birthdate,apply_date,approve_date,expire_date,password,private_email,public_email,home_page,gender,street,city,state,mail_code,country,languages,interests,home_phone,internet_name,sponsor,friends,nmfriends,access_key,last_activity,metamail,clones,posts,ratings,bookmarks,recommendations,searches,files,endorsements,credits,daily_limit,offering,seeking,security_hash,last_ip,perms,lists,chat,passion,skills,fun";
mms="http://metamind.us/";

abit='';amain='';total=0;dflag=0;dir='';speed=1;

output='';terms="";actual='';bars="|||||||||||";
Qflag=0;done=false;
db=new Array(0);

fsize="13px";
sW=screen.width;
if(sW<799){fsize="10px"}

// begin user config

backcolor="ivory";
lhover="red";
lcolor="#8B4513";//link color
tback="#D9967A";
color1="#CDCFCC";
color2="#FF709C";
color3="red";//marquee
color4="lightblue";
color5="white";
color6="white";
color7="white";
color8="#000000"; // visited
icolor="white"; // menus and input
backurl="back.gif";
ball="ball.gif";

// end user config

mmcgi=mms+"cgi-bin/";
mmsea=mms+"metamoo.php?";
mmmail=mms+"metamail.php?";
mmseajs=mms+"searchjs.php?";
mmm=mms+"ss.php?";
mmproxy=mms+"pat.php?";
mmshare=mms+"stevemoyer.php?";
mmspace=mms+"metapsace.php?";
mmlogin=mms+"login.php?";
sms=mms;
mmdata=mms+"search.php?";
mmagent="http://metamind.us/cgi-bin/metamind.cgi?";
mmmem="http://metamind.us/members/";

//eval(parent.cvars);

cat='Art,Auto,Audio,Beauty,Blog,Book,Business,Career,Chat,Clubs,Community,Computers,Consciousness,Culture,Desktop,Environment,E-mail,Economics,Education,Energy,Entertainment,Family,Games,Gardening,General,Graphics,Government,Health-emotional,Health-mental,Health-physical,History,Humor,Internet,Investing,Jobs,Law,Literature,Love,Money,Movies,Music,Nature,Network,News,Other,People,Personal,Philosophy,Politics,Radio,Reference,Religion,Romance,Science,Sci-fi,Sexual,Software,Space,Spiritual,Sports,Technology,Television,Travel,Video,Wisdom,Youth';
cats=cat.split(',');
tdef="Attempting to get title ... ";

btn=".btn {border-style:ridge;border-top-width:3px;border-bottom-width:2px;border-right-width:2px;background-color:#AEBAD9;font-size:12px;color:#000000;}";
style1="{background:"+icolor+";color:black;font-weight:bold;font-size:10px;font-family: Arial, Helvetica, Geneva, sans-serif;margin-top:2px;padding-top:0px;}A.button:hover{color:'+backcolor+';}A:hover{color:'+lhover+';font-weight:bold;}";
style1="{}";

style1='';
style2=style1;

style2='<STYLE TYPE="text/css">BODY,SPAN,DIV {background-image: URL('+backurl+');background-color:'+backcolor+';font-family:Verdana,Geneva,Arial;color: #333333;font-size: 12px;}TD.header{height:35px}P.headh5{color:'+backcolor+';font-size:13px;font-weight:bold;font-family:"Verdana","Tahoma","Arial","Geneva"} A.button{color:'+color3+';font-size:15px;font-weight:bold;font-family:"Verdana","Tahoma","Arial","Geneva"}A.button:visited{color:'+color2+';text-decoration:none}body{font-size:11px;font-family:"Verdana","Tahoma","Arial","Geneva"} P,BR{font-family:"Verdana","Tahoma","Arial","Geneva";font-size:11px}A{color:'+lcolor+';font-weight:bold;text-decoration:none} A:hover{color:'+lhover+';font-weight:bold;}A:visited{color:'+color8+'; font-weight: bold; text-decoration: none} select '+style1+'textarea '+style1+' input,radio,checkbox '+style1+'TD,UL{font-family:"Verdana", "Tahoma", "Arial", "Geneva"; font-size: 12px} TH {font-family: "Verdana", "Tahoma", "Arial", "Geneva"; font-weight: bold; font-size: 10px; color: '+color3+'} CODE {font-family: "Verdana", "Tahoma", "Arial", "Geneva"; font-weight: bold; font-size: 12px} H3{font-family: "Verdana", "Tahoma", "Arial", "Geneva"; font-weight: bold; font-size: 16px; color: #003466} EM{font-family: "Verdana", "Tahoma", "Arial", "Geneva"; font-size: 13px}A.button:hover{color:'+backcolor+';}'+btn+'</STYLE>';
style2=style2.split("10px").join(fsize);
ccode='window.onerror=null;Q="";cr="";msg=" ";debug=0;wt=self;nam=window.name;tmp="";Qdel="|";doc=document;blank=" ";js="<a href=javascript:";ver=parseInt(navigator.appVersion);function w(data){doc.writeln(data)}ct=30;tod=new Date();function cset(name,value){wt.setc(name,value)}function rs(g2){if(g2>""){return sr(g2," ","")}else{return ""}}function lc(g3){if(g3>""){return g3.toLowerCase()}}function sr(g5,g6,g7){if(g5>""){return g5.split(g6).join(g7)}else return ""}passed=unescape(location.search.substring(1,location.search.length));msie=navigator.appVersion.indexOf("MSIE");mac=navigator.platform.indexOf("Mac");function Qs(Qj){w("<script src="+Qj+"><"+"/script>");if(nam.length<9){w(wt.style)}}';
eval(ccode);

if((ver!=4)||(msie>0)){style=style2}

mmproxy="http://metamind.us/pat.php?";

function jak(n,d){if(d<" "){d=" "}if(fstr.indexOf(n)<0){fstr+="|"+n}
evs="tmp=my['"+n+"']";
if(d>''){evs+="=d"}eval(evs);if(tmp>""){return tmp}return ''}

function steve(sky){eval(unescape(jak(sky)))}

function go(url){steve(1);
wt.jak('tit',wt.a1.b1.tit);
wt.jak('url',wt.a1.b1.location.href);
Qgo(wt.fix(url))}
Qtxt='';
//if(window.name=='b2'){Qtxt=addc('',7)}

function mx(t){steve(2);return "<font size="+wt.tsize+">"+parent.mktxt(t)+"</font>"}

function play(abit,amain){steve(3);
if((abit<" ")&&(amain< " ")){return}
if(window.name!='b2'){return}
if(done){
audio=wt.jak('audio');
if(audio>0){
if(audio==3){abit=''}
if(abit>''){
w("<center><table border=0><tr><th><img src=http://metamind.us/moodle/blank.gif height=1 width="+mwidth+"></th><th>");
if(audio==1){
w('<embed src="'+amain+'"  BACKGROUNDCOLOR=navy type="audio/x-pn-realaudio-plugin" name=main console="clip" autostart=false controls="ControlPanel" border="0" width="274" height="30" align="left" > </embed>');
w('<embed src="'+abit+'" type="audio/x-pn-realaudio-plugin" name=bit console="clip" autostart=true controls="PositionField" border="0" width="124" height="30" align="left"></embed>');
}
if(audio==2){
w("<object id='MediaPlayer1' width=300 height=45 classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading ...' type='application/x-oleobject'><param name='FileName' value='"+abit+"'><PARAM NAME='autoStart' VALUE='true'><param name='ShowStatusBar' value='True'><param name='DefaultFrame' value='mainFrame'><embed type='application/x-mplayer2' src='"+abit+"' width=300 height=45 defaultframe='rightFrame' showstatusbar=true></embed></object> ");
}
w("</th></table></center><br>")}
}
}
}

// coding.js
Qmsie=navigator.appVersion.indexOf('MSIE');
Qmac=navigator.platform.indexOf('Mac');

s9=0;Qflag=1;
Qlh=location.href;
mmmem='';

mmproxy='';
mms='';
msie=Qmsie;

ccode='';
ver='';

style1='';
style2='';

mms="http://metamind.us/";
terms="";actual='';bars="|||||||||||";
fsize="12px";
if(screen.width<810){fsize="10px"}

// begin user config
fstr="member_id,node_id,username,first_name,last_name,birthdate,apply_date,approve_date,expire_date,password,private_email,public_email,home_page,gender,street,city,state,mail_code,country,languages,interests,home_phone,internet_name,sponsor,friends,nmfriends,access_key,last_activity,metamail,clones,posts,ratings,bookmarks,recommendations,searches,files,endorsements,credits,daily_limit,offering,seeking,security_hash,last_ip,perms,lists,chat,passion,skills,fun";

mmproxy="http://metamind.us/pat.php?";

Qmpg=Qlh.indexOf(mmmem);
file='';terms="";url='';tit='';actual=sr(Qlh,mmproxy+'?','');
tlinks=0;nam='';ema='';rec='';Qd=document;Qtxt='';
Qpa=Qlh.split('pat.php');Qpat=Qpa[0];
if(Qpa.length<2){Qpat=mms}Qcmd='';Qbase=mms;
Q="_MW_";dx=unescape('%A9%A7%AE');k0='X';
k1='% /+-!@#$&*?[]():;,."|<>=~';
k2="ABCDEFGHIJKLMNOPQRSTUVWXYZ";

winW=screen.width;winH=screen.height;
if(msie>0){winW=screen.width;winH=screen.height-50}
else{winW=window.innerWidth;winH=window.innerHeight}
bars="|||||||||||";
fsize="12px";
if(screen.width<810){fsize="10px"}backcolor="#A2BEA9";
lhover="white";lcolor="black";backurl="";tback="#D9967A";tback="#CDCFCC";
ball="ball.gif";


function decode(t9){if(t9>" "){for(q=25;q>-1;q--){t9=sr(t9,k0+k2.charAt(q),k1.charAt(q))}
t9=unescape(t9);return sr(t9,dx,"X")}
}

function encode(t9){if(t9> " "){t9=sr(t9,k0,dx);
for(q=25;q>-1;q--){if(q==0){t9=escape(t9)}
t9=sr(t9,k1.charAt(q),k0+k2.charAt(q))}}return t9}
if(window.name.indexOf(Q)>-1){
//Qtxt=decode(window.name);Qdb=Qtxt.split(Q);alert(Qdb[0]);
}

// engines.js

Q2n='Google-WWW|Google-Video|';
Q1n="www.google.com/search?q=|video.google.com/videosearch?q=|";
Q1=Q1n.split('|');Q2=Q2n.split('|');

var IE = document.all?true:false

Qvif=0;

var tempX = 0;
var tempY = 0;

Qmsie=navigator.appVersion.indexOf('MSIE');
Qmac=navigator.platform.indexOf('Mac');

s9=0;Qflag=1;
Qlh=location.href;
mmmem='';

mmproxy='';
mms='';
msie=Qmsie;

ccode='';
ver='';

style1='';
style2='';

mms="http://metamind.us/";
terms="";actual='';bars="|||||||||||";
fsize="12px";
if(screen.width<810){fsize="10px"}

// begin user config
fstr="member_id,node_id,username,first_name,last_name,birthdate,apply_date,approve_date,expire_date,password,private_email,public_email,home_page,gender,street,city,state,mail_code,country,languages,interests,home_phone,internet_name,sponsor,friends,nmfriends,access_key,last_activity,metamail,clones,posts,ratings,bookmarks,recommendations,searches,files,endorsements,credits,daily_limit,offering,seeking,security_hash,last_ip,perms,lists,chat,passion,skills,fun";

mmproxy="http://metamind.us/pat.php?";

Qmpg=Qlh.indexOf(mmmem);
file='';terms="";url='';tit='';actual=sr(Qlh,mmproxy+'?','');
tlinks=0;nam='';ema='';rec='';Qd=document;Qtxt='';
Qpa=Qlh.split('pat.php');Qpat=Qpa[0];
if(Qpa.length<2){Qpat=mms}Qcmd='';Qbase=mms;
Q="_MW_";dx=unescape('%A9%A7%AE');k0='X';
k1='% /+-!@#$&*?[]():;,."|<>=~';
k2="ABCDEFGHIJKLMNOPQRSTUVWXYZ";

winW=screen.width;winH=screen.height;
if(msie>0){winW=screen.width;winH=screen.height-50}
else{winW=window.innerWidth;winH=window.innerHeight}
bars="|||||||||||";
fsize="12px";
if(screen.width<810){fsize="10px"}backcolor="#A2BEA9";
lhover="white";lcolor="black";backurl="";tback="#D9967A";tback="#CDCFCC";
ball="ball.gif";
eval(ccode);
if((ver!=4)||(msie>0)){style=style2}

function w(data){}

w(wt.style);


function Qw(data){Qd.writeln(data)}

function Qw3(cmd,txt){Qw("<input type=button name="+lc(cmd)+" onclick=Qppp('"+cmd+"') value='"+txt+"'>")}
function w(data){}

if(act<1){

}

Qw("</table>");

if(msie>0){Qw("<div id='moo' style=\" position:absolute;z-index:1000; left: 0; top:0; visibility:hidden\" >")}
else
{Qw("<div id='moo' style=\" position:absolute;z-index:1000;top: 0;left: 0;visibility:hidden\" >")}

// -- metaslim follows

Qcmd='';Qmax=1000;Qbg=" bgcolor=silver ";defsea='';
Qh=new Array(0);Qtod=new Date();Qdel=":^:";Qct="Clear History";

function Qw(Q3){Qd.writeln(Q3)}
function Qz(Q0,Q1,Q2){return Q0.split(Q1).join(Q2)}
function setQ(n){Qflag=n;s9=0}
function Qsetit(name,value,expire){Qtmp=value;document.cookie=name+"="+tmp+((expire==null) ? "" : (";  expires="+expire.toGMTString()))}
function Qset(name,value){expires=new Date();expires.setTime(Qtod.getTime()+1000*60*60*24);Qsetit(name,value,expires);}

function Qget(Name){var search = Name + "=";offset=-1;
if(document.cookie.length>0){offset=document.cookie.indexOf(search)
if(offset != -1){offset+=search.length;
 end = document.cookie.indexOf(";", offset)
if(end == -1)
end = document.cookie.length;
return unescape(document.cookie.substring(offset,end))
}} if(offset<0){return ''}
}

function Qsea2(){
Qvi(-1);window.focus();
tmp="http://nodes.net/";
terms=Qd.Qms.query.value;
go(tmp+terms.split(" ").join("_"));
return false;
}

Qht=Qget('searches');if(Qht.indexOf(Qct)<0){Qht+=Qdel+Qct}Qh=Qht.split(Qdel);

function Qchis(n){tmp='';if(n>0){tmp=Qh[n-1];if((tmp==Qct)||(tmp=='')){
if(confirm(Qct+'?')==true){Qset('searches',' ');location.reload()}return}
}
//Qd.Qms.query.value=tmp;
Qd.Qms.query.focus()}

function go(u){open(u,"_blank",'fullscreen=no,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=yes,location=yes,top=21,left=0')}
Qw("<form name=Qms onsubmit='Qsea2();return false'>");
Qw("<center><table bgcolor=black cellpadding=7><tr><th><table border= cellpadding=0 bgcolor=lightblue><tr><th><a href=javascript:go('http://nodes.net/metasearch')><i><b>Metasearch</a><b></i> - ESC for <a href=javascript:Qvi(0);Qmind()>MetaCommand</a></th><th size=100 valign=center><input type=button value=Close onclick=Qvi(0)></a></tr><tr><th><table bgcolor=antiquewhite cellpadding=10 border=0><tr><th>");
Qw('<input size=33 name=query onfocus=\"setQ(0);query.select();\" onblur=setQ(1) onsubmit=Qsea2()>');
Qw("</table><th><input type=button value=Search onclick=Qsea2()>");
Qw("</table></table></form></center>");
Qw("</div>");

// foot.js follows

function Qmind(){Qvi(1);Qtmp=prompt('Enter a MetaCommand: ( ?=list of commands )',Qtxt);
if(Qtmp=="?"){go('http://metamind.us/metacmds.php')}
if((Qtmp==null)||(Qtmp=='')){return}
Qtxt=Qtmp;go(mmsea+Qtmp);
Qvi(0);
}

function Qf(n){
s9=0;
Qvif=1;

if(Qmsie>-1){
if(Qmac>-1){
Qtmp=document.getSelection();
//Qvi(1);
}
else
{
Qtmp=document.selection.createRange().text}
}
else
{Qtmp=document.getSelection()}
if(Qtmp>''){
follow(n);
Qtmp=Qtmp.split('&').join(escape('&'));
//Qvi(1);
Qtxt=Qtmp;Qd.Qms.query.value=Qtmp;
if(Qtmp.length<80){Qd.Qms.query.focus()}
}
}

function Qvi(n){
Qmsd=document.getElementById('moo');s9=0;
if(n>0){Qmsd.style.visibility='visible'}
else
{Qmsd.style.visibility='hidden'}
Qvif=0;
}

function scrollit(n){
window.scrollBy(0,s9*2);
if(s9>0){setTimeout("scrollit(s9)",100)}
}

function gotop(){self.scrollTo(0,0);return false}

function gobot(){self.scrollTo(0,1000000);return false;}

function Qmc(e){

Qk=0;if(Qmsie>-1){Qk=event.keyCode}else{Qk=e.which}

//***
if(Qk==27){Qmind();Qvi(1)}

if(Qflag<1){return}
return;
if(Qk==83){s9++;scrollit(s9)}else{s9=0}
if(Qk==32){return false}

if(Qk==66){gobot()}
if(Qk==84){gotop()}
if(Qk==80){print()}
if(Qk==13){eval(cr)}
}


function Qvi2(e){Qvi(0);return e}


document.onkeydown=Qmc;
document.onmouseup=Qf;
document.onmousedown=getMouseXY;
Qw("</table>");



function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}
  return true
}


var divName = 'moo'; // div that is to follow the mouse
                       // (must be position:absolute)
var offX = 0;          // X offset from mouse position
var offY = 0;          // Y offset from mouse position

function mouseX(evt) {if (!evt) evt = window.event; if (evt.pageX) return evt.pageX;
 else if (evt.clientX)return evt.clientX + (document.documentElement.scrollLeft ?  document.documentElement.scrollLeft : document.body.scrollLeft); else return 0;}

function mouseY(evt) {if (!evt) evt = window.event;
 if (evt.pageY) {return evt.pageY}
 else
 if (evt.clientY)return evt.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
 else return 0;
}




function follow(evt) {

MX=mouseX(evt);
MY=mouseY(evt);

if(MY<100){MY=133}
if(MY>233){MY=MY-250}else{ MY = MY + 63}

if (document.getElementById) {var obj = document.getElementById(divName).style; obj.visibility = 'visible';
if(IE){
tempX=0;
}
if(tempX>100){tempX=100;if(IE){tempX=0}}
if(offX>100){offX=0}
if(MY<100){MY=100}
newX=tempX+offX;
obj.left = parseInt(newX) + 'px';
obj.top = MY +"px"}
}



function stat(d){
window.status=d;
}
