var movieName = "sendmovie";

function thisMovie(movieName) {
  // IE and Netscape refer to the movie object differently.
  // This function returns the appropriate syntax depending on the browser.
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    return window[movieName]
  }	else {
    return document[movieName]
  }
}

// Checks if movie is completely loaded.
// Returns true if yes, false if no.
function movieIsLoaded (theMovie) {
  if (typeof(theMovie) != "undefined") {
    return theMovie.PercentLoaded() == 100;
  } else {
    return false;
  }
}

function movieSetVariable(variableName, value) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).SetVariable( variableName, value );
  }
}

function playmovie() {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).Play();
  }
}

function stopmovie() {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).StopPlay();
  }
}


function go(theFrame) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).GotoFrame(theFrame);
  }
}

function golabel() {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).TGotoLabel("_level0/","redframe");
  }
}



var MvsBCList = new Array();
var CarColors = new Array();



//Grande Punto 3v
CarColors[0] = new ConsBodyColor("296",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "229", "0", "225", "0", "222", "0", "255"));
CarColors.push(new ConsBodyColor("876",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));
CarColors.push(new ConsBodyColor("475",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "26", "0", "64", "0", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "223", "0", "29", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("507",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "242", "0", "200", "0", "10", "0", "255"), 0));
CarColors.push(new ConsBodyColor("153",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "142", "0", "21", "0", "40", "0", "255"), 0));
CarColors.push(new ConsBodyColor("174",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "151", "0", "149", "0", "137", "0", "255"), 0));
CarColors.push(new ConsBodyColor("448",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "114", "0", "125", "0", "255"), 0));
CarColors.push(new ConsBodyColor("589",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "179", "0", "178", "0", "183", "0", "255"), 0));
CarColors.push(new ConsBodyColor("595",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "136", "0", "141", "0", "144", "0", "255"), 0));
CarColors.push(new ConsBodyColor("599",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "10", "0", "69", "0", "127", "0", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "70", "0", "74", "0", "73", "0", "255"), 0));
CarColors.push(new ConsBodyColor("708",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "76", "0", "58", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("891",'Grande Punto 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));

//Grande Punto 5v
CarColors.push(new ConsBodyColor("296",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "229", "0", "225", "0", "222", "0", "255"), 0));
CarColors.push(new ConsBodyColor("876",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));
CarColors.push(new ConsBodyColor("475",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "26", "0", "64", "0", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "223", "0", "29", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("507",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "242", "0", "200", "0", "10", "0", "255"), 0));
CarColors.push(new ConsBodyColor("153",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "142", "0", "21", "0", "40", "0", "255"), 0));
CarColors.push(new ConsBodyColor("174",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "151", "0", "149", "0", "137", "0", "255"), 0));
CarColors.push(new ConsBodyColor("448",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "114", "0", "125", "0", "255"), 0));
CarColors.push(new ConsBodyColor("589",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "179", "0", "178", "0", "183", "0", "255"), 0));
CarColors.push(new ConsBodyColor("595",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "136", "0", "141", "0", "144", "0", "255"), 0));
CarColors.push(new ConsBodyColor("599",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "10", "0", "69", "0", "127", "0", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "70", "0", "74", "0", "73", "0", "255"), 0));
CarColors.push(new ConsBodyColor("708",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "76", "0", "58", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("891",'Grande Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));

//Punto Evo 3v
CarColors.push(new ConsBodyColor("296",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "73", "80", "73", "219", "64", "139", "58", "32"), 0));
CarColors.push(new ConsBodyColor("760",'Punto Evo 3v', new Array("-47", "100", "3", "-52", "5", "255", "3", "8", "61", "100", "25", "207", "8", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("475",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "255", "-53", "159", "8", "48", "36", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Punto Evo 3v', new Array("100", "100", "3", "-52", "5", "255", "3", "8", "-28", "255", "-100", "255", "-100", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("876",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-100", "159", "31", "120"), 0));
CarColors.push(new ConsBodyColor("348",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "17", "80", "-16", "219", "64", "139", "30", "32"), 0));
CarColors.push(new ConsBodyColor("595",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "27", "80", "-16", "219", "64", "139", "30", "32"), 0));
CarColors.push(new ConsBodyColor("494",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "-120", "-50", "163", "23", "96", "66", "32"), 0));
CarColors.push(new ConsBodyColor("354",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "255", "-53", "159", "8", "48", "-25", "255"), 0));
CarColors.push(new ConsBodyColor("750",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-100", "159", "31", "255"), 0));
CarColors.push(new ConsBodyColor("360",'Punto Evo 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-48", "0", "13", "12", "-89", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Punto Evo 3v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-86", "239", "31", "84"), 0));
CarColors.push(new ConsBodyColor("141",'Punto Evo 3v', new Array("100", "100", "3", "-52", "5", "255", "3", "8", "-48", "231", "-100", "255", "-95", "255", "100", "255"), 0));

//Punto Evo 5v
CarColors.push(new ConsBodyColor("296",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "73", "80", "73", "219", "64", "139", "58", "32"), 0));
CarColors.push(new ConsBodyColor("475",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "255", "-53", "159", "8", "48", "36", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Punto Evo 5v', new Array("100", "100", "3", "-52", "5", "255", "3", "8", "-28", "255", "-100", "255", "-100", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("876",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-100", "159", "31", "120"), 0));
CarColors.push(new ConsBodyColor("348",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "17", "80", "-16", "219", "64", "139", "30", "32"), 0));
CarColors.push(new ConsBodyColor("595",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "27", "80", "-16", "219", "64", "139", "30", "32"), 0));
CarColors.push(new ConsBodyColor("494",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "-120", "-50", "163", "23", "96", "66", "32"), 0));
CarColors.push(new ConsBodyColor("354",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "-100", "255", "-53", "159", "8", "48", "-25", "255"), 0));
CarColors.push(new ConsBodyColor("750",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-100", "159", "31", "255"), 0));
CarColors.push(new ConsBodyColor("360",'Punto Evo 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-48", "0", "13", "12", "-89", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("760",'Punto Evo 5v', new Array("-47", "100", "3", "-52", "5", "255", "3", "8", "61", "100", "25", "207", "8", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Punto Evo 5v', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "100", "-255", "81", "-255", "-86", "239", "31", "84"), 0));
CarColors.push(new ConsBodyColor("141",'Punto Evo 5v', new Array("100", "100", "3", "-52", "5", "255", "3", "8", "-48", "231", "-100", "255", "-95", "255", "100", "255"), 0));

//Grande Punto Actual 3v
CarColors.push(new ConsBodyColor("296",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "229", "0", "225", "0", "222", "0", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "223", "0", "29", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("475",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "26", "0", "64", "0", "255"), 0));
CarColors.push(new ConsBodyColor("595",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "136", "0", "141", "0", "144", "0", "255"), 0));
CarColors.push(new ConsBodyColor("448",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "114", "0", "125", "0", "255"), 0));
CarColors.push(new ConsBodyColor("153",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "142", "0", "21", "0", "40", "0", "255"), 0));
CarColors.push(new ConsBodyColor("876",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));
CarColors.push(new ConsBodyColor("348",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "151", "0", "149", "0", "137", "0", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Grande Punto Actual 3v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "70", "0", "74", "0", "73", "0", "255"), 0));

//Grande Punto Actual 5v
CarColors.push(new ConsBodyColor("296",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "229", "0", "225", "0", "222", "0", "255"), 0));
CarColors.push(new ConsBodyColor("176",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "223", "0", "29", "0", "38", "0", "255"), 0));
CarColors.push(new ConsBodyColor("475",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "26", "0", "64", "0", "255"), 0));
CarColors.push(new ConsBodyColor("595",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "136", "0", "141", "0", "144", "0", "255"), 0));
CarColors.push(new ConsBodyColor("448",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "114", "0", "125", "0", "255"), 0));
CarColors.push(new ConsBodyColor("153",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "142", "0", "21", "0", "40", "0", "255"), 0));
CarColors.push(new ConsBodyColor("876",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0", "255"), 0));
CarColors.push(new ConsBodyColor("348",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "151", "0", "149", "0", "137", "0", "255"), 0));
CarColors.push(new ConsBodyColor("634",'Grande Punto Actual 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "70", "0", "74", "0", "73", "0", "255"), 0));

//500
CarColors.push(new ConsBodyColor("268",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "98", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("602",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "75", "0", "75", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("612",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "75", "0", "75", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("891",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("876",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("294",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "78", "0", "89", "0", "97", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("111",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("509",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "84", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("695",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "60", "0", "58", "0", "54", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("599",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "38", "0", "72", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("270",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("164",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "61", "0", "12", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("735",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-72", "56", "3", "0", "16", "0", "58", "0"), 0));

//500 Diesel
CarColors.push(new ConsBodyColor("370",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "23", "0", "33", "0", "22", "0", "94", "-4"), 0));
CarColors.push(new ConsBodyColor("891",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("876",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("713",'500', new Array("0", "0", "0", "0", "0", "0", "0", "0", "30", "0", "25", "0", "13", "0", "78", "-4"), 0));

//500C
CarColors.push(new ConsBodyColor("164",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("268",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "98", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("475",'500C', new Array("-2", "-255", "-5", "-255", "2", "-255", "100", "-8", "-3", "0", "-2", "-104", "31", "-48", "86", "4"), 0));
CarColors.push(new ConsBodyColor("612",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "75", "0", "75", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("876",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("294",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "78", "0", "89", "0", "97", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("111",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "48", "44", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("509",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "84", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("735",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "60", "0", "58", "0", "54", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("695",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-72", "56", "3", "0", "16", "0", "58", "0"), 0));
CarColors.push(new ConsBodyColor("270",'500C', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "100", "0", "100", "0"), 0));

//Croma
CarColors.push(new ConsBodyColor("296",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "216", "0", "212", "0", "209", "0", "255"), 0));
CarColors.push(new ConsBodyColor("601",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "2", "0", "2", "0", "227"), 0));
CarColors.push(new ConsBodyColor("272",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "123", "0", "112", "0", "90", "0", "255"), 0));
CarColors.push(new ConsBodyColor("422",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "27", "0", "96", "0", "255"), 0));
CarColors.push(new ConsBodyColor("617",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "86", "0", "91", "0", "95", "0", "227"), 0));
CarColors.push(new ConsBodyColor("698",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "127", "0", "131", "0", "130", "0", "227"), 0));
CarColors.push(new ConsBodyColor("742",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "76", "0", "67", "0", "58", "0", "227"), 0));
CarColors.push(new ConsBodyColor("819",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "34", "0", "34", "0", "34", "0", "219"), 0));
CarColors.push(new ConsBodyColor("865",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "98", "0", "93", "0", "89", "0", "219"), 0));
CarColors.push(new ConsBodyColor("487",'Croma', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "5", "0", "48", "0", "122", "0", "227"), 0));

//Bravo
CarColors.push(new ConsBodyColor("187",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "56", "0", "2", "0", "9", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("296",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "82", "0", "85", "0", "86", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("272",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "34", "0", "14", "0", "-100", "0", "52", "0"), 0));
CarColors.push(new ConsBodyColor("284",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "83", "0"), 0));
CarColors.push(new ConsBodyColor("336",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "22", "0", "39", "0", "39", "0"), 0));
CarColors.push(new ConsBodyColor("890",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "11", "0", "14", "0", "91", "0"), 0));
CarColors.push(new ConsBodyColor("620",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "39", "0"), 0));
CarColors.push(new ConsBodyColor("891",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "91", "0"), 0));
CarColors.push(new ConsBodyColor("876",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "91", "0"), 0));
CarColors.push(new ConsBodyColor("487",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "3", "0", "11", "0", "91", "0"), 0));
CarColors.push(new ConsBodyColor("106",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "34", "0", "0", "0", "0", "0", "86", "0"), 0));
CarColors.push(new ConsBodyColor("899",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "3", "0", "17", "0", "53", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("865",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "8", "0", "-100", "0", "-100", "0", "70", "0"), 0));
CarColors.push(new ConsBodyColor("279",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "48", "0", "28", "0", "3", "-8", "9", "80"), 0));
CarColors.push(new ConsBodyColor("617",'Bravo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "14", "56"), 0));

//Croma
CarColors.push(new ConsBodyColor("266",'Croma', new Array("0", "-255", "0", "-76", "0", "52", "-3", "219", "56", "100", "38", "255", "36", "255", "100", "-68"), 0));
CarColors.push(new ConsBodyColor("293",'Croma', new Array("0", "72", "0", "-255", "0", "-255", "-3", "219", "70", "183", "14", "255", "31", "255", "89", "-56"), 0));
CarColors.push(new ConsBodyColor("249",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "-100", "100", "255", "100", "255", "100", "255", "100", "60"), 0));
CarColors.push(new ConsBodyColor("601",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "-80", "255", "-80", "255", "-80", "255", "100", "0"), 0));
CarColors.push(new ConsBodyColor("260",'Croma', new Array("0", "0", "0", "0", "0", "0", "100", "0", "-20", "255", "-8", "255", "0", "255", "100", "0"), 0));
CarColors.push(new ConsBodyColor("272",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "-3", "255", "-9", "255", "-17", "255", "100", "40"), 0));
CarColors.push(new ConsBodyColor("284",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "-42", "255", "-42", "255", "-42", "255", "100", "0"), 0));
CarColors.push(new ConsBodyColor("698",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "100", "255", "100", "255", "100", "255", "100", "0"), 0));
CarColors.push(new ConsBodyColor("742",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "-42", "255", "-55", "255", "-66", "255", "100", "0"), 0));
CarColors.push(new ConsBodyColor("487",'Croma',	new Array("0", "0", "0", "0", "0", "0", "100", "0", "-80", "255", "-75", "255", "-50", "255", "100", "0"), 0));

//Panda
CarColors.push(new ConsBodyColor("268",'Panda', new Array("0", "0", "0", "0", "0", "0", "0", "0", "52", "0", "56", "0", "55", "0", "53", "0"), 0));
CarColors.push(new ConsBodyColor("541",'Panda', new Array("0", "255", "0", "215", "0", "156", "0", "255", "90", "0", "86", "0", "62", "0", "78", "0"), 0));
CarColors.push(new ConsBodyColor("505",'Panda', new Array("91", "0", "36", "0", "9", "0", "100", "0", "34", "0", "34", "0", "34", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("599",'Panda', new Array("0", "36", "0", "80", "0", "175", "0", "255", "30", "0", "50", "0", "63", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("602",'Panda', new Array("0", "189", "0", "188", "0", "193", "0", "255", "76", "0", "75", "0", "77", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("652",'Panda', new Array("56", "0", "47", "0", "33", "0", "100", "0", "27", "0", "27", "0", "25", "0", "94", "0"), 0));
CarColors.push(new ConsBodyColor("792",'Panda', new Array("0", "203", "0", "235", "0", "255", "100", "255", "100", "0", "100", "0", "100", "0", "84", "0"), 0));
CarColors.push(new ConsBodyColor("891",'Panda', new Array("0", "0", "0", "0", "0", "0", "0", "143", "0", "0", "0", "0", "0", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("111",'Panda', new Array("0", "161", "0", "17", "0", "44", "0", "255", "64", "0", "7", "-4", "18", "0", "92", "0"), 0));
CarColors.push(new ConsBodyColor("695",'Panda', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "-44", "0", "-44", "0", "-40", "0", "163"), 0));
CarColors.push(new ConsBodyColor("519",'Panda', new Array("0", "209", "0", "111", "0", "48", "0", "255", "84", "0", "44", "0", "19", "0", "102", "0"), 0));
CarColors.push(new ConsBodyColor("415",'Panda', new Array("0", "36", "0", "80", "0", "175", "100", "255", "30", "0", "50", "0", "63", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("633",'Panda', new Array("56", "0", "47", "0", "33", "0", "100", "0", "27", "0", "27", "0", "25", "0", "94", "0"), 0));

//Panda 4x4
CarColors.push(new ConsBodyColor("268",'Panda 4x4', new Array("0", "255", "0", "255", "0", "249", "100", "0", "100", "100", "100", "100", "100", "100", "30", "0"), 0));
CarColors.push(new ConsBodyColor("541",'Panda 4x4', new Array("0", "255", "0", "230", "0", "125", "100", "0", "100", "48", "100", "65", "100", "100", "20", "0"), 0));
CarColors.push(new ConsBodyColor("505",'Panda 4x4', new Array("91", "0", "36", "0", "9", "0", "100", "0", "34", "0", "34", "0", "34", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("599",'Panda 4x4', new Array("0", "36", "0", "80", "0", "175", "100", "255", "83", "0", "91", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("602",'Panda 4x4', new Array("0", "225", "0", "225", "0", "225", "100", "0", "100", "80", "100", "80", "100", "80", "82", "0"), 0));
CarColors.push(new ConsBodyColor("652",'Panda 4x4', new Array("56", "0", "47", "0", "33", "0", "100", "0", "27", "0", "27", "0", "25", "0", "94", "0"), 0));
CarColors.push(new ConsBodyColor("792",'Panda 4x4', new Array("0", "203", "0", "235", "0", "255", "100", "255", "100", "0", "100", "0", "100", "0", "84", "0"), 0));
CarColors.push(new ConsBodyColor("891",'Panda 4x4', new Array("0", "4", "0", "4", "0", "7", "100", "0", "60", "0", "60", "0", "60", "0", "60", "0"), 0));
CarColors.push(new ConsBodyColor("111",'Panda 4x4', new Array("0", "171", "0", "0", "0", "8", "100", "0", "100", "0", "73", "0", "72", "0", "46", "0"), 0));

//Panda 4x4 Cross
CarColors.push(new ConsBodyColor("519",'Panda 4x4', new Array("91", "0", "36", "0", "9", "0", "100", "0", "34", "0", "34", "0", "34", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("292",'Panda 4x4', new Array("23", "0", "27", "0", "11", "0", "100", "0", "59", "0", "53", "0", "40", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("652",'Panda 4x4', new Array("56", "0", "47", "0", "33", "0", "100", "0", "27", "0", "27", "0", "25", "0", "94", "0"), 0));
CarColors.push(new ConsBodyColor("451",'Panda 4x4', new Array("-22", "-44", "-5", "36", "-9", "92", "100", "255", "67", "0", "86", "0", "100", "0", "72", "0"), 0));
CarColors.push(new ConsBodyColor("795",'Panda 4x4', new Array("0", "108", "0", "159", "0", "116", "95", "-64", "100", "0", "100", "0", "100", "0", "73", "0"), 0));
CarColors.push(new ConsBodyColor("798",'Panda 4x4', new Array("0", "44", "0", "120", "0", "171", "95", "-80", "100", "0", "100", "0", "100", "0", "59", "0"), 0));
CarColors.push(new ConsBodyColor("716",'Panda 4x4', new Array("0", "48", "0", "28", "0", "-255", "95", "-84", "100", "0", "100", "0", "100", "0", "75", "0"), 0));

//Doblo
CarColors.push(new ConsBodyColor("199",'Doblo', new Array("64", "-8", "8", "-255", "64", "-255", "100", "255", "100", "0", "92", "0", "89", "0", "67", "0"), 0));
CarColors.push(new ConsBodyColor("228",'Doblo', new Array("0", "48", "0", "28", "0", "-255", "95", "-84", "100", "80", "100", "64", "95", "4", "83", "0"), 0));
CarColors.push(new ConsBodyColor("249",'Doblo', new Array("100", "-187", "100", "-175", "100", "-159", "75", "-155", "100", "4", "100", "4", "100", "4", "100", "4"), 0));
CarColors.push(new ConsBodyColor("479",'Doblo', new Array("-22", "-44", "14", "-131", "-22", "92", "100", "255", "67", "0", "86", "0", "100", "0", "72", "0"), 0));
CarColors.push(new ConsBodyColor("163",'Doblo', new Array("0", "124", "0", "35", "0", "41", "0", "255", "73", "20", "30", "0", "39", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("261",'Doblo', new Array("0", "-255", "0", "-255", "84", "-255", "100", "-124", "100", "-8", "100", "0", "100", "36", "100", "0"), 0));
CarColors.push(new ConsBodyColor("284",'Doblo', new Array("0", "-255", "0", "-255", "0", "-255", "95", "-24", "92", "0", "95", "0", "100", "0", "70", "0"), 0));
CarColors.push(new ConsBodyColor("484",'Doblo', new Array("0", "-255", "14", "84", "34", "147", "83", "-151", "100", "-12", "100", "-12", "98", "-4", "100", "-56"), 0));
CarColors.push(new ConsBodyColor("487",'Doblo', new Array("2", "0", "-3", "-179", "0", "80", "83", "0", "-61", "0", "-41", "4", "-100", "0", "75", "0"), 0));
CarColors.push(new ConsBodyColor("612",'Doblo', new Array("0", "-255", "0", "-255", "0", "-255", "95", "-151", "100", "0", "100", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("632",'Doblo', new Array("0", "-255", "0", "-255", "0", "-255", "95", "255", "88", "0", "94", "0", "100", "0", "67", "0"), 0));
CarColors.push(new ConsBodyColor("781",'Doblo', new Array("0", "48", "0", "28", "0", "-255", "95", "-84", "100", "-52", "100", "0", "100", "0", "75", "0"), 0));

//Linea
CarColors.push(new ConsBodyColor("249",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("504",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "67", "0", "-100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("261",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "83", "0", "86", "0"), 0));
CarColors.push(new ConsBodyColor("284",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "30", "0", "30", "0", "30", "0", "66", "0"), 0));
CarColors.push(new ConsBodyColor("293",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "88", "0", "0", "0", "6", "0", "91", "0"), 0));
CarColors.push(new ConsBodyColor("408",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "42", "0", "73", "0", "100", "0", "78", "0"), 0));
CarColors.push(new ConsBodyColor("484",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "42", "0", "73", "0", "100", "0", "44", "0"), 0));
CarColors.push(new ConsBodyColor("487",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-45", "0", "27", "0", "69", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("612",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "75", "0", "75", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("632",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("781",'Linea', new Array("0", "0", "0", "0", "0", "0", "0", "0", "92", "0", "100", "0", "86", "0", "100", "0"), 0));

//Multipla
CarColors.push(new ConsBodyColor("249",'Multipla', new Array("58", "187", "0", "0", "0", "0", "0", "0", "61", "-16", "59", "-8", "59", "-4", "-58", "195"), 0));
CarColors.push(new ConsBodyColor("475",'Multipla', new Array("58", "187", "0", "0", "0", "0", "0", "0", "-100", "-255", "-8", "-48", "31", "-32", "89", "56"), 0));
CarColors.push(new ConsBodyColor("163",'Multipla', new Array("58", "187", "0", "0", "0", "0", "0", "0", "-36", "255", "-97", "255", "-100", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("261",'Multipla', new Array("58", "187", "0", "0", "0", "0", "0", "0", "48", "-60", "48", "-76", "-100", "-124", "75", "-112"), 0));
CarColors.push(new ConsBodyColor("457",'Multipla', new Array("2", "0", "100", "255", "0", "96", "83", "0", "34", "0", "58", "4", "78", "0", "50", "0"), 0));
CarColors.push(new ConsBodyColor("598",'Multipla', new Array("58", "187", "38", "0", "0", "0", "0", "0", "36", "28", "-6", "-135", "9", "-112", "-2", "195"), 0));
CarColors.push(new ConsBodyColor("599",'Multipla', new Array("58", "187", "38", "0", "0", "0", "0", "0", "-14", "28", "47", "-68", "48", "-24", "81", "195"), 0));
CarColors.push(new ConsBodyColor("612",'Multipla', new Array("58", "187", "38", "0", "0", "0", "0", "0", "45", "44", "45", "48", "47", "44", "100", "255"), 0));
CarColors.push(new ConsBodyColor("690",'Multipla', new Array("58", "187", "38", "0", "0", "0", "0", "0", "45", "8", "47", "8", "47", "12", "100", "255"), 0));
CarColors.push(new ConsBodyColor("891",'Multipla', new Array("8", "104", "-16", "0", "0", "-120", "0", "0", "-53", "155", "-53", "159", "-53", "159", "70", "60"), 0));

//Punto 3v
CarColors.push(new ConsBodyColor("296",'Punto 3v', new Array("0", "255", "0", "255", "0", "0", "0", "0", "0", "255", "0", "255", "0", "255", "0", "139"), 0));
CarColors.push(new ConsBodyColor("163",'Punto 3v', new Array("0", "211", "0", "28", "0", "56", "0", "255", "76", "0", "15", "0", "20", "0", "0", "0"), 0));
CarColors.push(new ConsBodyColor("261",'Punto 3v', new Array("0", "187", "0", "177", "0", "168", "0", "255", "0", "0", "0", "0", "0", "0", "100", "-255"), 0));
CarColors.push(new ConsBodyColor("457",'Punto 3v', new Array("0", "152", "0", "189", "0", "218", "100", "255", "0", "0", "0", "0", "0", "0", "100", "-255"), 0));
CarColors.push(new ConsBodyColor("845",'Punto 3v', new Array("0", "19", "0", "78", "0", "118", "100", "255", "0", "0", "0", "0", "0", "0", "100", "-255"), 0));
CarColors.push(new ConsBodyColor("612",'Punto 3v', new Array("0", "217", "0", "218", "0", "222", "100", "255", "0", "0", "0", "0", "0", "0", "100", "-255"), 0));
CarColors.push(new ConsBodyColor("891",'Punto 3v', new Array("0", "38", "0", "38", "0", "38", "100", "255", "0", "0", "0", "0", "0", "0", "100", "-255"), 0));

//Punto 5v
CarColors.push(new ConsBodyColor("296",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "100", "0", "100", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("163",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "67", "0", "0", "0", "13", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("261",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "89", "0", "88", "0", "80", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("457",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "81", "0", "91", "0", "100", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("845",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "27", "0", "45", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("612",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "75", "0", "75", "0", "75", "0"), 0));
CarColors.push(new ConsBodyColor("891",'Punto 5v', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "0", "-100", "0", "-100", "0", "83", "0"), 0));

//Qubo
CarColors.push(new ConsBodyColor("199",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "181", "0", "24", "0", "31", "0", "255"), 0));
CarColors.push(new ConsBodyColor("249",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "239", "0", "239", "0", "233", "0", "255"), 0));
CarColors.push(new ConsBodyColor("163",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "138", "0", "11", "0", "15", "0", "255"), 0));
CarColors.push(new ConsBodyColor("355",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "115", "0", "181", "0", "95", "0", "255"), 0));
CarColors.push(new ConsBodyColor("484",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "-76", "0", "72", "0", "255", "0", "104"), 0));
CarColors.push(new ConsBodyColor("487",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "7", "0", "17", "0", "65", "0", "255"), 0));
CarColors.push(new ConsBodyColor("612",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "170", "0", "172", "0", "176", "0", "255"), 0));
CarColors.push(new ConsBodyColor("632",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "8", "0", "8", "0", "8", "0", "255"), 0));
CarColors.push(new ConsBodyColor("228",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "234", "0", "216", "0", "188", "0", "255"), 0));
CarColors.push(new ConsBodyColor("479",'Qubo', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "47", "0", "108", "0", "255"), 0));
CarColors.push(new ConsBodyColor("551",'Qubo', new Array("0", "209", "0", "111", "0", "48", "0", "255", "84", "0", "44", "0", "19", "0", "102", "0"), 0));

//Sedici
CarColors.push(new ConsBodyColor("982",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "75", "0", "-100", "0", "2", "0", "100", "0"), 0));
CarColors.push(new ConsBodyColor("983",'Sedici', new Array("-100", "255", "-100", "255", "-100", "255", "-100", "255", "100", "255", "100", "255", "100", "255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("865",'Sedici', new Array("2", "-4", "-2", "-4", "-5", "-4", "-5", "-12", "22", "16", "33", "-32", "-56", "-255", "55", "32"), 0));
CarColors.push(new ConsBodyColor("975",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "-16", "100", "-255", "-100", "-255", "100", "255"), 0));
CarColors.push(new ConsBodyColor("976",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "-255", "-100", "-255", "-100", "-255", "53", "0"), 0));
CarColors.push(new ConsBodyColor("977",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "-12", "-62", "-28", "-100", "20", "31", "0"), 0));
CarColors.push(new ConsBodyColor("979",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "-100", "-255", "-100", "-56", "48", "-40", "100", "255"), 0));
CarColors.push(new ConsBodyColor("211",'Sedici', new Array("-47", "68", "3", "-52", "5", "255", "3", "8", "73", "80", "73", "219", "64", "139", "58", "32"), 0));
CarColors.push(new ConsBodyColor("985",'Sedici', new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "168", "0", "34", "0", "35", "0", "255"), 0));


function MvsBodyColor(codeArg,descArg,imgSmallArg,priceArg,codeOptArg,paraFlashArg) {
	this.code = codeArg;
	this.desc = descArg;
	this.imgSmall = imgSmallArg;
	this.price = priceArg;
	this.codeOpt = codeOptArg;
	this.paraFlash = paraFlashArg;
}


function ConsBodyColor(KodaBarva,TipVozila,FlashParam) {
	this.KodaBarva = KodaBarva;
	this.TipVozila = TipVozila;
	this.FlashParam = FlashParam;

}



function pSetRims(s){
       // var InternetExplorer = (navigator.appName.indexOf("Microsoft") !=-1);
        //var movie = null;
        //movie = (InternetExplorer) ? film : document.film;
	//if (s.length<1) s = document.forms[0].RIMS.value;
	
		movieSetVariable("_root.felge",s);
	}

	function setFlashInterior(capotteFlashCode) {
		
			movieSetVariable("_root.kapo", capotteFlashCode);
		
	}



function pSetColore(){
	// setFlashColor( document.forms[0].COLORE.value );
	n = document.forms[0].COLORE.value;
        var InternetExplorer = (navigator.appName.indexOf("Microsoft") !=-1);
        var movie = null;
        //movie = (InternetExplorer) ? film : document.film;
                        var tmpArr=n.split(",");
                        movieSetVariable("_root.farbe_lack_ra", tmpArr[0]);
                        movieSetVariable("_root.farbe_lack_rb", tmpArr[1]);
                        movieSetVariable("_root.farbe_lack_ga", tmpArr[2]);
                        movieSetVariable("_root.farbe_lack_gb", tmpArr[3]);
                        movieSetVariable("_root.farbe_lack_ba", tmpArr[4]);
                        movieSetVariable("_root.farbe_lack_bb", tmpArr[5]);
                        movieSetVariable("_root.farbe_lack_aa", tmpArr[6]);
                        movieSetVariable("_root.farbe_lack_ab", tmpArr[7]);
                        movieSetVariable("_root.farbe_kontrast_ra",tmpArr[8]);
                        movieSetVariable("_root.farbe_kontrast_rb",tmpArr[9]);
                        movieSetVariable("_root.farbe_kontrast_ga",tmpArr[10]);
                        movieSetVariable("_root.farbe_kontrast_gb",tmpArr[11]);
                        movieSetVariable("_root.farbe_kontrast_ba",tmpArr[12]);
                        movieSetVariable("_root.farbe_kontrast_bb",tmpArr[13]);
                        movieSetVariable("_root.farbe_kontrast_aa",tmpArr[14]);
                        movieSetVariable("_root.farbe_kontrast_ab",tmpArr[15]);
}


//tukaj
function setFlashColor(mvsBodyColorCode, Vozilo){
        //Flash setting does not work with MacIntosh
        //var InternetExplorer = (navigator.appName.indexOf("Microsoft") !=-1);
        //var movie = null;
        //movie = (InternetExplorer) ? film : document.film;
        
		for(var i=0;i<CarColors.length;i++){
          //alert(CarColors[i].TipVozila+'  , '+ Vozilo);      
				if(CarColors[i].KodaBarva==mvsBodyColorCode && (CarColors[i].TipVozila).toUpperCase() == (Vozilo).toUpperCase()  ){
						//alert(MvsBCList[i].desc);
						//movieSetVariable("_root.farbe_name",MvsBCList[i].desc);
                        var tmpArr=new Array();
                        tmpArr=CarColors[i].FlashParam;
                        movieSetVariable("_root.farbe_lack_ra", tmpArr[0]);
                        movieSetVariable("_root.farbe_lack_rb", tmpArr[1]);
                        movieSetVariable("_root.farbe_lack_ga", tmpArr[2]);
                        movieSetVariable("_root.farbe_lack_gb", tmpArr[3]);
                        movieSetVariable("_root.farbe_lack_ba", tmpArr[4]);
                        movieSetVariable("_root.farbe_lack_bb", tmpArr[5]);
                        movieSetVariable("_root.farbe_lack_aa", tmpArr[6]);
                        movieSetVariable("_root.farbe_lack_ab", tmpArr[7]);
                        movieSetVariable("_root.farbe_kontrast_ra",tmpArr[8]);
                        movieSetVariable("_root.farbe_kontrast_rb",tmpArr[9]);
                        movieSetVariable("_root.farbe_kontrast_ga",tmpArr[10]);
                        movieSetVariable("_root.farbe_kontrast_gb",tmpArr[11]);
                        movieSetVariable("_root.farbe_kontrast_ba",tmpArr[12]);
                        movieSetVariable("_root.farbe_kontrast_bb",tmpArr[13]);
                        movieSetVariable("_root.farbe_kontrast_aa",tmpArr[14]);
                        movieSetVariable("_root.farbe_kontrast_ab",tmpArr[15]);
                        break;
                }
        }
} 

function pCurFrame(){
        var InternetExplorer = (navigator.appName.indexOf("Microsoft") !=-1);
        var movie = null;
        movie = (InternetExplorer) ? film : document.film;
		cf = movie.getVariable("_root.lack._currentframe");
  		status = "frame: "+cf;
		/*
        movie = (InternetExplorer) ? rims1 : document.rims1;
		movie.TGotoAndStop("_root.felge",cf);
        movie = (InternetExplorer) ? rims2 : document.rims2;
		movie.TGotoAndStop("_root.felge",cf);
		*/
}


