function getHome(tb){
	if ((tb == 'searchbar') || (tb == 'SearchBar'))
		tb = '';
//	else tb +=' ';
	var content = 'With '+ tb +' (displayed as "Daemon Tools WhenU SearchBar" in your Add/Remove Control Panel) on your desktop, you'+"'"+'ve got a powerful tool that gives you instant access to the Internet, search, email, anti-spyware scanning and more, without even opening a browser window!  '+ tb +' also brings you valuable and timely text-based offers for products and services tailored to your interests.<br><br>One thing '+ tb +' CAN'+"'"+'T do is spy on you.  No personal information about you or what you do on your computer will be transmitted to us or to any third party.<br><br>'+ tb +' is typically "bundled" with popular software you can download for free, and the unobtrusive ads you view are what keep that software free.  You can easily uninstall '+ tb +' at any time by using the Windows Add/Remove function.<br><br>Got questions?&nbsp;&nbsp;Read the <a href="faq.html">FAQ</a>,  visit <a href="http://www.whenu.com">www.whenu.com</a> or call us toll free at 866-WHENU-11';
	document.getElementById('content').innerHTML = content;
}

function getFaq(tb){
	if ((tb == 'searchbar') || (tb == 'SearchBar'))
		tb = '';
	//else tb +=' ';
	
	var temp=tb.split(" ");
	
	var content = '<div style="font-size:20px; color:#0f60af;"><b>Frequently Asked Questions</b></div><br>';
	content+='<div id="link">';
	content+='	<ol style="list-style-image:url(images/graydot.gif); margin-left:15px; padding-left:15px;">'
	content+='		<li><a href="#1">What does the '+ tb+' do?</a></li>';
	content+='		<li><a href="#2">What does the '+ tb+' cost?</a></li>';
	content+='		<li><a href="#3">How did the '+ tb+' get on my computer?</a></li>';
	content+='		<li><a href="#4">How do I take advantage of the '+ tb+''+"'"+'s exclusive coupons, deals, and offers?</a></li>';
	content+='		<li><a href="#6">How can I minimize the '+ tb+'?</a></li>';
	content+='		<li><a href="#7">If I have questions about the '+ tb+', can I contact you?</a></li>';
	content+='		<li><a href="#8">How do I uninstall the '+ tb+'?</a></li>';
	content+='	</ol><br><br>';
	content+='</div>';
	//content+='<table width="100%">';
	//content+='<tr>';
	//content+='	<td background="images/dotline.gif"><img src="images/pixel.gif"></td>';
	//content+='</tr>';
	//content+='</table>';
	content+='<b>What does the '+ tb+' do?<a name="1"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='The '+ tb+' gives you instant, anytime access to powerful Internet search capabilities and delivers a limited number of money-saving coupons, exclusive offers and timely deals to your desktop.  The '+ tb+' does not use cookies to track your online behavior or transmit any personal information about you or your online habits.<br><br>';
	content+='<a href=#top>Back to top</a><br><br><br><b>';
	content+='What does the '+ tb+' cost?<a name="2"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='The '+ tb+' costs you nothing.  This valuable tool is made available to you for free because it is ad-supported - it'+"'"+'s similar to the way commercials support TV shows.<br><br>';
	content+='<a href=#top>Back to top</a><br><br><br><b>';
	content+='How did the '+ tb+' get on my computer?<a name="3"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='You received the '+ tb+' either by downloading  it directly from the Internet, or as part of a "bundle" when you downloaded other popular free software from the Internet (such as a screensaver or file sharing program).  '+ tb+' can only be downloaded after the user clicks "I agree" to the software <a href="eula.html">license agreement</a>.<br><br>';
	content+='<a href=#top>Back to top</a><br><br><br>';
	
	content+='<b><a name="4"></a>How do I take advantage of the '+ tb+''+"'"+'s exclusive coupons, deals, and offers?</b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='If you see a shopping cart or a spinning dollar sign in your '+temp[0]+' '+temp[1]+'<br>';
	content+='<img src="images/more_results.gif" align="right" style="margin-left:13px;">';


	content+=''+temp[2]+', it means that a special deal is being made available to you.  Click the deal to learn how to take advantage of your special savings offer.<br><br>';

	
	content+='<a href=#top>Back to top</a><br><br><br>';
	content+='<b>How can I minimize the '+ tb+'?<a name="6"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='<img src="images/faq5.gif" align="right" style="margin-left:15px;">';
	content+='To minimize the '+ tb +' you may either select minimize from the menu <br><br><br><br><br><br><br clear=all>';
	content+='<span  align="left">or right-click</span>';
	content+='<img src="images/faq6.gif" style="margin-left:15px; margin-top:15px;"><br><br>';
	content+='<a href=#top>Back to top</a><br><br><br>';
	content+='<b>If I have questions about the '+ tb+', can I contact you?<a name="7"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='You can <a href="http://app.whenu.com/Contact">contact us</a> or call our toll-free number 866-WHENU-11.<br><br><br>';
	content+='<b>How do I uninstall the '+ tb+'?<a name="8"></a></b><br>';
	content+='<hr id="hrcolor" size="1">';
	content+='To uninstall the '+ tb+':';
	content+='<ul>';
	content+='	<li>Click on the Windows Start Menu button </li>';
	content+='	<li>Click on the Settings option</li>';
	content+='	<li>Click on the Control Panel option</li>';
	content+='	<li>Double click on Add/Remove Programs </li>';
	content+='	<li>Select Daemon Tools WhenU SearchBar in the Add/Remove Control Panel</li>';
	content+='	<li>Click on the Add/Remove button</li>';
	content+='	<li>Follow the uninstall directions to complete the uninstall process</li>';
	content+='</ul>';
	content+='If you need help or have questions, call toll-free 866-WHENU-11 or <a href="http://app.whenu.com/Contact">contact us</a>.';
	document.getElementById('content').innerHTML = content;
}





function getDaemonLA(tb)
{
	if ((tb == 'searchbar') || (tb == 'SearchBar'))
		tb = '';
	else tb +=' ';
	
	var links=getEulaAndPpLink(tb);
	
	var searchbarEula = '<p class="update">UPDATED: SEPT 9, 2005</p><p>PLEASE READ THE FOLLOWING TERMS AND CONDITIONS BEFORE DOWNLOADING, INSTALLING AND USING THE '+ tb.toUpperCase() +' (THE "SOFTWARE" OR THE "SEARCHBAR") PROVIDED BY WHENU.COM, INC. ("WHENU"). USE OF THE SOFTWARE IS SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS LICENSE AGREEMENT. BY INSTALLING THE SOFTWARE YOU INDICATE YOUR ACCEPTANCE OF THE TERMS AND CONDITIONS SET FORTH HEREIN. WHENU RESERVES THE RIGHT TO REVISE THIS LICENSE AGREEMENT AT ANY TIME.</p><p><div class="pageSectionHeader">Functionality</div></p><p>SearchBar gives you easy access to powerful Internet search capabilities while presenting relevant paid listings, offers and links right inside the toolbar.  SearchBar starts automatically when you start your computer and results are generated based on the terms you type into search engines, the websites you visit and the Web content you view.  No personally identifiable information is collected and your privacy is always protected.</p><p>SearchBar may also include a pop-up blocker and anti-spyware software.  The pop-up blocker is fully functional with all versions of Windows and blocks pop-ups generated within Internet Explorer.  It will not block pop-ups generated by other software applications.  The anti-spyware software will scan your system for potentially dangerous spyware and remove such programs.  The privacy policy for the UControl anti-spyware software that may be included with your SearchBar is available at <a href="http://www.aluriasoftware.com/other/privacy/">http://www.aluriasoftware.com/other/privacy/</a>. </p><p><div class="pageSectionHeader">The License</div></p><p>The Software is licensed to you for your personal, non-commercial use only.  Other than the rights expressly granted to you hereunder, no other right is granted to you. Without limitation, you may not: (a) modify or create any derivative works of the Software or documentation; (b) decompile, disassemble, reverse engineer or otherwise attempt to derive the source code for the Software; or (c) redistribute, sublicense, or otherwise transfer rights to the Software.</p><p>WhenU reserves the right to periodically update and/or upgrade the Software at WhenU\'s discretion.  Your installation of the Software indicates your acceptance of potential future updates and/or upgrades to the Software.  For any material change to the privacy protective nature of the Software, WhenU will request your permission prior to making such change.</p><p><div class="pageSectionHeader">Age Limitation</div></p><p>WhenU products and services are not available to individuals below the age of 13. By accepting this installation, you are representing that you are not a minor below the age of 13.</p><p><div class="pageSectionHeader">DISCLAIMER OF WARRANTY</div></p><p>YOU EXPRESSLY AGREE THAT THE USE OF THIS SOFTWARE IS AT YOUR OWN RISK.  THE SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES THAT IT IS FREE OF DEFECTS AND ERRORS, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.  WHENU RESERVES THE RIGHT TO PERIODICALLY UPDATE AND/OR UPGRADE THE SOFTWARE AT THE COMPANY\'S DISCRETION.  YOUR INSTALLATION OF THE SOFTWARE INDICATES YOUR ACCEPTANCE OF POTENTIAL FUTURE UPDATES AND/OR UPGRADES TO THE SOFTWARE.</p><p>THE INFORMATION AND SERVICES PROVIDED BY THE SOFTWARE AND/OR WHENU ARE SIMILARLY PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND.  THE ACCURACY AND RELIABILITY OF ANY INFORMATION OR SERVICES PROVIDED BY THE SOFTWARE AND/OR WHENU SHOULD BE INDEPENDENTLY VERIFIED BY YOU PRIOR TO MAKING ANY DECISIONS BASED ON SUCH INFORMATION OR SERVICES.</p><p><div class="pageSectionHeader">LIMITATION OF LIABILITY</div></p><p>TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT WILL WHENU OR ITS AGENTS BE LIABLE FOR ANY DAMAGES ARISING FROM THE USE OF OR INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, DAMAGES TO USERS\' SYSTEMS AND/OR SOFTWARE AND/OR DATA, COMPUTER FAILURE OR MALFUNCTION, COMPUTER VIRUS TRANSMISSION, PERFORMANCE DELAYS OR COMMUNICATION FAILURES, SECURITY BREACHES OR ANY AND ALL OTHER DAMAGES OR LOSSES.</p><p><div class="pageSectionHeader">Governing Law</div></p><p>This License Agreement is governed by, and shall be construed in accordance with, the laws of the State of New York, without regard to its conflicts of laws rules.</p><p><br>';
	searchbarEula+='<p>WhenU may update this License Agreement at any time.  Updates to this License Agreement may be found at ';
	searchbarEula+='	<a href="'+links[0]+'">'+links[0]+'</a>.';
	searchbarEula+='</p>';
	document.getElementById('EULA').innerHTML = searchbarEula;
}

function getDaemonPP(tb)
{
	if ((tb == 'searchbar') || (tb == 'SearchBar'))
	{
		tb = '';
	}
	else
	{
		tb +=' ';
	}
	
	var links=getEulaAndPpLink(tb);
	
	var searchbarPP = '<a name="privacy"></a>';
	searchbarPP+='<p class="update">UPDATED: SEPT 9, 2005</p>';
	searchbarPP+='<p>By downloading '+ tb +' ("the Software" or the "WhenU Daemon Tools SearchBar"), you give permission to WhenU.com ("WhenU") to display relevant contextual information and offers.  The Software selects which ads and offers to show you based on several factors, including: Web pages you visit, search terms you use while searching online, content of the Web pages you view and your local zip code (if you have supplied it).  SearchBar displays contextual ads and offers in the form of rotating text links accessible from within the application.</p>';
	searchbarPP+='<p>The Software protects your privacy by uploading a database of content in small chunks to your desktop and then determining on your desktop whether to retrieve information from WhenU or third-party servers.  To protect your privacy, the same database of content is sent to all desktops.  Decisions regarding which ads to retrieve to an individual desktop are all processed on the individual user\'s desktop - and isolated from WhenU servers.  In this way, WhenU is able to deliver to you relevant coupons, information and advertisements without sending all of your browsing activity back to WhenU and without establishing any profile about you (even anonymously) on WhenU servers.</p>';
	searchbarPP+='<p>Your privacy is also protected in the following manner: </p>';
	searchbarPP+='<p>';
	searchbarPP+='	<ol>';
	searchbarPP+='		<li>Your personally-identifiable information is not required in order to use the software.  WhenU does not know your individual identity and does not attempt to discern it in any way. ';
	searchbarPP+='		<li>As you surf the Internet, your "clickstream data" (i.e. a log of all the sites you visit) is not transmitted to WhenU or any third party server.';
	searchbarPP+='		<li>WhenU does not assemble any personally-identifiable browsing profiles of you or your individual machine.<li>WhenU does not assemble any anonymous machine-identifiable browsing profile of you or your machine.';
	searchbarPP+='		<li>WhenU does not track which ads and offers you see as an individual user - all of our analysis and tracking of ads is done in the aggregate.';
	searchbarPP+='	</ol>';
	searchbarPP+='</p>';
	searchbarPP+='<p>The Software does send back a limited amount of information from your desktop in order to count the number of users in our network and optimize the performance and relevance of the ads.  For example, the Software may send WhenU a communication that includes information about the webpage you were viewing when you saw or clicked on a particular ad.  WhenU has intentionally designed these communications back to WhenU to be highly protective of user privacy, in the following ways:</p>';
	searchbarPP+='<p>';
	searchbarPP+='	<ol style="list-style-type:lower-alpha">';
	searchbarPP+='		<li>Each individual desktop is assigned an anonymous, unique machine ID. This machine ID is used only to enable WhenU to count unique, active desktops in the network. The machine ID is not used to determine which ads to serve individual users or to create browsing profiles of users.';
	searchbarPP+='		<li>When ads are requested and/or displayed by the Software, impressions and click-throughs, including the factor (e.g., the URL, keyword, search term, or some combination thereof) that caused the ad to be displayed are reported to WhenU.  To protect your privacy and prevent WhenU or any third party from assembling individual user profiles or knowing which websites you visit, your unique machine ID is intentionally excluded from these limited ad-optimization communications sent back to WhenU.';
	searchbarPP+='	</ol>';
	searchbarPP+='</p>';
	searchbarPP+='<p>The Software does not place any cookies on your desktop.  It is possible that a third party advertising on our network might place a cookie on your desktop.  If you wish to opt-out from third party cookies, please click on the following link and follow the instructions: <a href="http://www.networkadvertising.org/optout_nonppii.asp">http://www.networkadvertising.org/optout_nonppii.asp</a>.  </p>';
	searchbarPP+='<p>Certain text links within SearchBar represent paid listings provided by third-party partners.  Clicking on these links will subject you to the privacy policies of such third-party partners, which may be different than the terms described in this Privacy Policy.  Certain usage statistics may be collected by such third-party partners for the purpose of detecting fraud and otherwise monitoring the integrity and performance of their product or service.</p>';
	searchbarPP+='<p>WhenU is committed to serving highly relevant, contextual coupons and offers, while still providing consumers with industry-leading privacy protection.  For any further questions about our privacy policy, please email <a href="mailto:privacy@whenumail.com">privacy@whenumail.com</a>.</p>';
	searchbarPP+='<p>WhenU may update this Privacy Policy at any time.';
	searchbarPP+='	Updates to this Privacy Policy may be found at ';
	searchbarPP+='	<a href="'+links[1]+'">'+links[1]+'</a>.';
	searchbarPP+='</p>';
	searchbarPP+='For any material change to the privacy protective nature of the Software, WhenU will request your permission prior to making such change.<br>';
	document.getElementById('EULA').innerHTML = searchbarPP;
}

//links for EULA and PP.  Index 0 is EULA, and index 1 is PP
function getEulaAndPpLink(tb)
{
	var arr=new Array ();
	arr['default']=new Array("http://www.whenu.com/products_whenusearch_la.html","http://www.whenu.com/pc_whenusearch.html");
	arr['WhenU FreePlay SearchBar']=new Array("http://www.whenu.com/products/searchbar/mini/FreePlay/eula.html","http://www.whenu.com/products/searchbar/mini/FreePlay/privacy.html");
	arr['WhenU CampusIM SearchBar']=new Array("http://www.whenu.com/products/searchbar/mini/CampusIM/eula.html","http://www.whenu.com/products/searchbar/mini/CampusIM/privacy.html");
	arr['WhenU FraZoo SearchBar']=new Array("http://www.whenu.com/products/searchbar/mini/FraZoo/eula.html","http://www.whenu.com/products/searchbar/mini/FraZoo/privacy.html");
	arr['WhenU Desktop Toolbar']=new Array("http://www.whenu.com/EULAs/desktoptoolbar_eula.html","http://www.whenu.com/EULAs/desktoptoolbar_eula.html#privacy");
	arr['WhenU SearchBar<span id="desktoptoolbar_savenow_eula.html"></span>']=new Array("http://www.whenu.com/EULAs/desktoptoolbar_savenow_eula.html","http://www.whenu.com/EULAs/desktoptoolbar_savenow_eula.html#privacy");
	arr['WhenU SearchBar<span id="searchbar_eula.html"></span>']=new Array("http://www.whenu.com/EULAs/searchbar_eula.html","http://www.whenu.com/EULAs/searchbar_eula.html#privacy");
	arr['IMCourier SearchBar']=new Array("http://www.whenu.com/EULAs/searchbar_imcourier_eula.html","http://www.whenu.com/EULAs/searchbar_imcourier_eula.html#privacy");
	arr['WhenU SearchBar<span id="searchbar_uc_eula.html"></span>']=new Array("http://www.whenu.com/EULAs/searchbar_uc_eula.html","http://www.whenu.com/EULAs/searchbar_uc_eula.html#privacy");
	arr['Crunch Games Toolbar']=new Array("http://www.crunchtoolbar.com/privacy.html","http://www.crunchtoolbar.com/privacy.html#privacy");
	arr['WhenU SearchBar<span id="default_minisite"></span>']=new Array("http://www.whenu.com/products/searchbar/mini/eula.html","http://www.whenu.com/products/searchbar/mini/privacy.html");
	arr['WhenU Daemon Tools SearchBar']=new Array("http://www.whenu.com/products/searchbar/mini/DaemonTools/eula.html","http://www.whenu.com/products/searchbar/mini/DaemonTools/privacy.html");
	
	//only substring will work in comparison (x in arr).  any other conversion methods like tb.toString() will not work
	var x=tb.substring(0,tb.length-1);
	
	if(x in arr)
	{
		return arr[x];
	}
	else
	{
		return arr['default'];
	}
}