function init(){
dis();
runSlideShow();
enlarge();
}

if (navigator.userLanguage)
usert = navigator.userLanguage;
else
usert = navigator.language;
usert2 = usert.slice(0,2);
switch(usert2){
case "es":
location.href = "spanish_newstart.shtml";
break;
case "nl":
location.href = "dutch_newstart.shtml";
break;
case "fr":
location.href = "fr_newstart.shtml";
break;
case "de":
location.href = "ger_newstart.shtml";
break;
case "no":
location.href = "nynorsk_newstart.shtml";
break;
case "it":
location.href = "italiannewstartz.shtml";
break;
case "cy":
location.href = "newstartwelsh.shtml";
break;
case "ru":
location.href = "russian.shtml";
break;
}

var scstyle;
if (screen.width > 1000){
scstyle = "<style type='text/css'>\n";
scstyle += "html, body {overflow-x: hidden}\n";
scstyle += "</style>\n";
document.write(scstyle);
}

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'banner1.jpg'
Pic[1] = 'banner2.jpg'
Pic[2] = 'banner3.jpg'
Pic[3] = 'banner4.jpg'
Pic[4] = 'banner11.jpg'
Pic[5] = 'banner6.jpg'
Pic[6] = 'banner7.jpg'
Pic[7] = 'banner8.jpg'
Pic[8] = 'banner9.jpg'
Pic[9] = 'banner10.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
e = document.getElementById('ss');
   if (document.getElementById){
      e.style.filter="blendTrans(duration=2)"
      e.style.filter="blendTrans(duration=crossFadeDuration)"
      e.filters.blendTrans.Apply()      
   }
   document.getElementById('ss').src = preLoad[j].src
   if (document.getElementById){
      e.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

function enlarge(){
var design =1280;
var yourscreen = screen.availWidth;
if (yourscreen >design){
document.getElementById("big1").style.fontSize = "1.2em";
document.getElementById("big2").style.fontSize = "1.2em";
document.getElementById("big3").style.fontSize = "1.2em";
document.getElementById("logo").style.fontSize = "15px";
document.getElementById("top").style.fontSize = "1.15em";
document.getElementById("ss").style.width = "776px";
document.getElementById("ss").style.height = "328px";
}
}

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-12795213-1");
pageTracker._trackPageview();
} catch(err) {}

window.onresize = enlarge; 

