var dest = new Array(316);
dest[0]= new Array("Afghanistan", "ASI");
dest[1]= new Array("Albania", "EUR");
dest[2]= new Array("Algeria", "AFR");
dest[3]= new Array("American Samoa", "OCE");
dest[4]= new Array("Andorra", "EUR");
dest[5]= new Array("Angola", "AFR");
dest[6]= new Array("Anguilla", "CAR");
dest[7]= new Array("Antarctica", "ANT");
dest[8]= new Array("Antigua and Barbuda", "CAR");
dest[9]= new Array("Argentina", "SAM");
dest[10]= new Array("Armenia", "ASI");
dest[11]= new Array("Aruba", "CAR");
dest[12]= new Array("Australia", "OCE");
dest[13]= new Array("Austria", "EUR");
dest[14]= new Array("Azerbaijan", "ASI");
dest[15]= new Array("Bahamas", "CAR");
dest[16]= new Array("Bahrain", "ASI");
dest[17]= new Array("Bangladesh", "ASI");
dest[18]= new Array("Barbados", "CAR");
dest[19]= new Array("Belarus", "EUR");
dest[20]= new Array("Belgium", "EUR");
dest[21]= new Array("Belize", "CAM");
dest[22]= new Array("Benin", "AFR");
dest[23]= new Array("Bermuda", "CAR");
dest[24]= new Array("Bhutan", "ASI");
dest[25]= new Array("Bolivia", "SAM");
dest[26]= new Array("Bonaire", "CAR");
dest[27]= new Array("Bosnia and Herzegovina", "EUR");
dest[28]= new Array("Botswana", "AFR");
dest[29]= new Array("Brazil", "SAM");
dest[30]= new Array("Brunei", "ASI");
dest[31]= new Array("Bulgaria", "EUR");
dest[32]= new Array("Burkina Faso", "AFR");
dest[33]= new Array("Burundi", "AFR");
dest[34]= new Array("Cambodia", "ASI");
dest[35]= new Array("Cameroon", "AFR");
dest[36]= new Array("Canada", "NAM");
dest[37]= new Array("Cape Verde", "AFR");
dest[38]= new Array("Cayman Islands", "CAR");
dest[39]= new Array("Central African Republic", "AFR");
dest[40]= new Array("Chad", "AFR");
dest[41]= new Array("Chile", "SAM");
dest[42]= new Array("China", "ASI");
dest[43]= new Array("Colombia", "SAM");
dest[44]= new Array("Comoro Islands", "AFR");
dest[45]= new Array("Congo, Democratic Republic Of", "AFR");
dest[46]= new Array("Congo Republic of", "AFR");
dest[47]= new Array("Cook Islands", "OCE");
dest[48]= new Array("Costa Rica", "CAM");
dest[49]= new Array("Cote d\'Ivoire", "AFR");
dest[50]= new Array("Croatia", "EUR");
dest[51]= new Array("Cuba", "CAR");
dest[52]= new Array("Curacao", "CAR");
dest[53]= new Array("Cyprus", "EUR");
dest[54]= new Array("Czech Republic", "EUR");
dest[55]= new Array("Denmark", "EUR");
dest[56]= new Array("Djibouti", "AFR");
dest[57]= new Array("Dominican Republic", "CAR");
dest[58]= new Array("Ecuador", "SAM");
dest[59]= new Array("Egypt", "AFR");
dest[60]= new Array("El Salvador", "CAM");
dest[61]= new Array("Equatorial Guinea", "AFR");
dest[62]= new Array("Eritrea", "AFR");
dest[63]= new Array("Estonia", "EUR");
dest[64]= new Array("Ethiopia", "AFR");
dest[65]= new Array("Fiji", "OCE");
dest[66]= new Array("Finland", "EUR");
dest[67]= new Array("France", "EUR");
dest[68]= new Array("French Guiana", "SAM");
dest[69]= new Array("Gabon", "AFR");
dest[70]= new Array("Gambia", "AFR");
dest[71]= new Array("Georgia", "ASI");
dest[72]= new Array("Germany", "EUR");
dest[73]= new Array("Ghana", "AFR");
dest[74]= new Array("Greece", "EUR");
dest[75]= new Array("Greenland", "NAM");
dest[76]= new Array("Grenada", "CAR");
dest[77]= new Array("Guadeloupe", "CAR");
dest[78]= new Array("Guam", "OCE");
dest[79]= new Array("Guatemala", "CAM");
dest[80]= new Array("Guernsey", "EUR");
dest[81]= new Array("Guinea", "AFR");
dest[82]= new Array("Guinea-Bissau", "AFR");
dest[83]= new Array("Guyana", "SAM");
dest[84]= new Array("Haiti", "CAR");
dest[85]= new Array("Honduras", "CAM");
dest[86]= new Array("Hungary", "EUR");
dest[87]= new Array("Iceland", "EUR");
dest[88]= new Array("India", "ASI");
dest[89]= new Array("Indonesia", "ASI");
dest[90]= new Array("Iran, Islamic Republic Of", "ASI");
dest[91]= new Array("Iraq", "ASI");
dest[92]= new Array("Ireland", "EUR");
dest[93]= new Array("Israel", "ASI");
dest[94]= new Array("Italy", "EUR");
dest[95]= new Array("Jamaica", "CAR");
dest[96]= new Array("Japan", "ASI");
dest[97]= new Array("Jersey", "EUR");
dest[98]= new Array("Jordan", "ASI");
dest[99]= new Array("Kazakhstan", "ASI");
dest[100]= new Array("Kenya", "AFR");
dest[101]= new Array("Kiribati", "OCE");
dest[102]= new Array("Korea, Democratic Peoples Republic Of", "ASI");
dest[103]= new Array("Korea, Republic Of", "ASI");
dest[104]= new Array("Kuwait", "ASI");
dest[105]= new Array("Kyrgyzstan", "ASI");
dest[106]= new Array("Laos", "ASI");
dest[107]= new Array("Latvia", "EUR");
dest[108]= new Array("Lebanon", "ASI");
dest[109]= new Array("Lesotho", "AFR");
dest[110]= new Array("Liberia", "AFR");
dest[111]= new Array("Libya", "AFR");
dest[112]= new Array("Liechtenstein", "EUR");
dest[113]= new Array("Lithuania", "EUR");
dest[114]= new Array("Luxembourg", "EUR");
dest[115]= new Array("Macau", "ASI");
dest[116]= new Array("Macedonia", "EUR");
dest[117]= new Array("Madagascar", "AFR");
dest[118]= new Array("Malawi", "AFR");
dest[119]= new Array("Malaysia", "ASI");
dest[120]= new Array("Maldives", "ASI");
dest[121]= new Array("Mali", "AFR");
dest[122]= new Array("Malta", "EUR");
dest[123]= new Array("Martinique", "CAR");
dest[124]= new Array("Mauritania", "AFR");
dest[125]= new Array("Mauritius", "AFR");
dest[126]= new Array("Mexico", "NAM");
dest[127]= new Array("Moldova", "EUR");
dest[128]= new Array("Monaco", "EUR");
dest[129]= new Array("Mongolia", "ASI");
dest[130]= new Array("Montserrat", "CAR");
dest[131]= new Array("Morocco", "AFR");
dest[132]= new Array("Mozambique", "AFR");
dest[133]= new Array("Myanmar", "ASI");
dest[134]= new Array("Namibia", "AFR");
dest[135]= new Array("Nauru", "OCE");
dest[136]= new Array("Nepal", "ASI");
dest[137]= new Array("Netherlands", "EUR");
dest[138]= new Array("New Caledonia", "OCE");
dest[139]= new Array("New Zealand", "OCE");
dest[140]= new Array("Nicaragua", "CAM");
dest[141]= new Array("Niger", "AFR");
dest[142]= new Array("Nigeria", "AFR");
dest[143]= new Array("Niue", "OCE");
dest[144]= new Array("Norway", "EUR");
dest[145]= new Array("Oman", "ASI");
dest[146]= new Array("Pacific Islands of Micronesia", "OCE");
dest[147]= new Array("Pacific", "OCE");
dest[148]= new Array("Pakistan", "ASI");
dest[149]= new Array("Panama", "CAM");
dest[150]= new Array("Papua New Guinea", "OCE");
dest[151]= new Array("Paraguay", "SAM");
dest[152]= new Array("Peru", "SAM");
dest[153]= new Array("Philippines", "ASI");
dest[154]= new Array("Poland", "EUR");
dest[155]= new Array("Portugal", "EUR");
dest[156]= new Array("Puerto Rico", "CAR");
dest[157]= new Array("Qatar", "ASI");
dest[158]= new Array("Reunion", "AFR");
dest[159]= new Array("Romania", "EUR");
dest[160]= new Array("Russian Federation", "EUR");
dest[161]= new Array("Rwanda", "AFR");
dest[162]= new Array("Saba", "CAR");
dest[163]= new Array("Samoa", "OCE");
dest[164]= new Array("San Marino", "EUR");
dest[165]= new Array("Sao Tome e Principe", "AFR");
dest[166]= new Array("Saudi Arabia", "ASI");
dest[167]= new Array("Senegal", "AFR");
dest[168]= new Array("Seychelles", "ASI");
dest[169]= new Array("Sierra Leone", "AFR");
dest[170]= new Array("Singapore", "ASI");
dest[171]= new Array("Slovak Republic", "EUR");
dest[172]= new Array("Slovenia", "EUR");
dest[173]= new Array("Solomon Islands", "OCE");
dest[174]= new Array("Somalia", "AFR");
dest[175]= new Array("South Africa", "AFR");
dest[176]= new Array("Spain", "EUR");
dest[177]= new Array("Sri Lanka", "ASI");
dest[178]= new Array("St Eustatius", "CAR");
dest[179]= new Array("St Kitts and Nevis", "CAR");
dest[180]= new Array("St Lucia", "CAR");
dest[181]= new Array("St Maarten", "CAR");
dest[182]= new Array("St Vincent and the Grenadines", "CAR");
dest[183]= new Array("Sudan", "AFR");
dest[184]= new Array("Surinam", "SAM");
dest[185]= new Array("Swaziland", "AFR");
dest[186]= new Array("Sweden", "EUR");
dest[187]= new Array("Switzerland", "EUR");
dest[188]= new Array("Syrian Arab Republic", "ASI");
dest[189]= new Array("Tahiti and her Islands", "OCE");
dest[190]= new Array("Taiwan", "ASI");
dest[191]= new Array("Tajikistan", "ASI");
dest[192]= new Array("Tanzania", "AFR");
dest[193]= new Array("Thailand", "ASI");
dest[194]= new Array("Togo", "AFR");
dest[195]= new Array("Tonga", "OCE");
dest[196]= new Array("Trinidad and Tobago", "CAR");
dest[197]= new Array("Tunisia", "AFR");
dest[198]= new Array("Turkey", "ASI");
dest[199]= new Array("Turkmenistan", "ASI");
dest[200]= new Array("Turks and Caicos Islands", "CAR");
dest[201]= new Array("Tuvalu", "OCE");
dest[202]= new Array("Uganda", "AFR");
dest[203]= new Array("Ukraine", "EUR");
dest[204]= new Array("United Arab Emirates", "ASI");
dest[205]= new Array("United Kingdom", "EUR");
dest[206]= new Array("Uruguay", "SAM");
dest[207]= new Array("Uzbekistan", "ASI");
dest[208]= new Array("Vanuatu", "OCE");
dest[209]= new Array("Vatican City", "EUR");
dest[210]= new Array("Venezuela", "SAM");
dest[211]= new Array("Vietnam", "ASI");
dest[212]= new Array("Yemen", "ASI");
dest[213]= new Array("Serbia", "EUR");
dest[214]= new Array("Zambia", "AFR");
dest[215]= new Array("Zimbabwe", "AFR");
dest[216]= new Array("Australia_Australian Capital Territory", "OCE");
dest[217]= new Array("Australia_New South Wales", "OCE");
dest[218]= new Array("Australia_Northern Territory", "OCE");
dest[219]= new Array("Australia_Queensland", "OCE");
dest[220]= new Array("Australia_South Australia", "OCE");
dest[221]= new Array("Australia_Tasmania", "OCE");
dest[222]= new Array("Australia_Victoria", "OCE");
dest[223]= new Array("Australia_Western Australia", "OCE");
dest[224]= new Array("British Overseas Territories", "CAR");
dest[225]= new Array("British Virgin Islands", "CAR");
dest[226]= new Array("Canada_Alberta", "NAM");
dest[227]= new Array("Canada_British Columbia", "NAM");
dest[228]= new Array("Canada_Manitoba", "NAM");
dest[229]= new Array("Canada_New Brunswick", "NAM");
dest[230]= new Array("Canada_Newfoundland and Labrador", "NAM");
dest[231]= new Array("Canada_Northwest Territories", "NAM");
dest[232]= new Array("Canada_Nova Scotia", "NAM");
dest[233]= new Array("Canada_Nunavut", "NAM");
dest[234]= new Array("Canada_Ontario", "NAM");
dest[235]= new Array("Canada_Prince Edward Island", "NAM");
dest[236]= new Array("Canada_Quebec", "NAM");
dest[237]= new Array("Canada_Saskatchewan", "NAM");
dest[238]= new Array("Canada_Yukon Territory", "NAM");
dest[239]= new Array("Dominica, Commonwealth of", "CAR");
dest[240]= new Array("Falkland Islands, Malvinas", "SAM");
dest[241]= new Array("French Overseas Possessions", "OCE");
dest[242]= new Array("Gibraltar", "EUR");
dest[243]= new Array("Hong Kong", "ASI");
dest[244]= new Array("Pacific Islands of Micronesia_Federated States of Micronesia", "OCE");
dest[245]= new Array("Pacific Islands of Micronesia_Marshall Islands", "OCE");
dest[246]= new Array("Pacific Islands of Micronesia_Northern Mariana Islands", "OCE");
dest[247]= new Array("Pacific Islands of Micronesia_Palau", "OCE");
dest[248]= new Array("Portugal_Azores", "EUR");
dest[249]= new Array("Portugal_Madeira", "EUR");
dest[250]= new Array("Spain_Balearic Islands", "EUR");
dest[251]= new Array("Spain_Canary Islands", "EUR");
dest[252]= new Array("United Kingdom_Channel Islands", "EUR");
dest[253]= new Array("United Kingdom_Channel Islands_Alderney", "EUR");
dest[254]= new Array("United Kingdom_Channel Islands_Guernsey", "EUR");
dest[255]= new Array("United Kingdom_Channel Islands_Jersey", "EUR");
dest[256]= new Array("United Kingdom_Channel Islands_Sark and Herm", "EUR");
dest[257]= new Array("United Kingdom_England", "EUR");
dest[258]= new Array("United Kingdom_Isle of Man", "EUR");
dest[259]= new Array("United Kingdom_Northern Ireland", "EUR");
dest[260]= new Array("United Kingdom_Scotland", "EUR");
dest[261]= new Array("United Kingdom_Wales", "EUR");
dest[262]= new Array("United States of America", "NAM");
dest[263]= new Array("United States of America_Alabama", "NAM");
dest[264]= new Array("United States of America_Alaska", "NAM");
dest[265]= new Array("United States of America_Arizona", "NAM");
dest[266]= new Array("United States of America_Arkansas", "NAM");
dest[267]= new Array("United States of America_California", "NAM");
dest[268]= new Array("United States of America_Colorado", "NAM");
dest[269]= new Array("United States of America_Connecticut", "NAM");
dest[270]= new Array("United States of America_Delaware", "NAM");
dest[271]= new Array("United States of America_Florida", "NAM");
dest[272]= new Array("United States of America_Georgia", "NAM");
dest[273]= new Array("United States of America_Hawaii", "NAM");
dest[274]= new Array("United States of America_Idaho", "NAM");
dest[275]= new Array("United States of America_Illinois", "NAM");
dest[276]= new Array("United States of America_Indiana", "NAM");
dest[277]= new Array("United States of America_Iowa", "NAM");
dest[278]= new Array("United States of America_Kansas", "NAM");
dest[279]= new Array("United States of America_Kentucky", "NAM");
dest[280]= new Array("United States of America_Louisiana", "NAM");
dest[281]= new Array("United States of America_Maine", "NAM");
dest[282]= new Array("United States of America_Maryland", "NAM");
dest[283]= new Array("United States of America_Massachusetts", "NAM");
dest[284]= new Array("United States of America_Michigan", "NAM");
dest[285]= new Array("United States of America_Minnesota", "NAM");
dest[286]= new Array("United States of America_Mississippi", "NAM");
dest[287]= new Array("United States of America_Missouri", "NAM");
dest[288]= new Array("United States of America_Montana", "NAM");
dest[289]= new Array("United States of America_Nebraska", "NAM");
dest[290]= new Array("United States of America_Nevada", "NAM");
dest[291]= new Array("United States of America_New Hampshire", "NAM");
dest[292]= new Array("United States of America_New Jersey", "NAM");
dest[293]= new Array("United States of America_New Mexico", "NAM");
dest[294]= new Array("United States of America_New York", "NAM");
dest[295]= new Array("United States of America_North Carolina", "NAM");
dest[296]= new Array("United States of America_North Dakota", "NAM");
dest[297]= new Array("United States of America_Ohio", "NAM");
dest[298]= new Array("United States of America_Oklahoma", "NAM");
dest[299]= new Array("United States of America_Oregon", "NAM");
dest[300]= new Array("United States of America_Pennsylvania", "NAM");
dest[301]= new Array("United States of America_Rhode Island", "NAM");
dest[302]= new Array("United States of America_South Carolina", "NAM");
dest[303]= new Array("United States of America_South Dakota", "NAM");
dest[304]= new Array("United States of America_Tennessee", "NAM");
dest[305]= new Array("United States of America_Utah", "NAM");
dest[306]= new Array("United States of America_Vermont", "NAM");
dest[307]= new Array("United States of America_Virginia", "NAM");
dest[308]= new Array("United States of America_Washington DC", "NAM");
dest[309]= new Array("United States of America_Washington State", "NAM");
dest[310]= new Array("United States of America_West Virginia", "NAM");
dest[311]= new Array("United States of America_Wisconsin", "NAM");
dest[312]= new Array("United States of America_Wyoming", "NAM");
dest[313]= new Array("US External Territories", "OCE");
dest[314]= new Array("US Virgin Islands", "CAR");
dest[315]= new Array("Montenegro", "EUR");
dest.sort();

function getDirName(ind){

	s = dest[ind][0];
	
	//these appear only once, at most
	s = s.replace(',','');
	s = s.replace('United States of America', 'usa');
	s = s.replace('United Kingdom', 'uk');
	s = s.replace('Channel Islands', 'ci');
	s = s.replace('Pacific Islands of Micronesia', 'pim')
	s = s.replace('Canada', 'ca');
	s = s.replace('Australia', 'au')
	s = s.toLowerCase();
	//blank space and underscore may be repeated
	while(s.indexOf(' ')!= -1){
	s = s.replace(' ', '');
	}
	while(s.indexOf('_')!= -1){
	s = s.replace('_', '');
	}
	return s;
}



function writeContinentList(reg){
	
	region = '';
	region = (reg=='AFR')? 'Africa' : region ;
	region = (reg=='ANT')? 'Antarctica' : region ;
	region = (reg=='ASI')? 'Asia' : region ;
	region = (reg=='CAM')? 'Central America' : region ;
	region = (reg=='CAR')? 'Caribbean' : region ;
	region = (reg=='EUR')? 'Europe' : region ;
	region = (reg=='NAM')? 'North America' : region ;
	region = (reg=='OCE')? 'Oceania' : region ;
	region = (reg=='SAM')? 'South America' : region ;
	contTable = '<img src="img/minimizar.gif" width="322" height="12" vspace="1" alt="" border="0" usemap="#Map2" /><br />';
	contTable += '<span class="titleDef"><img src="../../img/gif.gif" hspace="5" vspace="0" border="0" width="1" height="1" alt="" />'+region+'</span><br />';
	contTable += '<hr />';
	var dir = "";
	for(i=0;i<dest.length;i++){
		if(dest[i][1]== reg){
			dir = getDirName(i);
			contTable += '<img src="img/doc.gif" width="15" height="15" hspace="5" alt="" />';
			contTable += '<a href="guides/'+ dir +'/intro.htm" class="menu">'+dest[i][0]+'</a><br />';
		}
		
	}
	
	return contTable;
}

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;	
}
