	function onT(div){
		var d;
		if(document.all){
			d=document.all(div);
		}else{
			d=document.getElementById(div);
		}
		
		if(d.style.visibility=="visible"){
			if(parseInt(d.style.height)<320){
				d.style.height=(parseInt(d.style.height)+10)+"px";
			}else{
				d.style.visibility="hidden";
				d.style.display="none";
			}
		}else{
			d.style.height="10px";
			d.style.visibility="visible";
			d.style.display="block";
		}
		if(parseInt(d.style.height)<320){
			window.setTimeout("onT(\""+div+"\");",20);
			d.style.overflow="hidden";
		}else{
			d.style.overflow="auto";
		}
	}
	
	function startT(){
		var d;
		if(document.all){
			d=document.all("whatIs");
		}else{
			d=document.getElementById("whatIs");
		}
		
		if(d.style.visibility=="visible"){
			return true;
		}else{
			window.setTimeout("onT(\"whatIs\");",20);
			return false;
		}
	}
	
	function showDef(e,t){
		var tx;
		var docWidth;
		var docHeight;
		var docScrollTop=0;
		var docScrollLeft=0;
		
		switch(t){
			case "pub":
				tx="<b>Publishing Credits</b> are used to upload a document to the PDFescape server. Each <b>Publishing Credit</b> allows one file to be uploaded. Once a file is uploaded, advanced permissions for the file can be setup (including the ability to make the PDF form submit responses to an email address).";
				break;
			case "unreg":
				tx="<b>Unregistered Users</b> can use PDFescape free of charge, however they can <b>not</b> later log back into PDFescape and work with previously opened files. Files which you do not save to your local computer will be deleted from our servers. Registering is free and recommended for most users.";
				break;
			default:
			t="";
		}
		
		if(t.length>0){
			
			
			if(window.event){
				e=window.event;
			}
					
			var d;
			if(document.all){
				d=document.all("divDef");
				//IE
				docWidth=document.documentElement.clientWidth;
				docHeight=document.documentElement.clientHeight;
				
			}else{
				d=document.getElementById("divDef");
				docWidth=window.innerWidth;
				docHeight=window.innerHeight;
			}
			docScrollTop=(document.documentElement.scrollTop||document.body.scrollTop||0);
			docScrollLeft=(document.documentElement.scrollLeft||document.body.scrollLeft||0);
			
		
			d.innerHTML=tx;
			
			if((e.pageX||e.clientX||0)+250>docWidth){
				d.style.left=((e.pageX||(e.clientX+docScrollLeft)||0)-210)+"px";
			}else{
				d.style.left=((e.pageX||(e.clientX+docScrollLeft)||0)+5)+"px";
			}
			d.style.top=((e.pageY||(e.clientY+docScrollTop)||0)-parseInt(d.scrollHeight)-5)+"px";
			
			d.style.visibility="visible";
		}
		
		
	}
	function hideDef(){
		var d;
		if(document.all){
			d=document.all("divDef");
		}else{
			d=document.getElementById("divDef");
		}
		d.style.visibility="hidden";
		d.innerHTML="";
	}
