<!-- Vignette StoryServer 4 Wed Feb 06 17:27:51 2002 -->
<!--
var useSecureImg = 0;
if (parent.frames.length != 0) {
	 for (var i=0; i < eval(parent.frames); i++) {
		var httpRequest = parent.frames[i].location.href;
		if (httpRequest.substring(0,5) == "https") var useSecureImg = 1
	}
} else {
	 var httpRequest = parent.location.href;
	if (httpRequest.substring(0,5) == "https") var useSecureImg = 1
}

function go(box) {
	var val = box.options[box.selectedIndex].value;
	if (val != "") top.location = val;
}

function pick(form, box) {
	var val = box.options[box.selectedIndex].value;
	if (val != "") form.submit();
}

function stripText(oldChar, newChar, str){
	if (str.indexOf(oldChar) > -1){
		var start = 0;
		var strLen = str.length;
		var oldCharLen = oldChar.length;
		var testRes = -1;
		var tempStr = "";
		var x = 0;
		while (x < 1) {
			oldCharIndex = str.indexOf(oldChar, start);
			if (start < strLen){
				if (tempStr != "") tempStr = tempStr + newChar;	
				if (oldCharIndex != -1)	tempStr = tempStr + str.substring(start, oldCharIndex);
				else  {
					tempStr = tempStr + str.substring(start, strLen);
					x = 1;
				}
				start = (oldCharIndex + oldCharLen);
			} else x = 1;
		}
		return tempStr;
	} else return str;
}

function gotoHeaderSearch(searchForm) {
	var searchType = searchForm.type;
			switch (searchType.selectedIndex) {
				case 1:		searchForm.action = "http://dir.excite.com/d/search/p/excite";
							searchForm.c.value = "directory";
							searchForm.Partner.value = "infospace_excite_dir";
							break;
				case 2:		searchForm.action = "http://dpxml.infospace.com/info.xcite/dog/webresults.htm";
							searchForm.s.name = "qkw";
							searchForm.c.name = "qcat";
							break;
				case 3:		searchForm.action = "http://dpxml.infospace.com/info.xcite/dog/webresults.htm";
							searchForm.s.name = "qkw";
							searchForm.c.value = "news";
							searchForm.c.name = "qcat";
							searchForm.Partner.value = "nws";
							searchForm.Partner.name = "fs";
							break;
				case 4:		searchForm.action = "http://dpxml.infospace.com/info.xcite/dog/imageresults.htm";
							searchForm.s.name = "qkw";
							searchForm.c.name = "qcat";
							searchForm.Partner.value = "images";
							searchForm.Partner.name = "fs";
							break;
			}
			return true;
}

function globHtmlSearchBox() {
	var htmlSearchBox = '<table border=0 cellspacing=0 cellpadding=0 width=100% bgcolor=000000>' +
	'<tr>' +
	'<td bgcolor=000066 align=right height=30>' +
	'<table border=0 cellpadding=0 cellspacing=0 width=100%>' +
	'<tr valign=bottom>' +
	'<form name=headerSearch method=get action="http://srch.excite.com/d/search/p/excite" onSubmit=gotoHeaderSearch(this) target=_top>' +
	'<td nowrap width=25%>&nbsp;' +
	'<font face="verdana,geneva,arial" size=-2 color=ffffff>Search&nbsp;' +
	'</font>' +
	'<font face="verdana,geneva,arial" size=-2>' +
	'<select name="type">' +
	'<option value=web>The Web</option>' +
	'<option value=directory>Directory</option>' +
	'<option value=meta>Metasearch</option>' +
	'<option value="news">News</option>' +
	'<option value="photo">Photos</option>' +
	'</select>' +
	'</font>&nbsp;&nbsp;' +
	'<font face="verdana,geneva,arial" size=-2 color=ffffff>For&nbsp;' +
	'<input type=hidden name=c value="web">' +
	'<input type=hidden name=Partner value="infospace_excite_search">' +
	'<input  name="s" size=17 value="">' +
	'</font>' +
	'</td>' +
	'<td><font face="verdana,geneva,arial" size=-2>&nbsp;' +
	'<input type=submit value="Search" height=20>' +
	'</font>' +	
	'</td>' +
	'</form>' +
	'<td valign=middle align=right>' +
	'<font color=ffffff face="verdana,geneva,arial" size=1>' +
	'<a href=http://www.excite.com><font size=1 color=ffffff>Excite</font></a>&nbsp;|&nbsp;<a href=http://lite.excite.com><font size=1 color=ffffff>Lite</font></a>&nbsp;|&nbsp;<a href=http://rd.excite.com/sp/em><font size=1 color=ffffff>Email</font></a>&nbsp;|&nbsp;<a href=http://help.excite.com><font size=1 color=ffffff>Help</font></a>&nbsp;' +
	'</font>' +
	'</td>' +			
	'</tr>' +
	'</table>' +
	'</td>' +
	'</tr>' +
	'</table>';
	document.write(htmlSearchBox);
}

function globHtmlSelectBox() {
	var dell_img_src;
	if (useSecureImg == 1) {
		dell_img_src = "https://cashback.excite.com/cashback/cashback/images/dell_emc.gif"
	} else {
		dell_img_src = "http://image.imgfarm.com/ex/lg/dell_emc.gif"
	}
	var htmlSelectBox = '<table border=0 cellpadding=0 cellspacing=0 width=100%>' +
		'<tr>' +
			'<td>' +
				'<table border=0 cellspacing=0 cellpadding=0 width=100%>' +
				'<tr>' +
					'<td height=2></td>' +
				'</tr>' +
				'</table>' +
			'</td>' +
		'</tr>' +
		'<tr><form>' +
			'' +
			'<td width=100% align=left>' +
			'<font face="verdana,geneva,arial" size=-2>' +
			'<select name=featuredguides onChange=go(this) size=1>' +
			'<option value="">Quick Find' +
			'<option value=http://auctions.excite.com/index.html>Auctions' +
			'<option value=http://autos.excite.com/index.html>Autos' +
			'<option value=http://www1.excite.com/home/careers/careers_overview/0,11803,,00.html>Careers' +
			'<option value=http://cashback.excite.com/cashback/home.jsp>Cash Back' +
			'<option value=http://games.excite.com/casino/index.html>Casino' +
			'<option value=http://celebgossip.excite.com/index.html>Celebrities' +
			'<option value=http://communicate.excite.com/index.html>Community' +
			'<option value=http://computers.excite.com/index.html>Computers' +
			'<option value=http://rd.excite.com/sp/em>Email' +
			'<option value=http://entertainment.excite.com/index.html>Entertainment' +
			'<option value=http://fashion.excite.com/index.html>Fashion' +
			'<option value=http://games.excite.com/index.html>Games' +
			'<option value=http://www1.excite.com/greetings/0,20409,,00.html>Greetings' +
			'<option value=http://health.excite.com/index.html>Health' +
			'<option value=http://horoscopes.excite.com/index.html>Horoscopes' +
			'<option value=http://money.excite.com/home.html>Investing' +
			'<option value=http://lifestyle.excite.com/index.html>Lifestyle' +
			'<option value=http://lottery2.excite.com/index.html>Lottery' +
			'<option value=http://movies.excite.com>Movies' +
			'<option value=http://www1.excite.com/home/music/music_overview/0,16111,,00.html>Music' +
			'<option value=http://news.excite.com/index.html>News' +
			'<option value=http://realestate.excite.com/index.html>Real Estate' +
			'<option value=http://www1.excite.com/home/relationships/relationships_overview/0,13946,,00.html>Relationships' +
			'<option value=http://shopping.excite.com/index.html>Shopping' +
			'<option value=http://www1.excite.com/home/companyinfo/site_map/0,3880,,00.html>Site Map' +
			'<option value=http://local.excite.com/small_business/index.html>Small Business' +
			'<option value=http://sports.excite.com/index.html>Sports' +
			'<option value=http://today.excite.com/index.html>Today' +
			'<option value=http://travel.excite.com/index.html>Travel' +
			'<option value=http://tv.entertainment.excite.com/index.html>TV' +
			'<option value=http://weather.excite.com/index.html>Weather' +
			'<option value=http://www.infospace.com/info.xcite/redirs_all.htm?pgtarg=ppli>White Pages' +
			'<option value=http://www.infospace.com/info.xcite/redirs_all.htm?pgtarg=ylwi>Yellow Pages' +
			
			'</select>' +
			'</font>' +
			'</td>' +
		'</tr></form>' +
		'</table>' ;
	document.write(htmlSelectBox);
}
function globHtmlHeaderLine() {
	document.write();
	var htmlHeaderLine = '<table border=0 cellspacing=0 cellpadding=0 width=100%>' +	
	'<tr>' +		
	'<td bgcolor="cccccc">' +
		'<table border=0 cellspacing=0 cellpadding=0 width=100%>' +
		'<tr>'+
			'<td height=2></td>'+
		'</tr>'+
		'</table>'+
	'</td>'+
	'</tr>'+
'</table>';		
	document.write(htmlHeaderLine);
}
//-->