<!-- Vignette StoryServer 4 Mon Jul 08 15:43:39 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
}
if (useSecureImg == 0) {
	var searchImage = "http://image.iwon.com/images/search/isearch.gif";
} else {
	var searchImage = "https://mycashpoints.iwon.com/cash_points/images/isearch.gif";
}
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 gotoSearch_new() {
	var searchForm = document.symbol_search_form;
	var searchType = searchForm.type;
	for (var i=0;i < searchType.length;i++) {
		if (searchType[i].checked) {
			if (i == 1) {
				searchForm.action = "http://search.iwon.com/commerce/multisearch.jsp?alias=/alias/search&PG=global&SEC=search";
				searchForm.symbol_search_text.name = "searchfor";
			} else {
				top.location =  "http://www.iwon.com/bd.redir?redir=http://iwonshopping.dealtime.com/BannerIn/&linkin_id=1005663&nFormId=&path=/GS2/GS2Wrap&http://iwonshopping.dealtime.com/GS2/GS2Wrap/1,4677,,FF.html&nFormID=&nParentFormID=&NavigationGroupId=1&WeightGroupId=31&uid=&bid=70&Operator=2&keyword=" + escape(searchForm.symbol_search_text.value) + "&alias=/external/dealtime&PG=global&SEC=search";
				return false;
			}
			return true;
		}
	}
	return false;
}

function gotoSearch() {
	var searchForm = document.symbol_search_form;
	var searchType = searchForm.type;
	for (i=0; i < searchType.length; i++) {
		if (searchType[i].checked) {
			if (i == 1) {
				searchForm.method = "get";
				searchForm.action = "http://money.iwon.com/jsp/qt/short.jsp?alias=/alias/search&PG=global&SEC=search";
			} else {
				if (i == 2) {
					top.location =  "http://www.iwon.com/bd.redir?redir=http://iwonshopping.dealtime.com/BannerIn/&linkin_id=1005660&nFormId=&path=/GS2/GS2Wrap&http://iwonshopping.dealtime.com/GS2/GS2Wrap/1,4677,,FF.html&nFormID=&nParentFormID=&NavigationGroupId=1&WeightGroupId=31&uid=&bid=70&Operator=2&keyword=" +escape(searchForm.symbol_search_text.value)+ "&alias=/external/dealtime&PG=global&SEC=search";
										return false;
				} else {
					if (i == 3) {
						searchForm.method = "post";
						searchForm.action = "http://domains.iwon.com/index.ald?adcode=headersrch&dn1="+escape(searchForm.symbol_search_text.value)+"&ext1=com&submit=check+it";
					} else {
						searchForm.action = "http://search.iwon.com/commerce/multisearch.jsp?alias=/alias/search&PG=global&SEC=search";
						searchForm.symbol_search_text.name = "searchfor";
					}
				}
			}
			return true;
		}
	}
	return false;
}

function globHtmlSearchBox() {
	var htmlSearhBox = '<td align=right>' +
		'<table border=0 cellpadding=4 cellspacing=0 width=100%>' +
		'<tr valign=top>' +
		'<td width=100% align=right>' +
		'<table width=100% cellpadding=2 cellspacing=0 border=0>' +
		'<tr valign=top>' +
		'<form name=symbol_search_form method=get action=http://search.iwon.com/commerce/multisearch.jsp?alias=/alias/search&PG=global&SEC=search onSubmit="return gotoSearch();">' +
		'<td nowrap align=right><font face=Verdana,Sans-Serif size=1 color=666666>7&nbsp&gt;&nbsp;</font><input name=symbol_search_text size=26 maxlen=245 style={height:24px}></input><input type=hidden name=symbol_search_select value=short></input>&nbsp;<input type=hidden name=alias value=/alias/search></input><input type=image src=' +
searchImage +
		' border=0 width=64 height=24 valign=top align=top></input><fon size=1>&nbsp;</font></td>' +
		'</tr>' +
		'<tr valign=top>' +
		'<td nowrap align=right>' +
		'<table cellpadding=0 cellspacing=0 border=0 align=right>' +
		'<tr>' +
		'<td><input type=radio name=type checked></td>' +
		'<td><font color=black face=Verdana,Sans-Serif size=1>Web &nbsp;</td>' +
		'<td><input type=radio name=type></td>' +
		'<td><font color=black face=Verdana,Sans-Serif size=1>Stock Quote &nbsp;</td>' +
		'<td><input type=radio name=type></td>' +
		'<td><font color=black face=Verdana,Sans-Serif size=1>Shopping &nbsp;</font></td>' +
		'<td><input type=radio name=type></td>' +
		'<td><font color=black face=Verdana,Sans-Serif size=1>Domains&nbsp;</font></td>' +
		'</tr>' +
		'</table>' +
		'</td>' +
		'</form>' +
		'</tr>' +
		'</table>' +
		'</td>' +
		'</tr>' +
		'</table>' +
		'</td>' ;
	document.write(htmlSearhBox);
}

function globHtmlSelectBox() {
	document.write();
	var htmlSelectBox = '<td nowrap align=right>' +
	'<table border=0 cellpadding=0 cellspacing=0 width=100%>' +
	'<tr>' +
	'<form>' +
	'<td align=right>' +
	'<select name=featuredguides onChange=go(this) size=1 align=absmiddle>' +
		'<option value="">iWon Features' +
		'<option value="">---------------' +
		'<option value=http://auctions.iwon.com/index.html>5&nbsp;&gt;&nbsp;Auctions' +
		'<option value=http://autos.iwon.com/index.html>6&nbsp;&gt;&nbsp;Autos' +
		'<option value=http://bargains.iwon.com/index.html>6&nbsp;&gt;&nbsp;Bargains' +
		'<option value=http://calendar.iwon.com/servlet/com.iwon.ecal.Redirect2Ecal?return_url=http://ecapi.ecal.com/ecapi/iwon/iwonlogin.plex&must_register=true&lhost=http://www.iwon.com>4&nbsp;&gt;&nbsp;Calendar' +
		'<option value=http://careers.iwon.com/index.html>6&nbsp;&gt;&nbsp;Careers' +
		'<option value=http://games.iwon.com/casino/index.html>7&nbsp;&gt;&nbsp;Casino' +
		'<option value=http://entertainment.iwon.com/celebgossip/index.html>5&nbsp;&gt;&nbsp;Celebrity Gossip' +
		'<option value=http://communicate.iwon.com/index.html>4&nbsp;&gt;&nbsp;Communicate' +
		'<option value=http://computers.iwon.com/index.html>5&nbsp;&gt;&nbsp;Computers' +
		'<option value=http://www.iwon.com/home/toolbar/copilot_overview/0,3755,,00.html>5&nbsp;&gt;&nbsp;Co-Pilot' +
		'<option value=http://www.iwon.com/home/email/email_init/0,17107,,00.html>7&nbsp;&gt;&nbsp;Email' +
		'<option value=http://entertainment.iwon.com/index.html>5&nbsp;&gt;&nbsp;Entertainment' +
		'<option value=http://fashion.iwon.com/index.html>5&nbsp;&gt;&nbsp;Fashion &amp; Beauty' +
		'<option value=http://food.iwon.com/index.html>4&nbsp;&gt;&nbsp;Food &amp; Drink' +
		'<option value=http://games.iwon.com/index.html>5&nbsp;&gt;&nbsp;Games' +
		'<option value=http://www.iwon.com/bd.redir?redir=http://www.americangreetings.com/index.pd&source=iwon&PG=global&SEC=fd&alias=/external/americangreetings>5&nbsp;&gt;&nbsp;Greeting Cards' +
		'<option value=http://health.iwon.com/index.html>5&nbsp;&gt;&nbsp;Health' +
		'<option value=http://homegarden.iwon.com/index.html>6&nbsp;&gt;&nbsp;Home & Garden' +
		'<option value=http://horoscopes.iwon.com/index.html>5&nbsp;&gt;&nbsp;Horoscopes' +
		'<option value=http://lottery2.iwon.com/index.html>5&nbsp;&gt;&nbsp;Lottery' +
		'<option value=http://love.iwon.com/index.html>5&nbsp;&gt;&nbsp;Love & Advice' +
		'<option value=http://local.iwon.com/maps/index.html>4&nbsp;&gt;&nbsp;Maps/Directions' +
		'<option value=http://money.iwon.com/home.html?alias=/alias/money/cm/hm>7&nbsp;&gt;&nbsp;Money' +
		'<option value=http://monthlyprizes.iwon.com/mp/overview.jsp?SEC=dd>5&nbsp;&gt;&nbsp;Monthly Bonus' +
		'<option value=http://www.iwon.com/home/movies/movies_home_index/0,11755,,00.html>5&nbsp;&gt;&nbsp;Movies' +
		'<option value=http://www.iwon.com/home/music/music_overview/0,16111,,00.html>5&nbsp;&gt;&nbsp;Music' +
		'<option value=http://news1.iwon.com/index.html>5&nbsp;&gt;&nbsp;News' +
		'<option value=http://parenting.iwon.com/index.html>4&nbsp;&gt;&nbsp;Parenting' +
		'<option value=http://pick7.games.iwon.com/index.html>6&nbsp;&gt;&nbsp;Pick 7' +
		'<option value=http://www.iwon.com/home/instantwin/overview/0,13982,,00.html>5&nbsp;&gt;&nbsp;Prize Machine' +
		'<option value=http://prizes.iwon.com/index.html>5&nbsp;&gt;&nbsp;Prizes' +
		'<option value=http://www.iwon.com/home/entertainment/iwon_radio/0,4009,,00.html>5&nbsp;&gt;&nbsp;Radio' +
		'<option value=http://realestate.iwon.com/index.html>6&nbsp;&gt;&nbsp;Real Estate' +
		'<option value=http://www.iwon.com/bd.redir?redir=http://cashpoints.iwon.com&PG=global&SEC=fd&alias=/external/cashpoints>7&nbsp;&gt;&nbsp;Reward Points' +
		'<option value=http://www.iwon.com/home/search/search_simple/0,11747,,00.html>3&nbsp;&gt;&nbsp;Search/Tools' +
		'<option value=http://shopping.iwon.com/index.html>9&nbsp;&gt;&nbsp;Shopping' +
		'<option value=http://local.iwon.com/small_business/index.html>4&nbsp;&gt;&nbsp;Small Business' +
		'<option value=http://sports.iwon.com>5&nbsp;&gt;&nbsp;Sports' +
		'<option value=http://travel.iwon.com/index.html>6&nbsp;&gt;&nbsp;Travel' +
		'<option value=http://tv.entertainment.iwon.com/index.html>5&nbsp;&gt;&nbsp;TV' +
		'<option value=http://weather.iwon.com/index.html>5&nbsp;&gt;&nbsp;Weather' +
		'<option value=http://winners.iwon.com/index.html>4&nbsp;&gt;&nbsp;Winners' +
		'<option value=http://companyinfo.iwon.com/site_map/index.html>5&nbsp;&gt;&nbsp;Site Map' + 
	'</select>' +
	'</td>' +
	'</form>' +
	'</tr>' +
	'</table>' +
	'</td>' ;
	document.write(htmlSelectBox);
}
//-->
