// GLOSSARY

function glossary(term){
	var def;
	var size;
	switch(term){
		case "pc":
			def = "<strong>Parental Controls</strong><br>Protect your family with some of the most advanced Parental Control software on the market.<br>Click for more information!";
			break;
	
		case "xcell":
			def = "<strong>Internet Accelerator</strong><br>Accelerate your browsing with our Internet Accelerator and browse up to five times faster.<br>Click for more information!";
			break;
	
		case "modemType":
			def = "<strong>Modem Type</strong><br>Wireless DSL Modems allow you to connect to the internet from anywhere in your home cheaply and easily.";
			break;
	
		case "modemPurchase":
			def = "<strong>Purchasing or Renting</strong><br>You can purchase or lease your DSL Modem from us, or you can supply your own.";
			break;
	
		case "modemInstall":
			def = "<strong>Installation</strong><br>Need help setting up your network?  Our certified, experienced technical support will do it for you.";
			break;
	
		case "modemContract":
			def = "<strong>Contract</strong><br>Save even more by signing up for a two-year contract!";
			break;
	
		case "email":
			def = "<strong>E-mail</strong><br>E-mail has become the most popular form of communication for millions of people.  Your e-mail box is your own private corner of the internet and DWX provides you with high-quality, safe & secure e-mail services."
			break;
		case "emailStorage":
			def = "<strong>250 MB of Storage!</strong><br>Until you download your messages to your computer, we will keep up to 250 MEGS of emails on our server.  That is literally THOUSANDS of messages!"
			break;
		case "attachmentSize":
			def = "<strong>5 MB Attachment Size!</strong><br>Instantly send sounds, photos and even videos to your friends and family. Many free mail services will limit you to only 1-2 MB, but with DWX, you can send large attachments with ease!"
			break;
		case "spamFilter":
			def = "<strong>Spam Filtering</strong><br>Spam gets detected when it hits our server and is identified as such for you.  You get control of whether to read it or kill it immediately. "
			break;
		case "messageLife":
			def = "<strong>Unlimited Message Life</strong><br>Your emails will stay on our servers until YOU download or delete them."
			break;
		case "emailAntiVirus":
			def = "<strong>E-mail Anti-Virus</strong><br>Viruses, worms, Trojan Horse files, pests…  What’s next?  You don’t want to find out the hard way.  Studies have found that new versions of these problems are surfacing almost daily.  <br><br><strong>Protect yourself!</strong>  <br><br><strong>DWX</strong> employs state-of-the-art screening software to scan everything that’s sent to your e-mail box.  When we find a known danger, we stop it from ever reaching your PC."
			break;
		case "pop3":
			def = "<strong>POP3 / IMAP Ready</strong><br>DWX Email is ready to hook into any of your favorite email programs, such as Outlook Express, Outlook, Thunderbird, and Opera."
			break;
		case "addlBoxes":
			def = "<strong>Additional E-mail Boxes</strong><br>You can have up to 9 additional E-mail addresses!"
			break;
		case "addlBoxesStorage":
			def = "You may store up to 100 MB in each of your additional email boxes! Thats THOUSANDS of messages!"
			break;
		case "addlBoxesAttach":
			def = "Instantly send sounds, photos and even videos to your friends and family."
			break;
		case "addlBoxesProSpam":
			def = "<strong>Professional Spam Blocker</strong><br>Spam doesn’t stand a chance against you & <strong>DWX</strong>.  Our Spam-blocking system identifies anything that looks suspicious and pulls it aside into quarantine.  <b>You control whether to view it or kill it.</b> "+
				  "<br><br>Quarantining, rather than automatically killing suspected spam, means your e-mail isn’t hindered by ‘false positives’ – good e-mail, misidentified as suspicious – getting deleted. "+
				  "<br><br>Any messages containing known viruses are killed immediately.  Those will never reach your PC! "+
				  "You can also have the system automatically delete or automatically allow all messages from a specified sender. "+
				  "That’s complete control and security of your <strong>DWX</strong> e-mail. No need to buy additional anti-spam software."
			break;
		case "phoneSupport":
			def = "<strong>24 Hour Live Support</strong><br>Emergency problems can be addressed 24 hours a day, 7 days a week!  <br><br>Our live technical support is ready to tackle any problem and is only a toll-free call away. <b>1-(800)-123-4567</b>"
			break;
		case "onlineSupport":
			def = "<strong>On-Line Support</strong><br>We want your internet experience to be secure & hassle-free. <br><br>Can’t figure out what’s wrong? Check out our Support page.  You’ll find answers to FAQs, tips & guidance.<br><br>Still can’t solve it? Contact DWX with problems and questions regarding your service and we’ll get you up and on your way as soon as possible."
			break;
		case "antiVirus":
			def = "<strong>Computer Anti-Virus</strong><br>Viruses.  Spyware.  Adware.  Etc.  They bog down your machine – at a minimum - and can be very dangerous to your computer’s health, as well as your own personal security. <br><br>DWX provides software to keep your computer free of the problems associated with these rogues and operating at its highest level."
			break;
		case "antiSpyware":
			def = "<strong>Computer Anti-Spyware</strong><br>Viruses.  Spyware.  Adware.  Etc.  They bog down your machine – at a minimum - and can be very dangerous to your computer’s health, as well as your own personal security. <br><br>DWX provides software to keep your computer free of the problems associated with these rogues and operating at its highest level."
			break;
		case "firewall":
			def = "<strong>Firewall</strong><br>Firewall software guards against unauthorized remote access to your PC and its contents. <br><br>All <strong>DWX Internet</strong> service plans provide complete compatibility for all major firewall programs. Many effective programs are available, often at no cost to the individual user."
			break;
		case "im":
			def = "<strong>Instant Messaging Compatible</strong><br>All <b>DWX Internet</b> service plans provide complete compatibility with Instant Messaging programs from AOL, MSN, Yahoo!, and many other popular IM services.  <br><br>Links to many Instant Messaging services can be found on the <b>DWX</b> Members Page."
			break;
		case "customStartPage":
			def = "<strong>Customizable Start-Up Page</strong><br>DWX internet service comes with access to web portal that is totally customizable by the member.  No more being force-fed what your Internet Service Provider is being paid by advertisers to display in front of you whenever you logon. "
			break;
		case "personalWebsite":
			def = "<strong>Personal Web Site</strong><br>Have fun with your own personal or family’s web site!  Your start-up page comes with the tools & web space to create your own world wide identity!"
			break;
		case "trueSwitch":
			def = "<strong>TrueSwitch</strong><br>TrueSwitch makes changing your Internet Service Provider easy. We copy all your personal data to the new account, notify everyone with the new email address, forward emails sent to your old email address and help you cancel the old account."
			break;
		case "parentalControls":
			def = "<strong>Parental Controls</strong><br>Keeping your kids safe on the internet is vital!  <br>DWX is committed to providing the safest, most secure internet service possible.<br><br>Our Parental Control System is updated 24/7 to stay at the forefront of internet security and is always standing guard to protect young eyes.<br><br>Parents have complete control of this DWX feature, and can activate/deactivate easily."
			break;
		case "webAccelerator":
			def = "<strong>Web Accelerator</strong><br>Web Accelerator" + 
					"Xcellerator from DWX makes your access to the World Wide Web up to 5 times faster than standard dial-up!  All with no additional equipment required!  <br>" +
					"<br>This technology allows most web page & e-mail files to ission to you faster & easier. With our X-cellerator feature, almost everything you do online – surfing, securbe compressed at our server, making transmity measures, e-mail, etc – will be accelerated and your internet activity will cruise right along! " +
					"<br><br>Works with files containing text as well as most graphics & photos."
					//make this larger
					size = "large";
			break;
		case "addlPrimaryEmail":
			def = "<strong>Additional Primary E-mail Inbox</strong><br>Sometimes, you just need a few different addresses!"
			break;
		case "popupBlocker":
			def = "<strong>Is there anything more annoying than pop-up ads?! </strong><br>" + 
					"Every DWX Internet service plan works with all major Pop-Up killing software.  The Pop-Up blocking feature of your operating system will run smoothly with any DWX service plan."	//make this larger
			break;

		//cant find a definition
		default:
			def = "We're Sorry, We currently do not have a definition for this item";
	}//end switch


//popup tooltip
if(size != "large"){
	ddrivetip(def, "#E8E8E8", 300)
} else {
	ddrivetip(def, "#E8E8E8", 400)
}
//reset size
size = null;
}//end function


function closeGlossary(){
	hideddrivetip();
}

//************ DO NOT EDIT BELOW THIS LINE!!!!!!!!! ************************************\\

/***********************************************
* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip
