<!-- hide me

//--- Taskbar ----------------------------------//

function taskbar(phrase) {
  window.status = phrase;
}

//--- Popup windows ----------------------------------//

function popup(url,name,w,h,x,y) {
  window.open(url,name,'toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width='+w+',height='+h+',left='+x+',top='+y+'');
}

function popup2(url,name,w,h,x,y) {
  window.open(url,name,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+w+',height='+h+',left='+x+',top='+y+'');
}

//--- Sliders ----------------------------------//

// Copyright (C) 1999 Thomas Brattli
// This script is made by and copyrighted to Thomas Brattli at www.bratta.com

//Default browsercheck, added to all scripts!
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser()
bgWorks=0

//These are the variables you have to set:
var bgXmove=5 //How many pixels should it move every step from the left? 
var bgYmove=0 //How many pixels should it move every step from the top? 
var bgSpeed=1 //Timer speed (in milliseconds)
var moveOnScroll=true // move with page when user scrolls? true or false

// Object constructor
function makeBgObj(obj,speed,xmove,ymove,works){
	this.el=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj]:0;	
  	this.css=bw.dom || bw.ie4?this.el.style:bw.ns4?this.el:0;
	this.go=0; this.slideBgIn=b_slideBgIn; this.speed=speed; this.xmove=xmove; this.ymove=ymove
	this.slideBgDown=b_slideBgDown; this.slideBg=b_slideBg; this.works=works; 
	this.width=bw.ns4?this.css.document.width:bw.ns5?this.el.childNodes[0].width:this.el.offsetWidth;
	this.height=bw.ns4?this.css.document.height:bw.ns5?this.el.childNodes[0].height:this.el.offsetHeight;
	this.moveIt=b_moveIt; this.obj = obj + "Object"; eval(this.obj + "=this"); return this
}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
//Bg out
function b_slideBgIn(){
	if(this.x<-this.xmove){
		this.moveIt(this.x+this.xmove,this.y)
		setTimeout(this.obj+".slideBgIn()",this.speed)
	}
}
function b_slideBgDown(){
	if(this.y<-this.ymove){
		this.moveIt(this.x,this.y+this.ymove)
		setTimeout(this.obj+".slideBgDown()",this.speed)
	}
}
function b_slideBg(){
	if(this.works==0){
		this.moveIt(-this.width,0)
		this.slideBgIn()  	
	}else if(this.works==1){
		this.moveIt(0,-this.height)
		this.slideBgDown()  	
	}else{
		this.moveIt(-this.width,-this.height)
		this.slideBgDown(); this.slideBgIn()  		
	}
	this.css.visibility='visible'
}

// Inits the page, and start the slide
function slideBgInit(){
	oBg=new makeBgObj('slider',bgSpeed,bgXmove,bgYmove,bgWorks)
	oBg.slideBg()
}

// end hide -->
