<!--
// GÖM STATUSRADEN
function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

//---------------------------------------------------------------------------------
// POPUP RUTA TILL NYHETER
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}



function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
}


//---------------------------------------------------------------------------------
// GALLERI

function blured()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}
if (document.all)
{
document.onmousedown = blured;
}

function Bilden(filename,winTitle) 
{
    var myImage = new Image();
    myImage.src=filename;
    properties='height=10,width=10';
    var imgWindow = window.open('','',properties);
    
    html = '<html>';
    html += '<head>';
    html += '<title>'+winTitle+'</title>';
    html += '</head>';
    html += '<body topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">';
    html += '<img src="'+myImage.src+'" onLoad="resizeTo(document.bild.width+10,document.bild.height+50);" name="bild" OnClick="self.close();">';
    html += '</body>';
    html += '</html>';
    
    imgWindow.document.write(html);
}


//---------------------------------------------------------------------------------



// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/bildspel/1_1.jpg'
Pic[1] = 'images/bildspel/2_1.jpg'
Pic[2] = 'images/bildspel/3_1.jpg'

// do not edit anything below this line
var t;
var z = 0;
var p = Pic.length;
var preLoad = new Array();
for (e = 0; e < p; e++) {
preLoad[e] = new Image();
preLoad[e].src = Pic[e];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[z].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
z = z + 1;
if (z > (p - 1)) z = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}


//---------------------------------------------------------------------------------
//Onmouseover ALT Racing meny

function imgover(imgname){
imgname.src = "images/arrow.gif"
}
function imgout(imgname){
imgname.src = "images/blank.gif"
}

//-->
