var topModelDIVs = new Array('topModel1', 'topModel2', 'topModel3', 'topModel4', 'topModel5','topModel6','topModel7','topModel8','topModel9','topModel10');
var topLinks = new Array('topLink1', 'topLink2', 'topLink3', 'topLink4', 'topLink5', 'topLink6', 'topLink7', 'topLink8', 'topLink9', 'topLink10');
var currentModel = 0;  var topInterval = ''; var topIntervalTime = 1999;function AutomateTopModels(){clearTimeout(topInterval); if(currentModel >= topLinks.length)	currentModel = 0;for(var i = 0; i < topLinks.length; i++){linkId = 'topLink' + parseInt(i + 1);modelId = 'topModel' + parseInt(i + 1);	if(currentModel != i){document.getElementById(linkId).className = 'thrown';document.getElementById(modelId).style.display = 'none';}else{document.getElementById(linkId).className = 'active';document.getElementById(modelId).style.display = 'block';}}currentModel++;topInterval = setTimeout("AutomateTopModels()", topIntervalTime);}function ShowTopModel(cnt){clearTimeout(topInterval);currentModel = parseInt(cnt - 1);for(var i = 0; i < topLinks.length; i++){	linkId = 'topLink' + parseInt(i + 1);modelId = 'topModel' + parseInt(i + 1);if(currentModel != i){document.getElementById(linkId).className = 'thrown';document.getElementById(modelId).style.display = 'none';}else{	document.getElementById(linkId).className = 'active';document.getElementById(modelId).style.display = 'block';}}currentModel++;topInterval = setTimeout("AutomateTopModels()",topIntervalTime);}