var kids= new Array() 
kids[0]="introduction.html";
kids[1]="problemSolving.html";
kids[2]="designingCommunity.html";
kids[3]="workWithOthers.html";
kids[4]="planProject.html";
kids[5]="projectOver.html";


var adults= new Array()
adults[0]="schools.html";
adults[1]="youthgroups.html";
adults[2]="parents.html";
adults[3]="parents2.html";
adults[4]="parents3.html";
adults[5]="resources.html";
adults[6]="contacts.html";
adults[7]="recognition.html";

var volunteer= new Array()
volunteer[0]="features.html";
volunteer[1]="animals.html";
volunteer[2]="environment.html";
volunteer[3]="hunger.html";
volunteer[4]="friendship.html";
volunteer[5]="citizenship.html";


function writePrevNext(page,menu){
listLength= eval(menu).length;
for(i=0;i<listLength;i++){
if (page==eval(menu)[i]){
 prev = eval(menu)[i-1];
 next = eval(menu)[i+1];
}
}
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('<tr><td align="left" valign="top" width="50%">');
if (page!=eval(menu)[0]){
document.write('<a href="http://disney.go.com/disneyhand/showyourcharacter/'+menu+'/'+prev+'">previous</a>');
}
document.write('</td><td align="right" valign="top" width="50%">');
if (page!=eval(menu)[listLength-1]){
document.write('<a href="http://disney.go.com/disneyhand/showyourcharacter/'+menu+'/'+next+'">next</a>');
}
document.write('</td></tr></table>');
}


function externalDisclaimer(name, URL, position){
	
	if (!position){
		position = 0;
	}
	
	document.writeln('<div style="position:relative;"><div class="pdfNote" style="left:'+position+'px;" id="'+name+'"><table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td><strong>Note:</strong> The web site you are about to link to is not controlled by Disney Online and different terms of use and privacy policy will apply. By proceeding you agree and understand that Disney Online is not responsible for the site you are about to access.</td></tr><tr><td colspan="2" align="center"><a href="javascript:showhide(\''+name+'\')"><strong>cancel</strong></a> &nbsp;&nbsp; | &nbsp;&nbsp; <a href="javascript:redirect(\''+name+'\', \''+URL+'\',\'externalWin\')"><strong>continue</strong></a></td></tr></table></div></div>');

}


function showhide(divID, docURL, windowName){
	
	if (!windowName){
		windowName = "externalWin";
	}
	
	obj=document.getElementById(divID);
	
	if (!obj.style.overflow || obj.style.overflow == "hidden"){
		obj.style.overflow="visible";
		obj.style.visibility="visible";
		the_timeout = setTimeout('redirect("'+divID+'","'+docURL+'","'+windowName+'")',11000);
	} else {
		obj.style.overflow="hidden";
		obj.style.visibility="hidden";
		clearTimeout(the_timeout);
	}

}


function redirect(divID, URL, windowName){
	showhide(divID);
	win = window.open(URL, windowName, "");
	win.focus();
}

function writedhandLogo() {
document.write('<br><div align="center" class="note"><a href="http://disney.go.com/allstars/index.html"><img src="http://disney.go.com/disneyhand/showyourcharacter/images/logo_allstars_lrg.gif" width="141" height="119" alt="Disney Adventures All-Stars 2007" border="0"></a><br><a href="http://disney.go.com/allstars/index.html" class="note_link">Click here to find out how you can be a Disney Adventures All-Star.</a></div><br><br>');
}

function writedhandLogo2(omnitag_pgname) {
document.write('<br><div align="center" class="note"><a href="http://disney.go.com/allstars/index.html" name="lid=outr_' + omnitag_pgname + '/contentlink/disney_adv_all_stars_2007/080306"><img src="http://disney.go.com/disneyhand/showyourcharacter/images/logo_allstars_lrg.gif" width="141" height="119" alt="Disney Adventures All-Stars 2007" border="0"></a><br><a href="http://disney.go.com/allstars/index.html" class="note_link" name="lid=outr_'+omnitag_pgname+'/contentlink/find_out_how_to_b_disney_adv_allstars/080306">Click here to find out how you can be a Disney Adventures All-Star.</a></div><br><br>');
}

function writeNLChrome() {
document.write('<table width="770" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#003399"><tr><td width="122"><img src="http://disney.go.com/globalmedia/chrome/disney_logo.gif" width="122" height="25" alt="" border="0"></td><td align="left" valign="middle" width="600"></td></tr></table>');
}






