/*clientside article tool script ©2006 titus toledo/http://spreadhead.virtualave.net 
permission to freely use/resuse/abuse this script granted if original author copyright stays intact */
<!--
var dir = parent.main.location.href.substring(0,parent.main.location.href.lastIndexOf('/')+1);
var url = parent.main.location.href.substring(dir.length,parent.main.location.href.length+1);
<!--
var wurl = parent.main.location.href;
var par_index = wurl.indexOf('?');
if (par_index != -1) { wurl = wurl.substring(0, par_index); }
//document.write(wurl);
//-->
<!--
var wtit = window.document.title;
var tit_index = wtit.indexOf('|');
if (tit_index != -1) { wtit = wtit.substring(0, tit_index); }
//document.write(wtit);
//-->
<!--
function borderit(which,color){
if (document.all||document.getElementById){
which.style.borderColor=color
}}
//-->
<!--
function txta(theTitle){
theText = "" + theTitle + "";
if ( !document.getElementById ) return false;
document.getElementById("func").innerHTML = theText;} 
function txte(){ txta('');}
function txti(){txta('article tools sponsored by plug');setTimeout('txte()',10000); }
//-->
<!--
function h_(){parent.main.location.href="toc.html"; }
//-->
<!--
function m_(){
var dir = window.parent.main.location.href.substring(0,parent.main.location.href.lastIndexOf('/')+1);
var url = window.parent.main.location.href.substring(dir.length,parent.main.location.href.length+1);
//top.parent.frames['main'].location.focus();
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
window.external.AddFavorite('http://eksite.com/'+url+'',''+parent.main.document.title+'');
} else if (navigator.appName == "Netscape") {
self.focus();
window.sidebar.addPanel(''+parent.main.document.title+'','http://eksite.com/'+url+'',"");
} else {
parent.main.location.focus();alert("Press CTRL-D (Firefox) or CTRL-T (Opera) to bookmark this article");
}}
//-->
<!--
function ttxta(theTtitle){
theTextt = "" + theTtitle + "";
if ( !document.getElementById ) return false;
document.getElementById("desc").innerHTML = theTextt;} 
function ttxte(){ ttxta('');}
function ttxti(){ttxta("<font size='-2'>Article tools sponsored by <a href='http://spreadhead.virtualave.net/plug/' target='_blank' onfocus='this.blur()'>plug</a>...</font>");}
//-->
<!--
/* Modified to support Opera */
//var url = self.location.href.substring(window.self.location.href.length+1);
function b_(){
if (window.sidebar) // firefox
	window.sidebar.addPanel(''+document.title+'','http://eksite.com/'+url+'', "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href','http://eksite.com/'+url+'');
	elem.setAttribute('title',''+document.title+'');
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite('http://eksite.com/'+url+'',''+document.title+'');
}
//-->
<!--
function mf(){parent.main.focus();}
//-->
<!--
etch =0;
var comart = "[letter to the editor] Re:"+self.document.title+"";
var conart = "[article contribution]"
function f_(fff,uuu,ccc,kkk){
cumm = "left=0,top=0,width=600,height=480,scrollbars=1,resizable=1,copyhistory=0";
pex = "<html><head><title>[eK!] e-form</title></head><body bgcolor='#f9f9f9'";
if (etch != 0) pex +="";
pex += '><form enctype="multipart/form-data" method="post" action="http://www.freedback.com/mail.php" accept-charset="UTF-8"><div><input type="hidden" name="acctid" id="acctid" value="e001iqt9rlgw5j0o" /><input type="hidden" name="formid" id="formid" value="142098" /><input type="hidden" name="required_vars" id="required_vars" value="full_name,email_address,city_country,entry" /><input type="hidden" name="feedback_for" id="feedback_for" value="'+parent.main.document.title+'" /><input type="hidden" name="url" id="url" value="'+window.parent.main.location.href+'" /></div><font style="font-family:ms sans serif,sans serif,arial; color:#909090; font-size:10px">[Important! Please leave no blanks. Unidentified, incomplete, and invalid submissions will not be read]</font><br /><br /><table cellspacing="0" cellpadding="5" border="0" style="font-family:ms sans serif,sans serif,arial;color:#000000; font-size:13px"><tr><td valign="top"><b>Full Name:</b></td><td valign="top"><input type="text" name="full_name" id="full_name" size="40" class="etx" value="" onfocus=this.style.backgroundColor="#fffee1" onblur=this.style.backgroundColor="#ffffff" /></td></tr><tr><td valign="top"><b>Email Address:</b></td><td valign="top"><input type="text" name="email_address" id="email_address" size="40" class="etx" value="" onfocus=this.style.backgroundColor="#fffee1" onblur=this.style.backgroundColor="#ffffff" /></td></tr><tr><td valign="top"><b>City/Country:</b></td><td valign="top"><input type="text" name="city_country" id="city_country" size="40" class="etx" value="" onfocus=this.style.backgroundColor="#fffee1" onblur=this.style.backgroundColor="#ffffff" /></td></tr><tr><td valign="top"><b>Subject:</b></td><td valign="top"><input type="text" name="field-8df60e627cd2bf6" id="field-8df60e627cd2bf6" size="60" style="font-family:ms sans serif,sans serif,arial;color:#000000; font-size:13px" value="letters to the editor/re: '+parent.main.document.title+'" onfocus="this.blur()" /></td></tr><tr><td valign="top"><b>Entry:</b><br /><img src="eksmall_red.gif"></td><td valign="top"><textarea name="entry" id="entry" rows="13" cols="60" style="font-family:ms sans serif,sans serif,arial;color:#000000; font-size:13px" onfocus=this.style.backgroundColor="#fffee1" onblur=this.style.backgroundColor="#ffffff"></textarea></td></tr><tr><td colspan="2" align="center"><input type="submit" value="Publish it! " style="font-family:ms sans serif,sans serif,arial; font-size:10px; background-color:#ffffff;" onmouseover=this.style.backgroundColor="#fffee1" onmouseout=this.style.backgroundColor="#ffffff" />&nbsp; <input type="button" value="Clear" style="font-family:ms sans serif,sans serif,arial; font-size:10px; background-color:#ffffff;" onclick="reset()" onmouseover=this.style.backgroundColor="#fffee1" onmouseout=this.style.backgroundColor="#ffffff" />&nbsp; <input type="button" value="Close" style="font-family:ms sans serif,sans serif,arial; font-size:10px; background-color:#ffffff;" onclick="self.close()" onmouseover=this.style.backgroundColor="#fffee1" onmouseout=this.style.backgroundColor="#ffffff" /></td></tr></table></form>';
if (etch != 0) text +="" + etch + "";
pex += "</body></html>";
cuntt = window.open("", "cuntt",cumm);
cuntt.document.open();
cuntt.document.write(pex);
cuntt.document.close();}
//-->
<!--
fetch =0;
function c_(){
mmuc = "width=350,height=200,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,left=0,top=0,alwaysRaised=1";
xep = "<html><head><title>[eK!] link + cite this page</title></head><body style='background-color:#fcfcf0;overflow:hidden'";
if (fetch != 0) xep +="";
xep += '><div style="font-family:ms sans serif,sans serif,arial; color:#000000; font-size:10px"><font style="font-size:14px"><b>Article Link &amp; Citation</b></font><br /><br /><font color="#ff0000">*Select and copy: press "ctrl+a" to select and "ctrl+c" to copy</font><br /><br /><div name="cite"><b>Article Title:</b><br />'+parent.main.document.title+'<br /><br /><b>Permanent Web Link:</b><br />'+parent.main.location.href+'</div><p align="right"><a href="javascript:window.print()" title="print citation"><img src="print2.gif" border="0" width="16" height="12" /></a> <a href="javascript:window.close()" title="close window"><img src="close.gif" border="0" width="12" height="12" /></a></p>';
if (fetch != 0) text +="" + fetch + "";
xep += "</body></html>";
tunc = window.open("", "tunc",mmuc);
tunc.document.open();
tunc.document.write(xep);
tunc.document.close();}
//-->
<!--
function e_(){
nanu="check out this article from eK! (electronic Kabalen): '"+parent.main.document.title+"...'";
nunu="Thought it might interest you to check out this article from eK! (electronic Kabalen):\n'"+parent.main.document.title+"...'\n\n";
nokarin= "http://eksite.com/"+url;
obat="\n\n\nsource: ek [http://eksite.com/] electronic Kabalen"
ninu=prompt("Enter your friend's email address: ","")
if (ninu.indexOf('@')== -1){parent.location.focus();return false;}
if (ninu.indexOf('.')== -1){parent.location.focus();return false;}
else if (confirm("\n\nThank you for your fine recommendation...\n\nYou are now about to send an email to "+ninu+", asking your friend to\n\n"+nanu+"\n\n")==true){
var doc = "mailto:" +ninu+ 
"?subject="+nanu+ 
"&body="+escape(nunu)+escape(nokarin)+escape(obat); 
parent.location.href=doc; }}
//-->
<!--
function p_(){ parent.main.focus(); parent.main.print();}
//-->
<!--
function u_(){parent.main.location='ispam.html';}
//-->
<!--
/* http://javascript.internet.com/©justin barlow - http://www.netlobo.com */
 function toggleLayer(whichLayer) {
  var elem, vis;
  if(document.getElementById) // this is the way the standards work
    elem = document.getElementById(whichLayer);
  else if(document.all) // this is the way old msie versions work
      elem = document.all[whichLayer];
  else if(document.layers) // this is the way nn4 works
    elem = document.layers[whichLayer];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display =
 (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}
//-->
<!--
function idebate(){window.open("http://www.intensedebate.com/commentPopup.php?acct=e599b44c198a6f951ae02f13f2db3836&postid="+parent.main.location.href+"&posttitle="+parent.main.document.title+"&posturl="+parent.main.location.href+"", "tokwa", "width=570,screen.availHeight,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,copyhistory=0,left=0,top=0,alwaysRaised=1");}
//-->