var langID			= "1";
var langNick		= "_isl_";
var pID				= "";
var bv				= "6.0";
var browserPlatform	= "Win";
var isOpera			= -1;
var isNetscape		= -1;
var isExplorer		= 1;
varbType			= "isiewin";
var Loaded			= 1;
var activeImg		= -1;
var selService= -1;
var selection		= 0;
var activeObject,selFirst,selLast,selMode;
if( window.parent != self );
var imageArr = new Array();

iPreload(
		"forsida.jpg",
		"forsida-over.jpg",
		"cms.jpg",
		"cms-over.jpg", 
		"clients.jpg",
		"clients-over.jpg",
		"service.jpg",
		"service-over.jpg"
		)
		
function iPreload(){
if( !document.images ) return;
 for( i = 0; i < iPreload.arguments.length; i++ )
{
imageArr[ i ]	= new Image();
imageArr[ i ].src = ( "images/" + iPreload.arguments[ i ] );
}
}

function cImage( i, n, full ){
if(!document.images ) return;
if( i != selService && i != selection)
{
 if( document.all && isExplorer > -1) blendIt1( document.images[ i ], 1.0, imageArr[ n ], "img" );
 else document.images[ i ].src =imageArr[ n ].src;
 }
}
if( navigator.appName=="Netscape" && parseInt( navigator.appVersion ) < 5 ) location.replace("");
function showTrans( o, n, speed ){
if( document.all && isExplorer > -1 )
{
var duration	 = ( typeof( speed ) == "undefined" ) ? "0.4" : speed;
duration = ( parseFloat( bv ) >= 5.5) ? 0.2 : duration;
var mode		 = Math.floor( Math.random() * 23 );
var dir= ( ( Math.random() * 10 ) > 5 ) ? "forward" : "reverse";
var wipeStyle= ( ( Math.random() * 10 ) > 5 ) ? 1 : 0;
o.style.filter = ( parseFloat(bv) >= 5.5 ) ? ( "progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0, wipeStyle=" + wipeStyle + ", motion='" + dir + "' duration=1)" ) : "revealTrans(transition=" + mode + ",duration=" + duration + ")";
o.filters[ 0 ].Apply();
o.src = imageArr[ n ].src;
o.filters[ 0 ].Play();
}
else cImage( o , n );
}

function blendIt1( theID, dur, ob, type ){
if( document.all && isExplorer > -1 )
{
var durat= ( typeof(dur) == "undefined") ? 0.8 : dur;
var dir= ( ( Math.random() * 10 ) > 5 ) ? "forward" : "reverse";
var wipeStyle= ( ( Math.random() * 10 ) > 5 ) ? 1 : 0;
var theFilter = ( parseFloat( bv ) >= 5.5 ) ? "progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0, wipeStyle=" + wipeStyle + ", motion='" + dir + "' duration=1)" : ( "blendTrans( duration=0.3 )" );
theID.style.filter = theFilter; 
theID.filters[0].Apply(); 
if( type == "img" ) theID.src = ob.src;
 else theID.style.display = "block";
theID.filters[0].play();
}
}

function setSelectedObjectB( theObject, n){
if( !document.images || typeof( theObject ) == "undefined" || isNaN( n ) ) return;
var imgNo = n;
if( selection == theObject )
{
imgNo--;
theObject	= null;
return;
}

 }

function blinkFlags(){
if( typeof(document.images["langON"] ) != "undefined")
 {

 }
}

var currLogo = 0;
function confirmLangGO( langID,pagetoGO){
var r = Math.floor( Math.random() * 10000 );
if(confirm("Your browser does not seem to support this language\n\nAs a result the page may not be displayed correctly\n\nPress Ok to change or cancel to stay")) location.href = ("inc/clang.asp?lID=" + langID + "&scr=" + pagetoGO + "&rdirID=" + r );
}

function toggleNavi(el,theID,imgID){
var c,dsp,sImg;
var col;

 
}

//-->
