function switchPict(newPic){
	
   document.mainPict.src = newPic;
}

function smallWind(whatH, whatW){
	
	window.resizeTo(whatH,whatW);
	window.moveTo(100,100);
}

function newWind(){
	
	document.open("stage.php", "myWind", "width=550,height=850,scrollbars=no");
	
	
}

function windowAdj(){

	top.window.moveTo(0,0);

	if (document.all){
    	
		top.window.resizeTo(screen.availWidth, screen.availHeight);
	
	} else if (document.layers||document.getElementById){
    	
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
       	 
		 top.window.outerHeight = screen.availHeight;
       	 top.window.outerWidth = screen.availWidth;
  	 }
		}
	}
