<!--
time=0;

function newimg(arg) {
	if (document.images) {
		rst = new Image();
		rst.src = arg;
		return rst;
	}
}

var preflag = false;
function imgs_and_handlers() {
	if (document.images) {
		img01 = newimg("nav/nav01over");
		img02 = newimg("nav/nav02over");
		img03 = newimg("nav/nav03over");
		img04 = newimg("nav/nav04over");
		img05 = newimg("nav/nav05over");
		img06 = newimg("nav/top_over");
		img07 = newimg("nav/search_over");
		preflag = true;
	}
	
	if (document.layers) {
    	window.captureEvents(Event.MOUSEMOVE);
   		window.onmousemove=move; }

	else if (document.all)
   		document.onmousemove=move;
	
}

function changeimgs() {
	clearTimeout(time);
	
	if (document.images && (preflag == true)) {
		for (var i=0; i<changeimgs.arguments.length; i+=2) {
			document.images[changeimgs.arguments[i]].src = changeimgs.arguments[i+1];
		}
	}
}

   
 function move(e)  {
   if (document.all) 
        musx=window.event.clientX, musy=window.event.clientY;

    else if (document.layers) 
        musx=e.pageX, musy=e.pageY;
	
	menux=musx - 7

	if (menux >= 720)  {
			 menux=720; }

	if (menux <= 95) {
			 menux=95; }


	if (document.all['menu'].style != null){
			 document.all['menu'].style.left = menux; }
				
	if (document.layers) {
		  	 document.layers['menu'].left = menux;	}
	}
	
// Copyright (c) 2000 internet.com Corp. 
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.

function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  
  remote.focus();
  return remote;
}

function sendtofriend(wordid) {
  myRemote = launch("friend.php?id=" + wordid, "sendtofriend", "height=450,width=616,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "pseudowindow");
}

function linkword(wordid) {
  myRemote = launch("link.php?id=" + wordid, "linkword", "height=160,width=600,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0", "pseudowindow");
}

function joinlist(address) {
  myRemote = launch("joinlist.php?listsubscribe=" + address, "list", "height=100,width=400,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0", "pseudowindow");
}
