window.onload=function(){
/*var open=document.getElementById("open");
open.style.display="none";*/
var myWrapper=document.getElementById("wrapper");
myWrapper.style.overflow="hidden";

}


function toggle(){
var open=document.getElementById("open");
var dropDown=document.getElementById("dropDown");
var myWrapper=document.getElementById("wrapper");
if (open.style.display=="block"){
open.style.display="none";
dropDown.style.display="none";
myWrapper.style.overflow="hidden";}
else {
open.style.display="block";
dropDown.style.display="block";
myWrapper.style.overflow="visible";}
}

/*
function initialize(){
if (navigator.appName.indexOf("Microsoft")!=-1){
flash=window.slideShow;}
else{
flash=window.document.slideShow;}
}*/

/*var t=true;

function flashPaused(booleanParam){
t=booleanParam;
}


*/


function MM_jumpMenu(targ,selObj,restore){//v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



$(document).ready(function(){
						   
						   
/*						   
$('#index-06').click(function(){
						 if (t==true){ 
							   $('#changeCss p').addClass('before').removeClass('moreLeft');
							   $('#index-06 a').css('color', 'ECC44A');
							   
							   }	
						else if (t==false){ 	   
							   $('#changeCss p').addClass('moreLeft').removeClass('before');
							   $('#index-06 a').css('color', '825E3B');
							  }	

							  });	
*/


/*swapColor=setInterval(swapper, 5000);	
function swapper(){   
	$('#changeCss p').fadeOut();
		$('#changeCss p').addClass('moreLeft').removeClass('before');
		$('#index-06 a').css('color', '825E3B');
		$('#index-06 a').hover(function(){
			$(this).css('color', 'fff');}, function(){$(this).css('color', '825E3B');});
		$('#changeCss p').fadeIn();	
		clearInterval(swapColor);}*/
	
	

					   
	$('#index-07hide').fadeOut(5000);
	$('#index-08hide').fadeOut(5000);
	$('#index-08hide').fadeOut(5000);
	$('#index-09hide').fadeOut(5000);
	$('#index-10hide').fadeOut(5000);
	$('#index-11hide').fadeOut(5000);
	$('#index-12hide').fadeOut(5000);
	$('#index-13hide').fadeOut(5000);
	$('#index-14hide').fadeOut(5000);
	$('#index-15hide').fadeOut(5000);
	
	
	$('<div align="center" class="copy" id="pawwMission"></div>').prependTo('#index-13b');
	$('#pawwMission').load('pawwMission.txt');

	
	$('<div align="center" class="copy" id="pawwVision01"></div>').prependTo('#index-14b');
	$('#pawwVision01').load('pawwVision01.txt');
	
	$('<div align="center" class="copy" id="pawwVision02"> <span class="underline">More...</span></div>').insertAfter('#pawwVision01');
	var counter=true;
	$('#index-14b').click(function(){
		if (counter==true)
			{$('#pawwVision02').load('pawwVision02.txt'); counter=false}
		else if (counter==false){
			$('#pawwVision02').remove();
			$('<div align="center" class="copy" id="pawwVision02"> <span class="underline">More...</span></div>').insertAfter('#pawwVision01');counter=true;}
	});	
	
	$('<div align="center" class="copy" id="pawwAboutUs01"></div>').prependTo('#index-15b');
	$('#pawwAboutUs01').load('pawwAboutUs01.txt');
	$('<div align="center" class="copy" id="pawwAboutUs02"> <span class="underline">More...</span></div>').appendTo('#index-15b');
	var scounter=true;
	$('#index-15b').click(function(){
		if (scounter==true)
			{$('#pawwAboutUs02').load('pawwAboutUs02.html'); scounter=false}
		else if (scounter==false){
			$('#pawwAboutUs02').remove();
			$('<div align="center" class="copy" id="pawwAboutUs02"> <span class="underline">More...</span></div>').insertAfter('#pawwAboutUs01');scounter=true;}
	});	
	
						   
						   });
