function nothing(){} 
function getAdBannerVariables() {}
function displayAdBanner() {}  

function displaySearchHeader() { 
  displaySearchHeaderWImage('/images/search_44.gif') ; 
}
function displaySearchHeaderWImage(imagename) { 
  document.write('<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=white><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td align=left width=175><a href="http://www.iwon.com/home/search/search_simple/0,11747,,00.html"><img src=http://image.iwon.com' + imagename + ' border=0></a></td><td align=absright><table width=100%><tr><td align=center>') ; 
} 
 
function drawResultAreaTop() { 
  document.write('</td></tr></table></td></tr></table>') ; 
  document.write('<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td colspan=2>') ; 
  displayNavBar(currentJSP, 'topnavbarsearchform') ; 
  document.write('</td></tr><tr valign=top><td width=100%>') ; 
  displaySearchBox() ; 
} 
function drawResultAreaMiddle() {   
  document.write('</td><td width=210 valign=top>') ; 
}
function drawResultAreaBottom() { 
  document.write('<table><tr><td width=210></td></tr></table>') ; 
  document.write('</td></tr><tr><td colspan=2>') ; 
  blueLineHTML() ; 
  document.write('<table width=100%><tr align=center><td colspan=2>') ; 
  displayBottomSearchBox() ; 
  document.write('</td></tr></table>') ; 
  displayNavBar(currentJSP, 'bottomnavbarsearchform') ; 
  document.write('</td></tr><tr><td colspan=2>&nbsp;</td></tr><tr align=center><td colspan=2>') ; 
  document.write('</td></tr></table>') ; 
} 

function drawSearchFooter() {  
  document.write(' </body></html>') ;  
}

function displayGotoResults(errmsg) {  
  if ( GOnumresults > 0 ) { 
    displaySearchReultsHeaderBar('FEATURED LISTINGS<br>(No entries for clicking on these links.)', '') ;
  } 
  displayGotoLinks(errmsg) ;  
}

function displayGotoLinks(errmsg) {
  if ( GOnumresults>0 ) {
    document.write('<TABLE cellpadding=0 cellpadding=4 width=100% border=0>') ;     for (GOx = 0 ; GOx < GOnumresults ; GOx++) { 
       displayGotoResult(GOurl[GOx], GOtitle[GOx], GOdesc[GOx], GOcost[GOx]) ; 
    }  
    document.write('<TR><TD align=right><FONT face=Verdana,Sans-Serif size=1>') ; 
    if ( GOnextlink.length > 0 ) { 
	  document.write('<A href="' + GOnextlink + '"><b>More Featured Listings</b></A></font>') ; 
    } else { 
	  document.write('&nbsp;</FONT>') ; 
	} 
    document.write('</td></tr><tr><td><font size=1>&nbsp;</font></TD></TR></TABLE>') ; 
  } else if ( errmsg == true ) { 
    document.write('<table width=100%><tr><td>') ; 
    displayNoResultsMsg('Featured Listings') ; 
    document.write('</td></tr></table>') ; 
  } 
} 
function displayGotoResult(url, title, description, cost) { 
  var redurl ; 
  if ( cost > 0 ) { 
    redurl = 'http://search.iwon.com/commerce/search_redir.jsp?redir=' + escape(url) + '&cpc=' + cost ; 
  } else { 
    redurl = 'http://search.iwon.com/commerce/search_redir.jsp?redir=' + escape(url) ; 
  } 

  document.write('<tr><td><font face=Verdana,Sans-Serif size=2 color=0033cc><b><a href="' + redurl + '">' + title + '</a></b></font></td></tr><tr><td><font face=Verdana,Sans-Serif size=1>' + description + '</font></td></tr><tr><td height=5><img src=http://i1img.com/images/spacer.gif></td></tr>') ; 
}  

function newsPopUp(file){  
  var newswin = window.open(file,'newsresultwindow','directories=no,location=no,width=640,height=550,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes');
  newswin.focus() ; 
}

 var dhtlgm = new Array(  
    'http://i1img.com/images/0_men.gif',
    'http://i1img.com/images/1_men.gif',
    'http://i1img.com/images/2_men.gif',
    'http://i1img.com/images/3_men.gif',
    'http://i1img.com/images/4_men.gif',
    'http://i1img.com/images/5_men.gif') ; 
function displayDirectHitResults(errmsg) { 
  if ( DWnumresults > 0 ) { 
    displaySearchReultsHeaderBar('MOST POPULAR SITES', (firstresult+1) + '-' + (DWnumresults+firstresult) + '&nbsp;&nbsp;' + searchJSPBoneHTML + '<a href="' + DWnextlink + '">More</a>') ; 
    document.write('<table cellpadding=0 cellpadding=0 width=100% border=0>');
	document.write('<tr><td colspan=2><table width=100%><tr><td align=left><font face=Verdana,sans-serif size=1>Relevancy from <img src="' + dhtlgm[1] + '"> to <img src="' + dhtlgm[5] + '"></font></td></table></td></tr>') ; 
    for (DWx = 0 ; DWx < DWnumresults ; DWx++) { 
      displayDirectHitWebResult(DWtitle[DWx], DWurl[DWx], DWredir[DWx], DWdesc[DWx], DWrank[DWx]) ; 
	}  
    document.write('<tr><td colspan=2 align=right><font face=Verdana,sans-serif size=1>' + searchJSPBoneHTML + '<a href="' + DWnextlink + '"><b>Next 10 Web Sites</b></a></font></td></tr>') ;
    document.write('</TABLE>') ;  
  } else { 
    document.write('<table width=100%><tr><td>') ; 
	displayNoResultsMsg('Top 10') ; 
    document.write('</td></tr></table>') ; 
  } 
}  

function displayDirectHitWebResult(title, url, redir, desc, rank) { 
  document.write('<tr><td width=1% valign=top>' + DWBoneValue + '</td><td><font face=Verdana,sans-serif color=0033cc size=2><b><a href="' + redir + '">' + title + '</a></b></font>') ; 
  if ( rank > 0 ) { 
    document.write('&nbsp;<img src=' + dhtlgm[rank] + '>') ; }
  document.write('<br>') ; 
  if ( desc.length > 1 ) { 
    document.write('<font face=Verdana,sans-serif size=1>' + desc + '</font><br>') ; } 
  document.write('<font face=Verdana,sans-serif size=1>Location:&nbsp;<font color=0033cc><a href="' + redir + '">' + url + '</A></font></FONT><br><font size=1>&nbsp;<br></font></td></tr>') ; 
}

function displayDirectHitSidebar() { 
var numRelSearches = DRsearch.length ; 
if ( numRelSearches > 0 ) { 
 displaySearchReultsSidebarBoxHead("TOP 10 RELATED SEARCHES") ; 
 displayDirectHitRelatedSearch(searchfor) ; 
    for (DRx = 0 ; DRx < numRelSearches ; DRx++ ) { 
      displayDirectHitRelatedSearch(DRsearch[DRx]) ; 
    }  
  displaySearchResultsSidebarBoxTail() ; 
  sideBarSpace() ; 
  }
}

function displayDirectHitRelatedSearch(searchstr) { 
  document.write('<tr><td align=left width=5%>' + DRBonevalue + '</td>') ; 
  document.write('<td><FONT face=verdana,sans-serif size=2 color=0033cc><b><a href="' + directhitjsp + '?searchfor=' + escape(searchstr) + '">' + searchstr + '</a></b></font></td></tr>') ; 
} 

function displayNewsResults(cat, src, errmsg) { 
  if ( INnumresults > 0 ) { 
    var countLink = (firstresult+1) + '-' + 
  	     (INnumresults+firstresult) + ' (of ' + INtotalresults + ')' ; 
    if ( INnumresults + firstresult < INtotalresults ) { 
	   countLink += '&nbsp;&nbsp;' + searchJSPBoneHTML + '<a href="' + INnextlink +'">More</a>' ; 
	}
    displaySearchReultsHeaderBar('NEWS ARTICLES', countLink) ;
	document.write('<table cellpadding=0 cellpadding=0 width=100% border=0>') ; 
    for (INx = 0 ; INx < INnumresults ; INx++) { 
       displayInktomiNewsResult(INtitle[INx], INurl[INx], INsource[INx], INtime[INx], INcategory[INx], cat, src) ; 
    } 
    if ( INnumresults + firstresult < INtotalresults ) { 
      var numnext = INtotalresults - ( INnumresults+firstresult) ; 
	  if ( numnext > 20 ) { numnext = 20 } ; 
      document.write('<tr><td colspan=2 align=right><font face=Verdana,sans-serif size=2>' + searchJSPBoneHTML + '<a href="' + INnextlink + '">Next ' + numnext + ' news articles</a></font></td></tr>') ;
	}  
    document.write('</table>') ; 
  } else if ( errmsg == true ) { 
    document.write('<table width=100%><tr><td>') ; 
    displayNoResultsMsg('News') ; 
    document.write('</td></tr></table>') ; 
  } 
}

function displayInktomiNewsResult(title, url, source, time, category, cat, src) { 
  document.write('<tr valign=top><td width=1% align=left>' + externalBones + '</td><td><font face=Verdana,sans-serif color=0033cc size=2><a href="' + url + '" onclick="newsPopUp(\'' + url + '\') ; return(false) ; "><b>' + title + '</b></a><br>') ; 
  if ( source.length > 0 ) {   
    document.write(searchJSPBoneHTML + '<font color=000000 size=1>Source: ') ; 
	if ( src == 0 ) { 
	  document.write(source) ; 
	} else { 
	  document.write('<a href="' + newsjsp + '?nsc=' + escape(source) + '">' + source +'</a>') ; 
	} 
	document.write(', ' + time + '<br>') ;
  }
  document.write('</font>') ; 
  if ( category.length > 0 ) { 
	document.write(searchJSPBoneHTML + '<font face=Verdana,sans-serif color=000000 size=1>Category: ') ;   
	if ( cat == 0 ) { 
      document.write(category) ; 
	} else { 
      document.write('<a href="' + newsjsp + '?nct=' + escape(category) + '">' + category + '</a>') ; 
	}
	document.write('</font><br>') ; 
  } 
  document.write('<font size=1><br></font></td></tr>') ; 
} 

function displayDirectoryResults(errmsg) {
  var numRelCats = IRtitle.length ;
  if ( numRelCats > 0 ) {
    displaySearchReultsHeaderBar('DIRECTORY CATEGORIES', '') ;
    document.write('<table>') ; 
    for (IRx = 0 ; IRx < numRelCats ; IRx++) { 
      displayInktomiRelCatResult(IRtitle[IRx], IRdesc[IRx], IRurl[IRx]) ; 
	} 
    document.write('</table>') ; 
  } else if ( errmsg == true ) { 
    document.write('<table width=100%><tr><td>') ; 
    displayNoResultsMsg('Directory') ; 
    document.write('</td></tr></table>') ; 
  } 
}

function displayInktomiRelCatResult(title, desc, url) { 
  document.write('<tr valign=top><td width=1% align=left>' + IRBoneValue + '</td><td align=left><font face=Verdana,sans-serif color=0033cc size=2><A HREF="' + url + '"><b>' + title + '</b></A>') ; 
  
  if ( desc.length > 0 ) { 
    document.write('<font color=000000 size=1> - ' + desc + '</font></font><br>') ; 
  }
  document.write('</td></tr>') ; 
}

function displayInktomiWebResults(hostsearchflag, errmsg) { 
  var numWebResults = IWnumresults ;  
  if ( numWebResults > 0 ) { 
      var countLink = (firstresult+1) + '-' + 
  	     (numWebResults+firstresult) + ' (of ' + IWtotalresults + ')' ; 
    if ( numWebResults + firstresult < IWtotalresults ) { 
	   countLink += '&nbsp;&nbsp;' + searchJSPBoneHTML + '<a href="' + IWnextlink+ '">More</a>' ; 
	}
    displaySearchReultsHeaderBar("WEB SITES", countLink) ; 
    displayRealNamesResult() ; 
    document.write('<TABLE border=0 cellPadding=3 cellSpacing=0 width=100%>') ; 
    for (IWx = 0 ; IWx < numWebResults ; IWx++) { 
      displayInktomiWebResult(IWtitle[IWx], IWabstract[IWx], IWredir[IWx], IWurl[IWx], IWhost[IWx], hostsearchflag) ; 
    }  
    if ( numWebResults + firstresult < IWtotalresults ) { 
      var numnext = IWtotalresults - ( numWebResults+firstresult) ; 
	  if ( numnext > 10 ) { numnext = 10 } ; 
      document.write('<tr><td colspan=2 align=right><font face=Verdana,sans-serif size=1>' + searchJSPBoneHTML + '<a href="' + IWnextlink + '"><b>Next ' + numnext + ' Web Sites</b></a></font></td></tr>') ; 
	}    
    document.write('</table>') ; 
  } else if ( errmsg == true ) { 
    document.write('<table width=100%><tr><td>') ; 
    displayNoResultsMsg('Web Site') ;  
    document.write('</td></tr></table>') ; 
  } 
} 

function displayInktomiWebResult(title, description, redirurl, url, host, hostflag) {

  redirurl = "/commerce/search_redir.jsp?redir=" + escape(redirurl) + "&clkd=iwm" ;  
 document.write('<tr valign=top><td colspan=2 align=left><font face=Verdana,sans-serif color=0033cc size=2>') ; 
  document.write('<a href="' + redirurl + '">') ; 
  document.write('<b>' + title + '</b>') ; 
  document.write('</a><br><font size=1 color=000000>') ; 
  if ( description.length > 0 ) { 
    document.write(description + '<br>') ; }
  document.write('<font color=0033cc>' + IWbonevalue + '<a href="' + redirurl + '">') ; 
  document.write(url) ; 
  document.write('</a></font><br>') ;
  if ( hostflag == "1" && host.length > 0 ) { 
    document.write(searchJSPBoneHTML + '<a href="' + webjsp + '?searchfor=' + escape(searchfor) + '&sbh=' + escape(host) + '">More results from ' + host + '</a></font></font><br>') ; 
  } 
  document.write('<font size=1>&nbsp;</font></td></tr>') ;
}

function displayRealNamesResult() { 
  if ( RNname.length > 0 ) { 
    document.write('<table border=0 cellPadding=5 cellSpacing=0 width=100%><tr><td width=100%>') ; 
    document.write('<img src="http://i1img.com/images/realname_arrow.gif" width=15 height=15 border=0 alt="RN"><A href="' + RNurl + '"><FONT face=verdana,sans-serif SIZE=2 color=0033cc><b>' + RNname + '</b></FONT></A><SUP><FONT face=verdana,sans-serif SIZE=1 color=0033cc>RN</FONT></SUP><FONT face=Verdana,sans-serif size=1>&nbsp;&nbsp;&nbsp;Click on this Internet Keyword to go to the <font color=0033cc><A HREF="' + RNurl + '"><b>' + RNname + '</b></A></font> Web site.</font>') ; 
	document.write('</td></tr></table>') ; 
  }  
}
function amazonSidebarBox() { 
  document.write('<table cellpadding=2 cellspacing=0 border=0 bgcolor=#6699FF width=100%><tr><td><table width=100% bgcolor=white cellspacing=0 cellpadding=0><tr><td><a href="http://ads.iwon.com/adclick/CID=0000bc82df1766d000000000/site=iwon/area=search.results/POS=080301_Orbitz_SearchBox_Text4/aamsz=1x1"><img src=http://i1img.com/images/search/orbitz_logo.gif align=center vspace=2 border=0></a></td></tr></table><table width=100% bgcolor=white cellspacing=3 cellpadding=0><tr><td><tr><td><font face=Verdana,Sans-Serif size=1>&nbsp;<a href=http://www.iwon.com/bd.redir?redir=' + escape('http://ads.iwon.com/adclick/CID=0000bc7fdf1766d000000000/site=iwon/area=search.results/POS=080301_Orbitz_SearchBox_Text1/aamsz=1x1') + '&alias=/external/directory/websites><b>The Most Low Fares</b></a></font></td></tr><tr><td><font face=Verdana,Sans-Serif size=1>&nbsp;<a href=http://www.iwon.com/bd.redir?redir=' + escape('http://ads.iwon.com/adclick/CID=0000bc80df1766d000000000/site=iwon/area=search.results/POS=080301_Orbitz_SearchBox_Text2/aamsz=1x1') + '&alias=/external/directory/websites><b>Special Travel Packages</b></a></font></td></tr><tr><td><font face=Verdana,Sans-Serif size=1>&nbsp;<a href=http://www.iwon.com/bd.redir?redir=' + escape('http://ads.iwon.com/adclick/CID=0000bc81df1766d000000000/site=iwon/area=search.results/POS=080301_Orbitz_SearchBox_Text3/aamsz=1x1') + '&alias=/external/directory/websites><b>Great Deals on Rental Cars</b></a></font></td></tr></tr></td></table></tr></td></table>') ; sideBarSpace() ; 
 }   

function display206SidebarAd() {}

function displaySubmitSidebar() { 
  document.write('<table width="100%" cellpadding="2" cellspacing="0" border="0" bgcolor=#6699FF><tr><td><center><table width=100% cellpadding=3 cellspacing=0 border=0 bgcolor=#ffffff><tr bgcolor=#3366CC><td colspan=2><font face=Verdana,Sans-Serif size=1 color=ffffff><b>iWON SEARCH TOOLS</b></font></td></tr><TR><TD width=5%><font face=Verdana,Sans-Serif size=1 color=666666>5&nbsp&gt;&nbsp;</font></td><td width=95%><A HREF="http://www.iwon.com/home/search/search_tips/0,11748,,00.html"><font face=Verdana,Sans-Serif size=2 color=0033cc>Search Tips</FONT></a></TD></TR><TR><TD width=5%><font face=Verdana,Sans-Serif size=1 color=666666>4&nbsp&gt;&nbsp;</font></td><td width=95%><A HREF="http://www.iwon.com/bd.redir?redir=http://search.iwon.com/commerce/submitasite.jsp&alias=/home/search/submitasite/submit_overview"><font face=Verdana,Sans-Serif size=2 color=0033cc>Submit a Site</FONT></a></TD></TR></table></center></td></tr></table>') ; 
}

function displayNavBar(currentPage, formname) { 
  document.write('<table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=3366cc><tr valign=top><td>') ; 
  document.write('<table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=ffffff><tr align=center><td>&nbsp;</td>') ; 
  displayNavCel('Featured Listings', multisearchjsp, 7, true, 'GT', currentPage, formname) ; 
  displayNavCel('Web Sites', webjsp, 7, true, 'IW', currentPage, formname) ; 
  displayNavCel('Top 10', directhitjsp, 7, true, 'DH', currentPage, formname) ; 
  displayNavCel('Directory', directoryjsp, 7, true, 'DY', currentPage, formname) ; 
  displayNavCel('News', newsjsp, 7, true, 'IN', currentPage, formname) ; 
  displayNavCel('Shopping', 'http://www.iwon.com/bd.redir?redir=' + escape('http://iwonshopping.dealtime.com/BannerIn/?linkin_id=1005662&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=' + encsearch), 7, false, 'SH', currentPage, formname) ; 
 displayNavCel('Domains', 'http://registrar.godaddy.com/services.asp?isc=iwfl01&domaintocheck=' + encsearch, 7, false, 'GD', currentPage, formname) ; 
  document.write('<td>&nbsp;</td></tr></table></td></tr></table>') ; 
} 

function displayNavCel(title, link, boneval, jspflag, linktype, thispage, formname) { 
  var width = '14%' ; 
  if ( linktype == thispage ) { 
    bcolor = '6699ff' ; 
    lcolor = 'ffffff' ; 
  } else { 
    bcolor = 'ffffff' ; 
    lcolor = '0033cc' ; }
  document.write('<td bgcolor=' + bcolor + '><font face=Verdana,Sans-Serif size=1 color=666666>' + boneval + '&nbsp&gt;&nbsp;</font><a ') ; 
  if ( jspflag == true ) { 
    document.write('onCLick="searchGo(this, document.' + formname + '); return false;" ') ; } 
  document.write('href=' + link + '><font color=' + lcolor + ' face=Verdana,Sans-Serif size=1><B>' + title + '</B></font></a></td>') ; 
} 

function displaySearchBox() { 
 document.write('<table cellpadding=4 cellspacing=0 border=0><form name=topnavbarsearchform method=get action=' + multisearchjsp + '><tr><td><font face=Verdana,Sans-Serif size=1 color=666666>7&nbsp>&nbsp;</font></td><td><input type=text name=searchfor size=26 maxlen=245 style={height:24px} value=\'' + searchfor + '\'>&nbsp;</td><td><input type=image src=http://image.iwon.com/images/search/isearch.gif border=0 width=64 height=24></td></form></tr></table>') ; 
} 

function displayBottomSearchBox() { 
  document.write('<table width=100% cellpadding=4 cellspacing=0 border=0><tr><td>&nbsp;</td></tr><form name=bottomnavbarsearchform method=get action=' + multisearchjsp + '><tr align=center><td><table cellpadding=4 cellspacing=0><tr><td><font face=Verdana,Sans-Serif size=1 color=666666>7&nbsp>&nbsp;</font></td><td><input type=text name=searchfor size=26 maxlen=245 style={height:24px} value=\'' + searchfor + '\'>&nbsp;</td><td><input type=image src=http://image.iwon.com/images/search/isearch.gif border=0 width=64 height=24></td></form></tr></table></td></tr></table>') ; 
} 

function searchGo(atag, form) { 
  var url = atag.href + "?searchfor=" + escape(form.searchfor.value) ;
  top.location = url ; 
} 






 function sideBarSpace() {
  document.write('<font size=1><br></font>') ; 
}

function blueLineHTML() { 
  document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width=100%><TR><TD><TABLE border=0 cellPadding=0 cellSpacing=0 width=100%><TR><TD bgColor=#6699ff><TABLE border=0 cellPadding=0 cellSpacing=0><TR><TD height=2></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE>') ; 
}

function displaySearchReultsSidebarBoxHead(titlestr) { 
  document.write('<table width=100% cellpadding="2" cellspacing="0" border="0" bgcolor=#6699FF><tr><td><table width="100%" cellpadding="3" cellspacing="0" border="0" bgcolor=#ffffff><tr><td bgcolor=E7EFFF><font face="Verdana,Sans-Serif" size="1" color=black><b>' + titlestr + '</b></font></td></tr><tr bgcolor=FFFFFF><td><table width=100% cellpadding=1 cellspacing=0 border=0 bgcolor=FFFFFF>') ; 
}
function displaySearchResultsSidebarBoxTail() { 
  document.write('</table></td></tr></table></td></tr></table>') ; 
}

function displaySearchReultsHeaderBar(title, linkHTML) { 
  document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width=100%><TR><td width=100% bgColor=E0EFFF><table border=0 cellpadding=3 cellspacing=0 width=100%><tr><TD bgColor=E0EFFF align=left><FONT face=Verdana,Sans-Serif size=1 color=black><B>' + title + '</B></FONT></TD><td bgcolor=e0efff align=right><FONT face=Verdana,Sans-Serif size=1 color=black><B>' + linkHTML + '</B></FONT></TD></tr></table></td></tr><tr><TD width=100% bgColor=#6699ff><TABLE border=0 cellPadding=0 cellSpacing=0><TR><TD height=2></TD></TR></TABLE></TD></TR></TABLE>') ; 
}

  function Search_info( width, height, code ) {
  	 var refer_page_url = document.URL;
	 var refer_page_title = escape(document.title);
	 
	 var xposition=0; 
	 var yposition=0;
	 var browser_name = navigator.appName;
	 if (browser_name.indexOf("WebTV") != -1) { 
	 	alert('Search Info is not supported for WebTV. We apologize for any inconvenience.');
		return null; }
	 if (parseInt(navigator.appVersion) >= 4 ){
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	 }
	 args = "width=" + width + "," + "height=" + height + "," + "location=0," + "menubar=0," + "resizable=1," + "scrollbars=1," + "status=0," + "titlebar=0," + "toolbar=0," + "hotkeys=0," + "screenx=" + xposition + "," + "screeny=" + yposition + "," + "left=" + xposition + "," + "top=" + yposition;
	 
  	 if (code == "direct" ) {
		  var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,direct,00.html") ,"search_popup", args);
		  new_window.focus()  
	 }
	 
	 if (code == "main") {
		 var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,main,00.html") ,"search_popup", args);
		 new_window.focus()
	 }
	 
	 if (code == "real") {
		 var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,real,00.html") ,"search_popup", args);
		 new_window.focus()
	 }
	 
	 if (code == "news") {
		 var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,news,00.html") ,"search_popup", args);
		 new_window.focus()
	 }
	 	 
	 if (code == "weblook" || code == "looksmart") {
		 var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,weblook,00.html") ,"search_popup", args);
		 new_window.focus()
	 }
	 
	 if (code == "moreover") {
		 var new_window = window.open(GetAbsoluteUrl("http://www.iwon.com/home/search/info_popup/0,14358,moreover,00.html") ,"search_popup", args);
		 new_window.focus()
	 }  
  }

  function GetAbsoluteUrl(url)
  {
	 if (url.substring(0,4).toLowerCase() != "http")
	   return self.location.protocol + "//" + self.location.host + url;
	 else
	   return url;
  } 

  function NavigateTo(url)
  {
	 self.location = GetAbsoluteUrl(url);
  } 

function displayNoResultsMsg(type) { 
  blueLineHTML() ; 
  document.write('<TABLE border=0 cellPadding=3 cellSpacing=0 width=100%><TR vAlign=top><TD><br><font face=verdana,sans-serif color=3366cc size=2><b>Sorry, no ' + type + ' results were found.</b><br><font color=000000 size=2>For help searching, please see our <font face=Verdana,Sans-Serif size=1 color=666666>5&nbsp&gt;&nbsp;</font><font color=0033cc><a href="http://www.iwon.com/home/search/search_tips/0,11748,,00.html"><b>search tips</b></a></font></font>.</font><br><br></td></tr></table> ') ; 
}


function displayGoDaddyHTML() { 
  document.write('<table align="center" border="0" cellpadding="1" cellspacing="0"><form name="LookupForm" method="POST" action="http://registrar.godaddy.com/services.asp?isc=iwfl01"><input type="hidden" name="isc" value="iwfl01"><tr><td align="right"><font size="1" color="#000000" face="Verdana,Sans-Serif"><b>&nbsp;WWW.&nbsp;</b></font></td><td><font size="1" face="Verdana,Sans-Serif"><input type="hidden" name="checkavail" value="1"><input type="text" name="domaintocheck" size="16" maxlength="67"><select id="tld" name="tld"><option value=".COM" selected>.com</option><option value=".NET">.net</option><option value=".ORG">.org</option></select></font><input type="submit" name="doLookup" value="Check It!" border="0"></td><td><img src="http://www.godaddy.com/gdshop/assets/iwon_price.gif" border="0" width="100" height="45"></td><td align="center"><a href="http://registrar.godaddy.com/default.asp?isc=iwfl01"><font size="1" face="Verdana,Sans-Serif"><img src="http://www.godaddy.com/gdshop/assets/iwon_icann_logo.gif" border="0" width="100" height="48"></font></a></td></tr><tr><td>&nbsp;</td><td valign="top"><font size="2" color="#000000" face="Verdana,Sans-Serif">Enter a domain name, choose from the<br> extensions on the right, then click Check It!</font></td><td><div align="right"><font size="2" color="#000000" face="Verdana,Sans-Serif"><b>Powered by:</b></font></td><td align="center"><a href="http://registrar.godaddy.com/default.asp?isc=iwfl01"><font size="1" face="Verdana,Sans-Serif"><img src="http://www.godaddy.com/gdshop/assets/iwon_godaddy_logo.gif" border="0" width="100" height="45"></font></a></td></tr></form></table>') ; 
}