// JavaScript Document
function rolloverText(input) 
{
	var element = document.getElementById('sectionNavRollover');

	if( input ) 
	{
		switch( input ) 
		{
			case 'sectionHome' : element.innerHTML = 'Welcome to 3D Now, the online resource for mechanical designers'; break;
			case 'sectionReseller' : element.innerHTML = 'We have 10 Authorised Value Added Resellers across the UK, contact one today'; break;
			case 'sectionHelp' : element.innerHTML = 'From industrial machinery to education and science, find case studies relevant to YOUR industry'; break;
			case 'sectionMS' : element.innerHTML = 'EXPERIENCE it before it’s real with Autodesk 2009 Software – find out we can help you bring quality products to market faster!'; break;
			case 'sectionNews' : element.innerHTML = 'Latest product news and reviews'; break;
			case 'sectionEvents' : element.innerHTML = 'We run a series of webinars as well as demos, test drives, seminars and exhibitions. Find out what&#39;s coming up in a town near you'; break;
			case 'sectionTnT' : element.innerHTML = 'Register with 3D Now for tips and tricks, Creator magazine, Q&amp;A and much more'; break;
			case 'sectionCAD' : element.innerHTML = 'Are you an AutoCAD user? Top ten reasons to move to Autodesk&reg; Inventor&trade; 2008 or AutoCAD&reg; Mechanical 2008'; break;
			default : element.innerHTML = 'default intro';
		}			
	}
	else 
	{
		element.innerHTML = '';
	}	
}

function reloadIWP()
{
    var choice = document.forms[0].frm_industry;
    var url = choice.options[choice.selectedIndex].value;
	
	if (url) location.href = url;
}

function randomizeFlash() 
{
	return Math.floor(Math.random( ) * (4 - 1 + 1)) + 1;
}