var click_block=0
function dictionary() {
if (click_block) {
click_block=0
return
}

if (navigator.appName == "Netscape") {
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='/concordance/findform.php?findword='+escape(text);
   }
}
status='double-click any word to get its definition.'

var discl_state=1;
function toggle() {
	if (navigator.appName=='Netscape') document.img_discl.style.visibility='hidden'
	else if (discl_state) 
	{
	div_discl.style.display='none';
	img_discl.src='http://img.thefreedictionary.com/toggle/pluscold.gif'	
	discl_state=0;
	}
	else
	{
	div_discl.style.display='';
	img_discl.src='http://img.thefreedictionary.com/toggle/minuscold.gif'
	discl_state=1;
	}
}

function wiki(word) {
document.write('<div style="font-size: 10px;FONT-FAMILY: Tahoma;margin-top:5px">This article was derived fully or in part 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.thefreedictionary.com/GNU%20Free%20Documentation%20License">GNU Free Documentation License</a>.</div><br>')
}
function foldoc(){
document.write('<div style="font-size: 10pt;FONT-FAMILY: Arial;margin-top:5px">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 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 el(a){
window.open('http://'+a, '_blank')
return false
}