var url_params = new Array ();
var i = 0;



// ------------------------------------------------
// configure external parameters
// ------------------------------------------------

// Data for the News brochure page
var news_data = "/pub/sonar/nyheter.txt";
url_params[i++] = "news_data";

var news_title = "NYHETER";
url_params[i++] = "news_title";




// Data for the Development brochure page
var development_data = "/pub/sonar/prosjekter.txt";
url_params[i++] = "development_data";


var development_title = "PROSJEKTER";
url_params[i++] = "development_title";




// Data for the Sonar brochure page
var sonar_data = "/pub/sonar/sonar.txt";
url_params[i++] = "sonar_data";

var sonar_title = "OM SONAR";
url_params[i++] = "sonar_title";




// Data for the Movies brochure page
var movies_data = "/pub/sonar/filmer.txt";
url_params[i++] = "movies_data";


var movies_title = "FILMER";
url_params[i++] = "movies_title";




// Place the contact information outside of the flash movie:
var contact_information = 'SONAR FILM   MAIL: <a href="mailto:ingeborg@sonarfilm.no">ingeborg@sonarfilm.no </a>--- <a href= "mailto:britt@sonarfilm.no">britt@sonarfilm.no </a>--- <a href= "mailto:rossella@sonarfilm.no">rossella@sonarfilm.no </a>   MOB: 99166299';


url_params[i++] = "contact_information";




// Set the slideshow speed (in seconds)
slideshow_speed = "4";
url_params[i++] = "slideshow_speed";


// Set the thumbnail type
image_small_size = "scaled_thumb";
url_params[i++] = "image_small_size";


// ------------------------------------------------
// configure the movie
// ------------------------------------------------

var swf_src = '/Sonar/Sonar.swf';
var swf_width = 750;
var swf_height = 380;
var swf_col = '#ffffff';


// ------------------------------------------------
// generate the html code
// ------------------------------------------------

swf_src += '?';
for (i = 0; i < url_params.length; i++) swf_src += urlEncVarMX (url_params[i]);
document.writeln ( flash7Code (swf_src, swf_width, swf_height, swf_col) );
