function passNumber(e) {	var keynum;		if(window.event) { // IE		keynum = e.keyCode;	} else if(e.which) { // Netscape/Firefox/Opera		keynum = e.which;	}		if(keynum==44) return false; //no commas	if(keynum==46) return false; //no decimals	//if you block other characters you can break copy/paste/tabbing/etc		return true;}function validateName(obj) {	if(obj.value.indexOf(".")==-1) {		document.getElementById('err_name').style.visibility="visible";	} else {		document.getElementById('err_name').style.visibility="hidden";	}	modifyLinks();}function modifyLinks() {	var name = document.getElementById('domain').value;	if(name!='') {		document.getElementById('alexalink').href="http://www.alexa.com/data/details/?url="+name;		document.getElementById('inlinks').href="http://www.google.com/search?q=link:http://www."+name;		document.getElementById('whois').href="http://www.whois.net/whois.cgi2?d="+name;	} else {		document.getElementById('alexalink').href="http://www.alexa.com/";		document.getElementById('inlinks').href="http://www.google.com/";		document.getElementById('whois').href="http://www.whois.net/";	}}function findPosY(obj) {	var curtop = 0;	if (obj.offsetParent) {		while (obj.offsetParent) {			curtop += obj.offsetTop			obj = obj.offsetParent;		}	} else if (obj.y) {		curtop += obj.y;	}	return curtop;}function showHelp(obj, num) {	var helpbox = document.getElementById('help');	var help = document.getElementById('helptext');	var height = obj.offsetHeight;	var top = findPosY(obj);	top = top-10;		helpbox.style.visibility = "visible";	helpbox.style.top = top+"px";	helpbox.style.left = "450px";		switch(num) {		case 1: help.innerHTML = "Please leave out the www but not the extension. As a rule of thumb, short names are better, the .com extension is the most valuable and regular english words are not as good as made-up words. For example, 'google.com' is better than 'theBigSearchEngine.com'."; break;		case 2: help.innerHTML = "Fewer words is better. Ideally your name would be a single word. (Google, Yahoo, Digg, Flickr, Blogger, Amazon, etc)"; break;		case 3: help.innerHTML = "Using common prefixes or suffixes (i-, e-, my-) can greatly decrease the value of your name."; break;		case 4: help.innerHTML = "Unusual spelling means that visitors will have a hard time remembering your name."; break;		case 5: help.innerHTML = "Difficult pronunciation can prevent people from talking about your website. This can hurt the value of your name."; break;		case 6: help.innerHTML = "This number shows how important Google thinks your website is.  You will need to install the Google Toolbar to get this number."; break;		case 7: help.innerHTML = "The Alexa traffic rank gives a good estimate of the popularity of your website versus the rest of the internet."; break;		case 8: help.innerHTML = "The more people that link to you, the better. Each incoming link (or backlink) to your website is a valuable asset."; break;		case 9: help.innerHTML = "This is the number of unique visitors that you have in a month.  This number is used to estimate the number of customers you have."; break;		case 10: help.innerHTML = "This is the number of pages that you show in a month.  This is used with the above number to determine the number of pages viewed per user.  This is also used to calculate the amount of advertising revenue possible."; break;		case 11: help.innerHTML = "Websites that have been around for a while are more valuable.  You should only list the number of years that the website has been in use. So, if the name was parked for 2 years before you developed it, don't count that."; break;		case 12: help.innerHTML = "Being listed in the Yahoo Directory can drive a lot of traffic to your website and is a big stamp of approval.  This is different from being listed in the Yahoo search engine."; break;		case 13: help.innerHTML = "Naturally, if your website shows on the first page of a search you will get more visitors.  Only check this box if you are on the front page for a relevant keyword to your business."; break;		case 14: help.innerHTML = "Current income is a large factor in evaluating the value of a website because it shows that your website is already successful."; break;		case 15: help.innerHTML = "Don't put all your eggs in one basket. Having diversity helps protect your income from a downturn in a particular source."; break;		case 16: help.innerHTML = "Having diversity helps protect your income from a downturn in a particular source.  Check this box if your income comes from 1 source, or predominantly from one source."; break;		case 17: help.innerHTML = "Advertising revenue is a little more vulnerable than other sources."; break;		case 18: help.innerHTML = "It is hard to set yourself apart from the crowd if the crowd is large.  The more competitors you have, the more work it takes to stay on top and the less valuable your website will be."; break;		case 19: help.innerHTML = "Patents or trade secrets help protect your intellectual property and put you ahead of the competition."; break;		case 20: help.innerHTML = "Getting a registered trademark is the first step towards building a strong brand.  This also proves that the name you have chosen is unique and relevant.  This greatly increases the value of your name."; break;		case 21: help.innerHTML = "Having something unique helps set you apart from the crowd and makes your website more valuable."; break;	}}function hideHelp() {	document.getElementById('help').style.visibility = "hidden";}