var dest = new Array(312)
dest[0]= new Array("Afghanistan", "ASI");
dest[1]= new Array("Ägypten", "AFR");
dest[2]= new Array("Albanien", "EUR");
dest[3]= new Array("Algerien", "AFR");
dest[4]= new Array("Amerikanisch Samoa", "OCE");
dest[5]= new Array("Amerikanische Jungferninseln", "CAR");
dest[6]= new Array("Andorra", "EUR");
dest[7]= new Array("Angola", "AFR");
dest[8]= new Array("Anguilla", "CAR");
dest[9]= new Array("Antarktis", "ANT");
dest[10]= new Array("Britische Überseegebiete", "EUR");
dest[11]= new Array("Kanada_Manitoba", "NAM");
dest[12]= new Array("Kanada_Nunavut", "NAM");
dest[13]= new Array("Pazifische Inseln von Mikronesien_Marshall-Inseln", "OCE");
dest[14]= new Array("Pazifische Inseln von Mikronesien_Nördliche Marianen", "OCE");
dest[15]= new Array("Pazifische Inseln von Mikronesien_Republik Palau Belau", "OCE");
dest[16]= new Array("Pazifische Inseln von Mikronesien_Föderierte Staaten von Mikronesien", "OCE");
dest[17]= new Array("USA_Arkansas", "NAM");
dest[18]= new Array("USA_Connecticut", "NAM");
dest[19]= new Array("USA_Delaware", "NAM");
dest[20]= new Array("USA_Iowa", "NAM");
dest[21]= new Array("USA_Maine", "NAM");
dest[22]= new Array("USA_Mississippi", "NAM");
dest[23]= new Array("USA_Rhode Island", "NAM");
dest[24]= new Array("USA_South Dakota", "NAM");
dest[25]= new Array("USA_West Virginia", "NAM");
dest[26]= new Array("USA_New Hampshire", "NAM");
dest[27]= new Array("Grossbritannien und Nordirland_Kanalinseln_Sark und Herm", "EUR");
dest[28]= new Array("Finnland", "EUR");
dest[29]= new Array("Griechenland", "EUR");
dest[30]= new Array("Österreich", "EUR");
dest[31]= new Array("Pazifik", "OCE");
dest[32]= new Array("Pazifische Inseln von Mikronesien", "OCE");
dest[33]= new Array("Portugal_Azoren", "EUR");
dest[34]= new Array("Portugal_Madeira", "EUR");
dest[35]= new Array("San Marino", "EUR");
dest[36]= new Array("Spanien_Balearen", "EUR");
dest[37]= new Array("Spanien_Kanarische Inseln", "EUR");
dest[38]= new Array("USA_Alabama", "NAM");
dest[39]= new Array("USA_Hawaii", "NAM");
dest[40]= new Array("USA_Kansas", "NAM");
dest[41]= new Array("USA_Kentucky", "NAM");
dest[42]= new Array("USA_Maryland", "NAM");
dest[43]= new Array("USA_Michigan", "NAM");
dest[44]= new Array("USA_Missouri", "NAM");
dest[45]= new Array("USA_Montana", "NAM");
dest[46]= new Array("USA_New Mexico", "NAM");
dest[47]= new Array("USA_Ohio", "NAM");
dest[48]= new Array("USA_Oklahoma", "NAM");
dest[49]= new Array("USA_Oregon", "NAM");
dest[50]= new Array("USA_South Carolina", "NAM");
dest[51]= new Array("USA_Utah", "NAM");
dest[52]= new Array("USA_Virginia", "NAM");
dest[53]= new Array("USA_Washington DC", "NAM");
dest[54]= new Array("USA_Washington State", "NAM");
dest[55]= new Array("Antigua und Barbuda", "CAR");
dest[56]= new Array("Äquatorialguinea", "AFR");
dest[57]= new Array("Argentinien", "SAM");
dest[58]= new Array("Armenien", "ASI");
dest[59]= new Array("Aruba", "CAR");
dest[60]= new Array("Aserbaidschan", "ASI");
dest[61]= new Array("Äthiopien", "AFR");
dest[62]= new Array("Australien", "OCE");
dest[63]= new Array("Australien_Australian Capital Territory", "OCE");
dest[64]= new Array("Australien_New South Wales", "OCE");
dest[65]= new Array("Australien_Northern Territory", "OCE");
dest[66]= new Array("Australien_Queensland", "OCE");
dest[67]= new Array("Australien_South Australia", "OCE");
dest[68]= new Array("Australien_Tasmania", "OCE");
dest[69]= new Array("Australien_Western Australia", "OCE");
dest[70]= new Array("Bahamas", "CAR");
dest[71]= new Array("Bahrain", "ASI");
dest[72]= new Array("Bangladesch", "ASI");
dest[73]= new Array("Barbados", "CAR");
dest[74]= new Array("Belarus", "EUR");
dest[75]= new Array("Belgien", "EUR");
dest[76]= new Array("Belize", "CAM");
dest[77]= new Array("Benin", "AFR");
dest[78]= new Array("Bermuda", "CAR");
dest[79]= new Array("Bhutan", "ASI");
dest[80]= new Array("Bolivien", "SAM");
dest[81]= new Array("Bonaire", "CAR");
dest[82]= new Array("Bosnien-Herzegowina", "EUR");
dest[83]= new Array("Botswana", "AFR");
dest[84]= new Array("Brasilien", "SAM");
dest[85]= new Array("Britische Jungferninseln", "CAR");
dest[86]= new Array("Brunei", "ASI");
dest[87]= new Array("Bulgarien", "EUR");
dest[88]= new Array("Burkina Faso", "AFR");
dest[89]= new Array("Burundi", "AFR");
dest[90]= new Array("Cayman-Inseln", "CAR");
dest[91]= new Array("Chile", "SAM");
dest[92]= new Array("Cook-Inseln", "OCE");
dest[93]= new Array("Costa Rica", "CAM");
dest[94]= new Array("Côte d'Ivoire", "AFR");
dest[95]= new Array("Curaçao", "CAR");
dest[96]= new Array("Dänemark", "EUR");
dest[97]= new Array("Demokratische Republik Kongo", "AFR");
dest[98]= new Array("Deutschland", "EUR");
dest[99]= new Array("Djibouti", "AFR");
dest[100]= new Array("Dominica", "CAR");
dest[101]= new Array("Dominikanische Republik", "CAR");
dest[102]= new Array("Ecuador", "SAM");
dest[103]= new Array("El Salvador", "CAM");
dest[104]= new Array("Eritrea", "AFR");
dest[105]= new Array("Estland", "EUR");
dest[106]= new Array("Falkland-Inseln", "SAM");
dest[107]= new Array("Fidschi", "OCE");
dest[108]= new Array("Frankreich", "EUR");
dest[109]= new Array("Französische Überseegebiete", "EUR");
dest[110]= new Array("Französische Überseegebiete_Réunion", "AFR");
dest[111]= new Array("Französisch-Guyana", "SAM");
dest[112]= new Array("Französisch-Polynesien", "OCE");
dest[113]= new Array("Gabun", "AFR");
dest[114]= new Array("Gambia", "AFR");
dest[115]= new Array("Georgien", "EUR");
dest[116]= new Array("Ghana", "AFR");
dest[117]= new Array("Gibraltar", "EUR");
dest[118]= new Array("Grenada", "CAR");
dest[119]= new Array("Grönland", "NAM");
dest[120]= new Array("Grossbritannien und Nordirland", "EUR");
dest[121]= new Array("Grossbritannien und Nordirland_England", "EUR");
dest[122]= new Array("Grossbritannien und Nordirland_Isle of Man", "EUR");
dest[123]= new Array("Grossbritannien und Nordirland_Kanalinseln_Alderney", "EUR");
dest[124]= new Array("Grossbritannien und Nordirland_Kanalinseln_Guernsey", "EUR");
dest[125]= new Array("Grossbritannien und Nordirland_Kanalinseln_Jersey", "EUR");
dest[126]= new Array("Grossbritannien und Nordirland_Nordirland", "EUR");
dest[127]= new Array("Grossbritannien und Nordirland_Schottland", "EUR");
dest[128]= new Array("Grossbritannien und Nordirland_Wales", "EUR");
dest[129]= new Array("Guadeloupe", "CAR");
dest[130]= new Array("Guam", "OCE");
dest[131]= new Array("Guatemala", "CAM");
dest[132]= new Array("Guinea", "AFR");
dest[133]= new Array("Guinea-Bissau", "AFR");
dest[134]= new Array("Guyana", "SAM");
dest[135]= new Array("Haiti", "CAR");
dest[136]= new Array("Honduras", "CAM");
dest[137]= new Array("Hongkong", "ASI");
dest[138]= new Array("Indien", "ASI");
dest[139]= new Array("Indonesien", "ASI");
dest[140]= new Array("Irak", "ASI");
dest[141]= new Array("Iran", "ASI");
dest[142]= new Array("Island", "EUR");
dest[143]= new Array("Israel", "ASI");
dest[144]= new Array("Italien", "EUR");
dest[145]= new Array("Jamaika", "CAR");
dest[146]= new Array("Jemen", "ASI");
dest[147]= new Array("Jordanien", "ASI");
dest[148]= new Array("Serbien", "EUR");
dest[149]= new Array("Kambodscha", "ASI");
dest[150]= new Array("Kamerun", "AFR");
dest[151]= new Array("Kanada", "NAM");
dest[152]= new Array("Kanada_Alberta", "NAM");
dest[153]= new Array("Kanada_British Columbia", "NAM");
dest[154]= new Array("Kanada_New Brunswick", "NAM");
dest[155]= new Array("Kanada_Newfoundland And Labrador", "NAM");
dest[156]= new Array("Kanada_Northwest Territories", "NAM");
dest[157]= new Array("Kanada_Nova Scotia", "NAM");
dest[158]= new Array("Kanada_Ontario", "NAM");
dest[159]= new Array("Kanada_Prince Edward Island", "NAM");
dest[160]= new Array("Kanada_Quebec", "NAM");
dest[161]= new Array("Kanada_Saskatchewan", "NAM");
dest[162]= new Array("Kanada_Yukon Territory", "NAM");
dest[163]= new Array("Kap Verde", "AFR");
dest[164]= new Array("Kasachstan", "ASI");
dest[165]= new Array("Katar", "ASI");
dest[166]= new Array("Kenia", "AFR");
dest[167]= new Array("Kirgisistan", "ASI");
dest[168]= new Array("Kiribati", "OCE");
dest[169]= new Array("Kolumbien", "SAM");
dest[170]= new Array("Komoren", "AFR");
dest[171]= new Array("Kongo", "AFR");
dest[172]= new Array("Korea Nord", "ASI");
dest[173]= new Array("Korea Süd", "ASI");
dest[174]= new Array("Kroatien", "EUR");
dest[175]= new Array("Kuba", "CAR");
dest[176]= new Array("Kuwait", "ASI");
dest[177]= new Array("Laos", "ASI");
dest[178]= new Array("Lesotho", "AFR");
dest[179]= new Array("Lettland", "EUR");
dest[180]= new Array("Libanon", "ASI");
dest[181]= new Array("Liberia", "AFR");
dest[182]= new Array("Libyen", "AFR");
dest[183]= new Array("Liechtenstein", "EUR");
dest[184]= new Array("Litauen", "EUR");
dest[185]= new Array("Luxemburg", "EUR");
dest[186]= new Array("Macau", "ASI");
dest[187]= new Array("Madagaskar", "AFR");
dest[188]= new Array("Malawi", "AFR");
dest[189]= new Array("Malaysia", "ASI");
dest[190]= new Array("Malediven", "ASI");
dest[191]= new Array("Mali", "AFR");
dest[192]= new Array("Malta", "EUR");
dest[193]= new Array("Marokko", "AFR");
dest[194]= new Array("Martinique", "CAR");
dest[195]= new Array("Mauretanien", "AFR");
dest[196]= new Array("Mauritius", "AFR");
dest[197]= new Array("Mazedonien", "EUR");
dest[198]= new Array("Mexiko", "NAM");
dest[199]= new Array("Moldawien - Moldau", "EUR");
dest[200]= new Array("Monaco", "EUR");
dest[201]= new Array("Mongolei", "ASI");
dest[202]= new Array("Montserrat", "CAR");
dest[203]= new Array("Mosambik", "AFR");
dest[204]= new Array("Myanmar", "ASI");
dest[205]= new Array("Namibia", "AFR");
dest[206]= new Array("Nauru", "OCE");
dest[207]= new Array("Nepal", "ASI");
dest[208]= new Array("Neukaledonien", "OCE");
dest[209]= new Array("Neuseeland", "OCE");
dest[210]= new Array("Nicaragua", "CAM");
dest[211]= new Array("Niederlande", "EUR");
dest[212]= new Array("Niger", "AFR");
dest[213]= new Array("Nigeria", "AFR");
dest[214]= new Array("Niue", "OCE");
dest[215]= new Array("Norwegen", "EUR");
dest[216]= new Array("Oman", "ASI");
dest[217]= new Array("Pakistan", "ASI");
dest[218]= new Array("Panama", "CAM");
dest[219]= new Array("Papua-Neuguinea", "ASI");
dest[220]= new Array("Paraguay", "SAM");
dest[221]= new Array("Peru", "SAM");
dest[222]= new Array("Philippinen", "ASI");
dest[223]= new Array("Polen", "EUR");
dest[224]= new Array("Portugal", "EUR");
dest[225]= new Array("Puerto Rico", "CAR");
dest[226]= new Array("Republik Irland", "EUR");
dest[227]= new Array("Ruanda", "AFR");
dest[228]= new Array("Rumänien", "EUR");
dest[229]= new Array("Russische Föderation", "EUR");
dest[230]= new Array("Saba", "ASI");
dest[231]= new Array("Salomonen", "OCE");
dest[232]= new Array("Sambia", "AFR");
dest[233]= new Array("Samoa", "OCE");
dest[234]= new Array("São Tomé und Príncipe", "AFR");
dest[235]= new Array("Saudi-Arabien", "ASI");
dest[236]= new Array("Schweden", "EUR");
dest[237]= new Array("Schweiz", "EUR");
dest[238]= new Array("Senegal", "AFR");
dest[239]= new Array("Seychellen", "ASI");
dest[240]= new Array("Sierra Leone", "AFR");
dest[241]= new Array("Simbabwe", "AFR");
dest[242]= new Array("Singapur", "ASI");
dest[243]= new Array("Slowakische Republik", "EUR");
dest[244]= new Array("Slowenien", "EUR");
dest[245]= new Array("Somalia", "AFR");
dest[246]= new Array("Spanien", "EUR");
dest[247]= new Array("Sri Lanka", "ASI");
dest[248]= new Array("St. Eustatius", "CAR");
dest[249]= new Array("St. Kitts und Nevis", "CAR");
dest[250]= new Array("St. Lucia", "CAR");
dest[251]= new Array("St. Maarten", "CAR");
dest[252]= new Array("St. Vincent und die Grenadinen", "CAR");
dest[253]= new Array("Südafrika", "AFR");
dest[254]= new Array("Sudan", "AFR");
dest[255]= new Array("Suriname", "SAM");
dest[256]= new Array("Swasiland", "AFR");
dest[257]= new Array("Syrien", "ASI");
dest[258]= new Array("Tadschikistan", "ASI");
dest[259]= new Array("Taiwan China", "ASI");
dest[260]= new Array("Tansania", "AFR");
dest[261]= new Array("Thailand", "ASI");
dest[262]= new Array("Togo", "AFR");
dest[263]= new Array("Tonga", "AFR");
dest[264]= new Array("Trinidad und Tobago", "CAR");
dest[265]= new Array("Tschad", "AFR");
dest[266]= new Array("Tschechische Republik", "EUR");
dest[267]= new Array("Tunesien", "AFR");
dest[268]= new Array("Türkei", "ASI");
dest[269]= new Array("Turkmenistan", "ASI");
dest[270]= new Array("Turks- und Caicos-Inseln", "CAR");
dest[271]= new Array("Tuvalu", "OCE");
dest[272]= new Array("Uganda", "AFR");
dest[273]= new Array("Ukraine", "EUR");
dest[274]= new Array("Ungarn", "EUR");
dest[275]= new Array("Uruguay", "SAM");
dest[276]= new Array("USA", "NAM");
dest[277]= new Array("USA_Alaska", "NAM");
dest[278]= new Array("USA_Arizona", "NAM");
dest[279]= new Array("USA_Colorado", "NAM");
dest[280]= new Array("USA_Florida", "NAM");
dest[281]= new Array("USA_Georgia", "NAM");
dest[282]= new Array("USA_Idaho", "NAM");
dest[283]= new Array("USA_Illinois", "NAM");
dest[284]= new Array("USA_Indiana", "NAM");
dest[285]= new Array("USA_Kalifornien", "NAM");
dest[286]= new Array("USA_Louisiana", "NAM");
dest[287]= new Array("USA_Massachusetts", "NAM");
dest[288]= new Array("USA_Minnesota", "NAM");
dest[289]= new Array("USA_Nebraska", "NAM");
dest[290]= new Array("USA_Nevada", "NAM");
dest[291]= new Array("USA_New Jersey", "NAM");
dest[292]= new Array("USA_New York", "NAM");
dest[293]= new Array("USA_North Carolina", "NAM");
dest[294]= new Array("USA_North Dakota", "NAM");
dest[295]= new Array("USA_Pennsylvania", "NAM");
dest[296]= new Array("USA_Tennessee", "NAM");
dest[297]= new Array("USA_Texas", "NAM");
dest[298]= new Array("USA_Vermont", "NAM");
dest[299]= new Array("USA_Wisconsin", "NAM");
dest[300]= new Array("USA_Wyoming", "NAM");
dest[301]= new Array("Usbekistan", "ASI");
dest[302]= new Array("Vanuatu", "OCE");
dest[303]= new Array("Vatikanstadt", "EUR");
dest[304]= new Array("Venezuela", "SAM");
dest[305]= new Array("Vereinigte Arabische Emirate", "ASI");
dest[306]= new Array("Vietnam", "ASI");
dest[307]= new Array("Japan", "ASI");
dest[308]= new Array("Volksrepublik China", "ASI");
dest[309]= new Array("Zentralafrikanische Republik", "AFR");
dest[310]= new Array("Zypern", "EUR");
dest[311]= new Array("Ost Timor", "ASI");
dest[312]= new Array("Timor Leste", "ASI");
dest[313]= new Array("Montenegro", "EUR");
dest.sort();

function getDirName(ind){

	s = dest[ind][0];
	
	//make dir array
	var dir = new Array();
		//these appear only once, at most
		
		s = s.replace(',', '');
		s = s.replace('.', '');
		s = s.replace('Ä', 'a');
		s = s.replace('Ö', 'o');
		s = s.replace('Ü', 'u');
		s = s.replace('ô', 'o');
		s = s.replace('é', 'e');
		s = s.replace('í', 'i');
		s = s.replace('ã', 'a');
		s = s.replace('\'', '');
		s = s.replace('ç', 'c');
		
		s = s.replace('Grossbritannien und Nordirland', 'uk');
		s = s.replace('Kanalinseln', 'ci');
		s = s.replace('Pazifische Inseln von Mikronesien', 'pim')
		s = s.replace('Kanada', 'ca');
		s = s.replace('Australien', 'au');
		
		s = s.toLowerCase();
				
		//blank space may be repeated
		while(s.indexOf(' ')!= -1){
		s = s.replace(' ', '');
		}
		//blank space may be repeated
		while(s.indexOf('-')!= -1){
		s = s.replace('-', '');
		}
		//underscore may be repeated
		while(s.indexOf('_')!= -1){
		s = s.replace('_', '');
		}
		while(s.indexOf('ä')!= -1){
		s = s.replace('ä', 'a');
		}
		while(s.indexOf('ö')!= -1){
		s = s.replace('ö', 'o');
		}
		while(s.indexOf('ü')!= -1){
		s = s.replace('ü', 'u');
		}
		s = s.replace('mazedonienehemaligejugoslawischerepublik', 'mazedonien');
		
	
	return s;
}

function writeCompleteList(){

	var dir = "";
	var opVal = "";
	var s = "";
	for(i=0;i<dest.length;i++){
		dir = getDirName(i);
		s = dest[i][0];
		while(s.indexOf('_') != -1){
			s = s.replace('_', ': ');
		}
		opVal = 'guides/'+ dir +'/intro.htm';
		document.f1.sel[i+1] = new Option(s, opVal);
	}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

/**********************************************************************************   
PageSlideFade 
*   Copyright (C) 2001 Michael van Ouwerkerk
*   This script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Michael van Ouwerkerk
*
*   Script date: 09/16/2001 (keep this date to check versions) 
*********************************************************************************/
function lib_bwcheck(){ 
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	return this
}
var bw=lib_bwcheck()

var numScrollPages = 7;
var transitionOut = 1;
var transitionIn = 2;
var slideAcceleration = 0.2;
var transitionOnload = 1; 


var px = bw.ns4||window.opera?"":"px";

if(document.layers){ //NS4 resize fix...
	scrX= innerWidth; scrY= innerHeight;
	onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }
}

//object constructor...
function scrollerobj(obj,nest){
	nest = (!nest)?"":'document.'+nest+'.'
	this.elm = bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):document.getElementById(obj)
	this.css = bw.ns4?this.elm:this.elm.style
	this.doc = bw.ns4?this.elm.document:document
	this.obj = obj+'scrollerobj'; eval(this.obj+'=this')
	this.x = (bw.ns4||bw.opera5)?this.css.left:this.elm.offsetLeft
	this.y = (bw.ns4||bw.opera5)?this.css.top:this.elm.offsetTop
	this.w = (bw.ie4||bw.ie5||bw.ie6||bw.ns6)?this.elm.offsetWidth:bw.ns4?this.elm.clip.width:bw.opera5?this.css.pixelWidth:0
	this.h = (bw.ie4||bw.ie5||bw.ie6||bw.ns6)?this.elm.offsetHeight:bw.ns4?this.elm.clip.height:bw.opera5?this.css.pixelHeight:0
}

//object methods...
scrollerobj.prototype.moveTo = function(x,y){
	if(x!=null){this.x=x; this.css.left=x+px}
	if(y!=null){this.y=y; this.css.top=y+px}
}
scrollerobj.prototype.moveBy = function(x,y){this.moveTo(this.x+x,this.y+y)}
scrollerobj.prototype.hideIt = function(){this.css.visibility='hidden'}
scrollerobj.prototype.showIt = function(){this.css.visibility='visible'}


//scroll functions...

var scrollTimer = null;
function scroll(step){
	clearTimeout(scrollTimer);
	if ( !busy && (step<0&&activePage.y+activePage.h>scroller1.h || step>0&&activePage.y<0) ){
		activePage.moveBy(0,step);
		scrollTimer = setTimeout('scroll('+step+')',40);
	}
}
function stopScroll(){
	clearTimeout(scrollTimer);
}


//activating the correct layers...
var activePage = null;
var busy = 0;
function activate(num){
	if (activePage!=pages[num] && !busy){
		busy = 1;
		if (transitionOut==0 || !bw.opacity){ activePage.hideIt(); activateContinue(num); }
		else if (transitionOut==1) activePage.blend('hidden', 'activateContinue('+num+')');
	}
}
function activateContinue(num){
	busy = 1;
	activePage = pages[num];
	activePage.moveTo(0,0);
	if (transitionIn==0 || !bw.opacity){ activePage.showIt(); busy=0; }
	else if (transitionIn==1) activePage.blend('visible', 'busy=0');
	else if (transitionIn==2) activePage.slide(0, slideAcceleration, 40, 'busy=0');
}



//Slide methods...
scrollerobj.prototype.slide = function(target, acceleration, time, fn){
	this.slideFn= fn?fn:null;
	this.moveTo(0,scroller1.h);
	if (bw.ie4&&!bw.mac) this.css.filter = 'alpha(opacity=100)';
	if (bw.ns6) this.css.MozOpacity = 1;
	this.showIt();
	this.doSlide(target, acceleration, time);
}
scrollerobj.prototype.doSlide = function(target, acceleration, time){
	this.step = Math.round(this.y*acceleration);
	if (this.step<1) this.step = 1;
	if (this.step>this.y) this.step = this.y;
	this.moveBy(0, -this.step);
	if (this.y>0) this.slideTim = setTimeout(this.obj+'.doSlide('+target+','+acceleration+','+time+')', time);
	else {	
		eval(this.slideFn);
		this.slideFn = null;
	}
}



//Opacity methods...
scrollerobj.prototype.blend= function(vis, fn){
	if (bw.ie5||bw.ie6 && !bw.mac) {
		if (vis=='visible') this.css.filter= 'blendTrans(duration=0.9)';
		else this.css.filter= 'blendTrans(duration=0.6)';
		this.elm.onfilterchange = function(){ eval(fn); };
		this.elm.filters.blendTrans.apply();
		this.css.visibility= vis;
		this.elm.filters.blendTrans.play();
	}
	else if (bw.ns6 || bw.ie&&!bw.mac){
		this.css.visibility= 'visible';
		vis=='visible' ? this.fadeTo(100, 7, 40, fn) : this.fadeTo(0, 9, 40, fn);
	}
	else {
		this.css.visibility= vis;
		eval(fn);
	}
};

scrollerobj.prototype.op= 100;
scrollerobj.prototype.opacityTim= null;
scrollerobj.prototype.setOpacity= function(num){
	this.css.filter= 'alpha(opacity='+num+')';
	this.css.MozOpacity= num/100;
	this.op= num;
}
scrollerobj.prototype.fadeTo= function(target, step, time, fn){
	clearTimeout(this.opacityTim);
	this.opacityFn= fn?fn:null;
	this.op = target==100 ? 0 : 100;
	this.fade(target, step, time);
}
scrollerobj.prototype.fade= function(target, step, time){
	if (Math.abs(target-this.op)>step){
		target>this.op? this.setOpacity(this.op+step):this.setOpacity(this.op-step);
		this.opacityTim= setTimeout(this.obj+'.fade('+target+','+step+','+time+')', time);
	}
	else {
		this.setOpacity(target);
		eval(this.opacityFn);
		this.opacityFn= null;
	}
}



//Init function...
var pageslidefadeLoaded = 0;
function initPageSlideFade(nmbr){
	scroller1 = new scrollerobj('divScroller1');
	
	pages = new Array();
	for (var i=0; i<numScrollPages; i++){
		pages[i] = new scrollerobj('dynPage'+i, 'divScroller1');
		pages[i].moveTo(0,0);
	}
	bw.opacity = ( bw.ie && !bw.ie4 && navigator.userAgent.indexOf('Windows')>-1 ) || bw.ns6
	if (bw.ie5||bw.ie6 && !bw.mac) pages[nmbr].css.filter= 'blendTrans(duration=0.6)'; // Preloads the windows filters.
	
	if (transitionOnload) activateContinue(nmbr);
	else{
		activePage = pages[nmbr];
		activePage.showIt();
	}

	if (bw.ie) for(var i=0;i<document.links.length;i++) document.links[i].onfocus=document.links[i].blur;
	pageslidefadeLoaded = 1;
}

function openSlidDiv(pg){
	if(bw.ns4){
		
		document.divScroller1.visibility = 'show';
		document.openClose.visibility = 'show';
		document.arrows.visibility = 'show';
	}else{
		document.getElementById('divScroller1').style.visibility = 'visible';
		document.getElementById('openClose').style.visibility = 'visible';
		document.getElementById('arrows').style.visibility = 'visible';
	}
	if(bw.bw && !pageslidefadeLoaded){
	 initPageSlideFade(pg);
	}
}

function closePanel(){
	activePage.hideIt();
	if(bw.ns4){
		document.divScroller1.visibility = 'hide';
		document.openClose.visibility = 'hide';
		document.arrows.visibility = 'hide';
	}else{
		document.getElementById('divScroller1').style.visibility = 'hidden';
		document.getElementById('openClose').style.visibility = 'hidden';
		document.getElementById('arrows').style.visibility = 'hidden';
	}
	pageslidefadeLoaded = 0;	
}