var click_block=0
var IsTFD=0
var Domain='thefreedictionary.com'
var IE=(navigator.appName=='Microsoft Internet Explorer'?1:0);
function dictionary() {
if (click_block) {
click_block=0
return
}
if (!IE) {
t = document.getSelection();
opennewdictwin(t);
}
else {
t = document.selection.createRange();
if(document.selection.type == 'Text' && t.text != '') {
document.selection.empty();
opennewdictwin(t.text);
		}
	}
}
function opennewdictwin(text) {
while (text.substr(text.length-1,1)==' ') 
	text=text.substr(0,text.length-1)
while (text.substr(0,1)==' ') 
	text=text.substr(1)
if (text > '') {
document.location='http://www.'+Domain+'/'+escape(text);
	}
}
var discl_state=1;
function toggle() {
	if (IE) if (discl_state) 
	{
	div_discl.style.display='none';
	img_discl.src='http://img.tfd.com/toggle/pluscold.gif'	
	discl_state=0;
	}
	else{
	div_discl.style.display='';
	img_discl.src='http://img.tfd.com/toggle/minuscold.gif'
	discl_state=1;
	}
}

function wiki(word) {
document.write('<div class=brand_copy>This article is copied from an <a target=_blank href="http://en.wikipedia.org/wiki/'+escape(word)+'">article on Wikipedia.org</a> - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. '+ 
	'This article is distributed under the terms of <a href="http://encyclopedia.'+Domain+'/GNU%20Free%20Documentation%20License">GNU Free Documentation License</a>.</div><br>')
}
function foldoc(){
document.write('<br><div class=brand_copy>This article is provided by FOLDOC - Free Online Dictionary of Computing (<a target=_blank href="http://www.foldoc.org">www.foldoc.org</a>)</div><br>')
}
function cde(){
document.write('<br><div class=brand_copy>Computer Desktop Encyclopedia copyright ©1981-2005 by <a target=_blank href=http://www.computerlanguage.com/tfd.html>The Computer Language Company Inc</a>. All Right reserved. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher</div><br>')
}
function law(){
document.write('<div class=brand_copy>Copyright © 1981-2005 by <a target=_blank href=http://www.farlex.com/hills.htm>Gerald N. Hill and Kathleen T. Hill</a>. All Right reserved.</div>')
}
function hm(){
document.write('<div class=brand_copy style="text-align:right;color:gray">The American Heritage® Dictionary of the English Language, Fourth Edition copyright &copy;2000 by <a style="color:gray;" target=_blank href="http://www.eref-trade.hmco.com/">Houghton Mifflin Company</a>.<br>Updated in 2003. Published by <a style="color:gray;" target=_blank href="http://www.eref-trade.hmco.com/">Houghton Mifflin Company</a>. All rights reserved.</div>')
}
function hutch(){
document.write('<div class=brand_copy>This article is &copy; Research Machines plc 2004. All rights reserved. <a target=_blank href=http://www.helicon.co.uk>Helicon Publishing</a> is a division of Research Machines plc.</div>');
}
function columbia(){
document.write('<br><div class=brand_copy>The Columbia Electronic Encyclopedia® Copyright © 2005, Columbia University Press. Licensed from Columbia University Press. All rights reserved. <A target=_blank href="http://www.cc.columbia.edu/cu/cup/">www.cc.columbia.edu/cu/cup/</A></div>');
}
function fin(){
document.write('<br><div class=brand_copy>');
switch (fin_source) {
case 1: document.write('Copyright©1997-2005 by <A target=_blank href="http://www.investorwords.com/">WebFinance, Inc</A>. All Rights Reserved.'); break;
case 2: document.write('Copyright © 2004, <A target=_blank href="http://www.duke.edu/~charvey/">Campbell R. Harvey</A>. All Rights Reserved.');
}
document.write('</div>');
}
function hm_med(){
document.write('<br><p class=brand_copy>The American Heritage® Stedman\'s Medical Dictionary, 2nd Edition Copyright © 2004 by Houghton Mifflin Company. Published by <a target=_blank href="http://www.eref-trade.hmco.com/">Houghton Mifflin Company</a>. All rights reserved.</p>');
}
function acr(name){
document.write('<p><a target=_blank href="http://app.thefreedictionary.com/newacronym.aspx?acr='+escape(name)+'">submit new definition</a></p>');
acr_copy();
}
function acr_copy(){
document.write('<div class=brand_copy>Powered by <a target=_blank href="http://www.acronymfinder.com">AcronymFinder.com</a> &copy; 1988-2005, Mountain Data Systems, All rights reserved.</div>');
}

function layer(id){
	var res
	if(document.getElementById) res=document.getElementById(id)
	if(document.all) res=document.all[id]
	if (res) return res.style
	return null
}
var nsx;
var nsy;
if (!document.all) {
	document.captureEvents(Event.MOUSEMOVE);	
	document.onmousemove=get_mouse;
}
function get_mouse(e) {
	nsx=e.pageX-10;
	nsy=e.pageY+5;
}
function t_i(id) {
	var hlp=layer('Tp'+id)
	if (hlp) {
	if (document.all) {
	 nsy=event.y+document.body.scrollTop;
	 nsx=event.x+document.body.scrollLeft;
	}
	hlp.top=nsy+20
	hlp.left=(nsx>610?nsx-470:140)		
	hlp.visibility='visible'
}}
function t_o(id) {
	var hlp=layer('Tp'+id);
	if(hlp) hlp.visibility='hidden'
}
function blink() {return}
function el(a){
window.open('http://'+a, '_blank');
}
function eml2(path, name){
open('/_/viewer.aspx?path='+escape(path)+'&name='+name,'img','');
}
function eml(path, name){
location='/_/viewer.aspx?path='+escape(path)+'&name='+name,'view';
}
function hil(name){
eml2('hut',name)
}
function hmil(name){
eml2('hm',name)
}
function hmil_med(name){
eml2('hm/med',name)
}
function openerlink(link) {
opener.location='http://encyclopedia.'+Domain+'/'+link;
self.close()
return false;
}
var g_kw=0;
function google_ad_request_done(google_ads) {
	var i=0;
	for (i=0;i<google_ads.length && i<(IsTFD?4:3);i++){
	 var ad=google_ads[i]
	 if (i==0) {
		if (IsTFD) {
			if (EncTab) 
				document.write('<td width=190 valign=top>');
			document.write('<div class=Ov id=Ov style="width:185px;float:right;clear:right;background-color:white"><div class=OvBorder>');
			}
		else 
			document.write('<span class=by>Ads by Goooooogle</span>');
	 }
	 document.write('<a href="http://www.thefreedictionary.com/_/gr.aspx?source='+escape(top.location)+'&url='+escape(ad.url)+'" onMouseOver="return m_over(\'go to '+ad.visible_url+'\')" onMouseOut="m_out()">');
	 //document.write('<a href="'+ad.url+'" onMouseOver="return m_over(\'go to '+ad.visible_url+'\')" onMouseOut="m_out()">');
	 if (IsTFD) {
	 document.write('<div class=OvTitle>'+ad.line1+'</div>');
	 document.write('<div class=OvDescr>'+ad.line2+' '+ad.line3);
	 document.write('</div><span class=OvURL>'+ad.visible_url+'</span></a>');
	 }
	 else {
	 document.write('<span class=OvTitle>'+ad.line1+'</span><br>');
	 document.write('<span class=OvDescr>'+ad.line2+' '+ad.line3);
	 document.write('</span><br><span class=OvURL>'+ad.visible_url+'</span></a><div class=AdSep></div>');
	 }
	 if (IsTFD) document.write('<div style="color:blue;height:1px"></div>');
	}
	if (IsTFD) {
		if (i) document.write('</div><div style="text-align:center;color:blue;font-size:8pt">Ads by Goooooogle</div></div>');
		if (IsTFD) document.write('</td>');
		}
	else if (i==0) 
		if (g_kw){
			g_kw=0;
			google_ad_width = 468;
			google_ad_height = 60;
			google_ad_format = "468x60_as";
			google_ad_output = "js";
			google_prev_ad_formats=null;
			google_page_url = document.location
			google_ad_channel =ad_channel
			google_show_ad();
		}
}
function myerror() {
//document.write('<iframe src="http://www.thefreedictionary.com/_/deftopad.aspx" border=0 frameborder=0 width="95%" height=90 scrolling=no></iframe><br>');
window.onerror=null;
return true;
}
function m_over(url){
window.status=url;
return true;
}
function m_out(){
window.status = '';
}
function endPlay(){
if (IE) sound_frame.document.location='about:blank';
}
function play(File) {
if (IE) {
	var sf=sound_frame.document;
	sf.write('<html><head><bgsound src="http://img.tfd.com/hm/prons/'+File+'.wav"><\/head><\/html>');	 
	sf.close();
	setTimeout('endPlay()', 5000);
} else
	location=('http://img.tfd.com/hm/prons/'+File+'.wav');
window.status='';
}
function pron_key(t) {
var pkw=open('/_/pk.htm','pk','width=630,height=675,statusbar=0,menubar=0');
return false;
}
var SignedIn=0;
function hut(f){
var t=' please sign-in or <a href="https://secure.farlex.com/protected/subscribe.aspx?url='+escape(location.href)+'">register</a> for a free trial.</p>'
if (!SignedIn)
	switch(f){
	case 1:document.write('<p><b><font color=red>This article is available to subscribers only.</font></b> To read this article'+t);break;
	case 3:document.write('<p><b><font color=red>Only a portion of this article is shown. The entire article is available to subscribers.</font></b> To read this article in it\'s entirety'+t);break;
	}
}