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


var tourCurrentSection=1;var tourFlashObject=null;var elTourSectionHeaderList=new Array();var tourPlaying=true;var tourMuted=false;var tourNumSections=0;$(function(){var el;while(el=document.getElementById('tour_section_'+eval(1+tourNumSections))){tourNumSections++;elTourSectionHeaderList[tourNumSections]=el;}
tourFlashObject=getFlashMovieObject('tourFlash');});function tour_pause(paused,skipFlash){if(paused!=undefined){tourPlaying=!paused;}else{tourPlaying=!tourPlaying;}
if(!skipFlash)
tourFlashObject.play_pause(tourPlaying);var addClass=tourPlaying?"pause":"play";var removeClass=tourPlaying?"play":"pause";$(".secondary-nav ."+removeClass).attr('className',addClass);}
function tour_reverse(){tourFlashObject.fast_reverse();tourPlaying=true;tour_pause(true,true);}
function tour_forward(){tourFlashObject.fast_forward();tourPlaying=true;tour_pause(true,true);}
function tour_mute(){tourMuted=!tourMuted;tourFlashObject.mute_unmnute(tourMuted);var addClass=tourMuted?"unmute":"mute";var removeClass=tourMuted?"mute":"unmute";$(".secondary-nav ."+removeClass).attr('className',addClass);}
function tour_play_section(id){if(!tourFlashObject)init_tour();id=typeof(id)=="string"?id.replace(/^\D*(\d+)$/,"$1"):id;tourFlashObject.loadSection(id);highlightMenuItems(id);tourCurrentSection=id;}
function highlightMenuItems(id1,id2){if(id2==undefined)id2=-1;for(var i=1;i<=tourNumSections;i++){elTourSectionHeaderList[i].className=elTourSectionHeaderList[i].className.replace(/ cur/,'');elTourSectionHeaderList[i].className+=(id1==i||id2==i)?' cur':'';}}