// JavaScript Document
function evaluateAnswerCentre(thisform) {
		var question = document.TCE_answerCentre.w7question.selectedIndex;
	switch(question) {
		case 0: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = '';
		return false;
		break;
		case 1: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'If you purchase a computer with Windows Vista Home Premium, Business or Ultimate edition installed between 26th June 2009 and 23rd October 2009 you may be entitled to a free upgrade to Windows 7. For more information please visit <A href="http://www.win7upgrade.co.uk">www.win7upgrade.co.uk</a>';
		return false;
		break;
		case 2: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Microsoft recommends you have the following hardware to run Windows 7:<ul class="TCE_AnswerCentreULPadding"><li>1 GHz or faster 32-bit (x86) or 64-bit (x64) processor</li><li>1 GB RAM (32-bit) / 2 GB RAM (64-bit)</li><li>16 GB available disk space (32-bit) / 20 GB (64-bit)</li><li>DirectX 9 graphics processor with WDDM 1.0 or higher driver</li></ul>Please note these specifications could change. And, some product features of Windows 7, such as the ability to watch and record live TV or navigation through the use of "touch," may require advanced or additional hardware.<br/>You can download the Windows 7 Upgrade Advisor and learn more about system requirements by clicking <a href="http://www.microsoft.com/windows/windows-7/get/upgrade-advisor.aspx">here</a>.';
		return false;
		break;
		case 3: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'These are no longer installed as standard in Windows 7. You can download Windows Live for free from Microsoft which includes Mail, Messenger, Movie Maker, Photo Gallery, Family Safety and more.  Windows Live software is being constantly improved and updated so you&#39;ll always get the latest features and benefits. <br/><a href="http://download.live.com/">Click here</a> to download Windows Live now.';
		return false;
		break;
		case 4: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Microsoft have revamped the taskbar and replaced all those long buttons for open programs and files with simple big icons for each program. When you hover over an icon you&#39;ll see a preview of all files open in that program allowing you to quickly choose the item you want to use.';
		return false;
		break;
		case 5: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Microsoft has included a new tool called the Troubleshooting Platform in Windows 7. This is a collection of diagnostic tools designed to help you track down and fix common problems. It will automatically connect to the Internet and access the latest "troubleshooters" from Microsoft so that you&#39;re always up to date.<br/>Click Start and type &#39;troubleshoot&#39; in the search box. ';
		return false;
		break;
		case 6: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Yes it has! A new feature called HomeGroup has been introduced with Windows 7. This is set up automatically when you add your first Windows 7 computer to your network. It makes sharing files, printers and the Internet simple and painless. All you need to do is add additional Windows 7 computers to your HomeGroup and Windows 7 will take care of the rest.';
		return false;
		break;
		case 7: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'A brand new feature of Windows 7 is the ability to access your music, movies, photos and recorded TV when you&#39;re away from home. Take your Windows 7 laptop with you when you are travelling and you&#39;ll be able to access your media files on your Windows 7 PC at home.  No need to carry a clunky external hard drive with you any longer.';
		return false;
		break;
		case 8: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Media Center is a media tool included with Windows 7. It provides a simple, easy to use interface that allows you to view your photos, watch movies and listen to music. If you install a USB TV adaptor you&#39;ll also be able to watch, pause, rewind and record live TV. To see what Media Center can do click Start and type &#39;Media Center&#39; into the search box.';
		return false;
		break;
		case 9: document.getElementById('TCE_answerCentreAnswerArea').innerHTML = 'Following a ruling by the EU, Microsoft originally planned to have a special European version of Windows 7 which would not be supplied with a web browser. However, this plan has now been scrapped and the full version will now be supplied. When you first run Internet Explorer you will see a ballot screen which will give you the option to choose which browser you would like to use, for example, FireFox, Google Chrome and Opera.';
		return false;
		break;
	}
}
function showLayer(IDtoShow, shadowLayer) {
	//document.getElementById(IDtoShow).style.visibility = "visible";
	switch(IDtoShow) {
		case "wireless":
			document.getElementById('TCE_information').innerHTML = '<div id="wireless" class="TCE_experienceContent"><b>Wireless Setup</b><br/><br/>Setting up wireless connections is easier with consistent, one-click connections to available networks, whether those networks are based on Wi-Fi, mobile broadband, dial-up, or corporate VPN.</div>';
			break;
		case "homegroup":
			document.getElementById('TCE_information').innerHTML = '<div id="homegroup" class="TCE_experienceContent"><b>HomeGroup</b><br/><br/>Connect Windows 7 PCs on a home network in just four clicks and easily get to the photos, music, and files on each one &ndash; even share printers.</div>';
			break;
		case "windowssearch":
			document.getElementById('TCE_information').innerHTML = '<div id="windowssearch" class="TCE_experienceContent"><b>Windows Search</b><br/><br/>Instantly locate and open virtually any file on your PC, from documents to emails to songs, right from the Start menu, just by typing a word or two.</div>';
			break;
		case "taskbar":
			document.getElementById('TCE_information').innerHTML = '<div id="taskbar" class="TCE_experienceContent"><b>Windows Taskbar, Live Taskbar Previews</b><br/><br/>Manage lots of open programs, documents and browser windows easily with thumbnail and full-screen previews of open windows.</div>';
			break;
		case "pin":
			document.getElementById('TCE_information').innerHTML = '<div id="pin" class="TCE_experienceContent"><b>Pin</b><br/><br/>You can easily pin programs you use often to the taskbar and launch them in just one click.</div>';
			break;
		case "jumplist":
			document.getElementById('TCE_information').innerHTML = '<div id="jumplist" class="TCE_experienceContent"><b>Jump Lists</b><br/><br/>Open files you use regularly in just two clicks with Jump Lists.</div>';
			break;
		case "snap":
			document.getElementById('TCE_information').innerHTML = '<div id="snap" class="TCE_experienceContent"><b>Snap</b><br/><br/>Arrange two windows exactly side-by-side just by dragging them to opposite sides of your screen.</div>';
			break;
		case "playto":
			document.getElementById('TCE_information').innerHTML = '<div id="playto" class="TCE_experienceContent"><b>Play To</b><br/><br/>It&#39;s easy to send music, photos, and videos from your PC to media devices connected to your home network, like many digital picture frames and Wi-Fi music systems.</div>';
			break;
		case "guide":
			document.getElementById('TCE_information').innerHTML = '<div id="guide" class="TCE_experienceContent"><b>Windows Media Center (TV Guide)</b><br/><br/>Turn your PC into a TV with Windows Media Center.</div>';
			break;
	}
}
function hideLayer(IDtoShow, shadowLayer) {
	//document.getElementById(IDtoShow).style.visibility = "hidden";
	document.getElementById('TCE_information').innerHTML = '&nbsp;'
}


//show windows 7 experience content
/*function showExperience(experienceToShow){
		//alert("show experience has fired");
		//alert("experience to show = "+experienceToShow);
		switch(experienceToShow) {
			case "wireless": 
				//alert("case is wireless");
				
				document.getElementById('TCE_experienceContentLayout').innerHTML = '<iframe src="assets/flash/experience/default.html" scrolling="no" width="100%" height="600"></iframe>';
				/*
				document.getElementById('TCE_experienceContentLayout').innerHTML = '<div id="emulation"></div><script type="text/javascript">var lang = 0; var emulationId = experienceToShow; var so = new SWFObject("assets/flash/experience/Flash/emulator.swf", "flashchart", "904", "600", "8", "#333333"); so.addVariable("langId", 0)); so.addVariable("emulationId", getQueryParamValue("wireless")); so.addVariable("xmlPath", "assets/flash/experience/Config/"); so.addVariable("flashPath", "assets/flash/experience/flash/"); so.write("emulation");</script>';*/
				/*document.getElementById('TCE_experienceContentLayout').innerHTML = '
				<div id="emulation"></div>
				<script type="text/javascript">
					var lang = 0;
					var emulationId = experienceToShow;
					
					var so = new SWFObject("assets/flash/experience/Flash/emulator.swf", "flashchart", "904", "600", "8", "#333333");
					so.addVariable("langId", getQueryParamValue("lang"));
					so.addVariable("emulationId", getQueryParamValue("emulationId"));		
					so.addVariable("xmlPath", "assets/flash/experience/Config/");
					so.addVariable("flashPath", "assets/flash/experience/flash/");        
					so.write("emulation");
        		</script>;
			break;
		}
}*/
