﻿function changeRecommended(cells)
{
	for( var i = 1; i < 5; i++ )
	{
		document.getElementById("a" + i.toString()).style.color = "#000";
		document.getElementById("b" + i.toString()).style.color = "#000";
		document.getElementById("c" + i.toString()).style.color = "#000";
		document.getElementById("d" + i.toString()).style.color = "#000";
		document.getElementById("c5").style.color = "#000";
		document.getElementById("a" + i.toString()).style.backgroundImage  = "";
		document.getElementById("b" + i.toString()).style.backgroundImage  = "";
		document.getElementById("c" + i.toString()).style.backgroundImage  = "";
		document.getElementById("d" + i.toString()).style.backgroundImage  = "";
		document.getElementById("c5").style.backgroundImage  = "";
	}
	for( var k = 0; k < arguments.length; k++ )
	{
		document.getElementById(arguments[k]).style.color = "#f00";
		document.getElementById(arguments[k]).style.backgroundImage = "url(css/matrixButtonR.png)";
	}
}

function changeOptional(cells)
{
	for( var k = 0; k < arguments.length; k++ )
	{
	
		document.getElementById(arguments[k]).style.color = "#00f";
		document.getElementById(arguments[k]).style.backgroundImage = "url(css/matrixButtonR.png)";
	}
}

function button(cell)
{
	for( var i = 1; i < 8; i++ )
	{
	
		document.getElementById("l" + i.toString()).style.backgroundImage  = "";
	}

	document.getElementById(cell).style.backgroundImage = "url(css/matrixButton.png)";
}

function caption()
{
	document.getElementById("caption").innerHTML = "&nbsp;					<a  id='e' style='color:#f00'>    &#8211;&#8211;&#8211;      </a> recommended &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a style='color:#00f'>    &#8211;&#8211;&#8211;      </a> optional";
}


function showMouseOver(text, event) 
{ 
	 document.getElementById("MouseOver").innerHTML = text; 
	 var topPixel = event.clientY - 20; 
	 var leftPixel = event.clientX - 430; 
	 document.getElementById("MouseOver").style.top = topPixel + "px"; 
	 document.getElementById("MouseOver").style.left = leftPixel + "px"; 
	 document.getElementById("MouseOver").style.display = "block"; 
}

function hideMouseOver() 
{ 
	document.getElementById("MouseOver").innerHTML = ""; 
	document.getElementById("MouseOver").style.top = "0px"; 
	document.getElementById("MouseOver").style.left = "0px"; 
	document.getElementById("MouseOver").style.display = "none"; 
}

    
var rdPro = '<b>Integrated multidiscipline mechanical system simulation</b><br>Foundation module, embedding all other interdisciplinary toolkits and vertical applications. Includes RD pre- and post-processor and RD/Solver. <br><b>Complete MBD functionality</b><br>RD/Professional features a state-of-the-art library of MBD elements (rigid bodies, constraints, forces …), with a specialization in powerful 3D-contact simulation.<br><b>CAD like modeling</b><br>RecurDyn/Professional has a build in CAD–kernel based on Parasolid from Siemens PLM, allowing the user to create and modify geometry like in a CAD system. RecurDyn supports geometry data exchange via Parasolid, ACIS, CATIA, STEP and IGES.';
var rdFFlex = '<b>FEMBD at its best</b><br>RD/FullFlex lets the user simulate non-linear FEA structures within a system level analysis. It uses the full set of degrees of freedom of a flexible body during the simulation allowing an update of the stiffness and mass matrices whenever necessary.<br><b>Extending virtual prototyping capabilities</b><br>This true FEM and MBD coupling overcomes the restrictions of the modal reduction technique if it comes to local contact analysis and non-linear deformations.<br><b>Integrated solution</b><br>RD/Solver is augmenting the MBD differential equations by the degrees of freedom of the RD/FullFlex body to solve for a combined solution at each time step including stress results.';
var rdRFlex = '<b>Flexible bodies based on modal reduction</b><br>Adding flexible bodies can significantly improve the result quality by a more precise prediction of the dynamic response and the load transfer through the structures due to component compliances.<br><b>Craig-Bampton method</b><br>RD/ReducedFlex uses the Craig-Bampton method if the flexible bodies are directly generated from ANSYS or NASTRAN by an automatic procedure. The interface also allows an augmentation of individual mode shapes, which may be added to improve the solution.<br><b>Stress analysis included</b><br>RD/ReducedFlex calculates stresses as a standard post-processing procedure which can be used for durability predictions.';
var rdCoLink = '<b>Mechatronic system level simulation</b><br>RD/CoLink is a signal flow based simulation package with a block oriented user interface allowing control parameter optimization based on a high-level mechanical model.<br><b>Rich control element library</b><br>RD/CoLink features sources, math operations, non-linear objects and discrete respectively continuous elements. It also comprises fuzzy logic and a library of electric drives.<br><b>Beyond Co-Simulation</b><br>Besides Co-Simulation the control system can be fully embedded in RD/Solver by combining both systems to a single differential equation system. This significantly speeds up simulation time and takes back-coupling effects into account.';

var rdLinear = '<b>Eigenvalue solver</b><br>RD/Linear calculates undamped and damped eigenvalues and eigenfrequencies of a mechanical system. RD/Linear supports combined Multibody Dynamics and RD/RFLEX degrees of freedom.';
var rdControls = '<b>Co-Simulation interface</b><br>RD/Controls features a Co-Simulation interface to MATLAB/Simulink ® from The Mathworks or to any other 3rd party program (e.g. in-house software) with a user defined fixed sampling time.';
var rdHydraulic = '<b>Hydraulic interface</b><br>The RD/Hydraulic interface is a particular deployment of the general RD/Controls interface. It allows Co-Simulation with the hydraulic software AMESim® with a user defined fixed communication interval.';
var rdAutoDesign = '<b>Parameter optimization</b><br>RD/AutoDesign provides Sensitivity Studies, Design Optimization and DFSS/Robust Design Optimization capabilities with multidiscipline design parameters also including controller parameters from RD/CoLink.';

var rdMTT = '<b>Paper transportation analysis</b><br>RD/MTT is a special purpose toolkit for the simulation of thin media (paper, foil,…) through media handling machines like copy machines, printers and ATMs. The RD/MTT library comprises guides, roller pairs and a 2D/3D sheet media representation.';
var rdLMTHMT = '<b>Tracked Vehicles Analysis</b><br>RD/HMT/LMT is a special purpose toolkit for the simulation of high mobility respectively low mobility tracked vehicles. Its component library features different types of track link elements, sprockets, rollers, a soft ground representation and more.';
var rdCrankTrain = '<b>Power train simulation</b><br>RD/Engine is a comprehensive suite of power train simulation products, comprising RD/CrankTrain, RD/ValveTrain and RD/TimingMechanism. All toolkits can be used stand alone or in combination to perform a complete engine simulation.';
var rdTire = '<b>Tire interface to RecurDyn</b><br>RD/Tire comprises multiple types of standard tires models for either vehicle handling analysis, ride and comfort, or durability analysis. RD/SoilTire features a tire model for flat and uneven soft ground for off-road vehicles.';

var rdValveTrain = '<b>Power train simulation</b><br>RD/Engine is a comprehensive suite of power train simulation products, comprising RD/CrankTrain, RD/ValveTrain and RD/TimingMechanism. All toolkits can be used stand alone or in combination to perform a complete engine simulation.';
var rdChain = '<b>Timing and conveyor chain analysis</b><br>RecurDyn/Chain comprises a predefined library of chain drive components like sprockets, tensioners and guide elements. It allows the analysis of internal forces respectively the lateral and longitudinal vibrations for NVH and durability studies.';
var rdBelt = '<b>Belt drive system analysis</b><br>RD/Belt supports belt drive components like pulleys and roller elements for flat, timing and (poly-) V belt types. Simulation results are reaction forces, rotational vibrations, belt tension, and longitudinal and lateral oscillations for NVH studies.';
var rdGear = '<b>Gear drive and transmission analysis</b><br>RD/Gear supports spur, helical, bevel and worm gears. Teeth geometry can be defined by standardized gearing parameters or by a freely user defined tooth profile. RD/Gear is used for backlash studies and gear shaft rotational vibration analysis.';

var rdMachineTool = '<b>Machine tool analysis</b> (developed by FunctionBay GmbH)<br>For the first time FBG.MachineTool offers the possibility to simulate long distance motions on FEMKS structures. In this way it is possible to build  flexible multi body systems of standard machine parts (BallScrew and LinearGuide). Consequently with the use of the FBG.MachineTool the manufacturer is able to locate and analyze component stresses and to consider them in the designing process.';