/*
 * minified javascript file
 * http://www.suzukiauto.com/_cj/360s.js
 */


var flashModels;var changeModelTimer;var changeTrimTimer;var changeColorTimer;var resetColorTimer;var flashReady=false;var flashModelsChangedColorAuxiliaryFunctions=new Array();$(function(){init360();});function init360(){flashModels=getFlashMovieObject('flash360s');$('.model-360s-container').mouseout(function(){flashModels.onMouseOutsideStage();});}
function change360sModel(model){if(flashReady&&flashModels.change_model){flashModels.change_model(model);}else{clearTimeout(changeModelTimer);changeModelTimer=setTimeout("change360sModel('"+model+"')",1000);}}
function change360sStaticModel(path){if(flashReady&&flashModels.change_model_static){flashModels.change_model_static(path);}else{clearTimeout(changeModelTimer);changeModelTimer=setTimeout("change360sStaticModel('"+path+"')",100);}}
function change360sTrim(trim){if(flashReady&&flashModels.change_trim){flashModels.change_trim(trim);}else{clearTimeout(changeTrimTimer);init360();changeTrimTimer=setTimeout("change360sTrim('"+trim+"')",100);}}
function change360sColor(colorCode){if(flashReady&&flashModels.change_color){flashModels.change_color(colorCode);}else{clearTimeout(changeColorTimer);changeColorTimer=setTimeout("change360sColor('"+colorCode+"')",100);}}
function reset360sColor(){if(flashReady&&flashModels.reset_color){flashModels.reset_color();}else{clearTimeout(resetColorTimer);resetColorTimer=setTimeout("reset360sColor()",100);}}
var flashModelsActivate=function(){flashReady=true;return true;}
var flashModelsChangedColor=function(code){for(var i in flashModelsChangedColorAuxiliaryFunctions){flashModelsChangedColorAuxiliaryFunctions[i](code);}}