
/*----------------------------------------------------------------------sizePage
	F: Fixed - 170 px
	N: Narrow - 30%
	W: Wide
*/		
	
	function sizePage(how)
	{
	
		return;
		
		var iPageWidth, iLeft, iCenter, iRight;
		var iLeftColumn, iCenterColumn, iRightColumn;
		var iMargin = 20;
		
		iPageWidth = document.body.clientWidth;
		if (iPageWidth > 1160) iPageWidth = 1160;
		if (iPageWidth < 820) iPageWidth = 820;
		iPageWidth = iPageWidth - 2 * iMargin;
		
		WholePage.style.width = iPageWidth;
		Banner.style.width = iPageWidth
		TopNav.style.width = iPageWidth
		Main.style.width = iPageWidth
		Footer.style.width = iPageWidth
		
		switch (how)
		{
			case 'NW':
				iLeftColumn = 205/780;
				
				iLeft = Math.floor(iLeftColumn * iPageWidth); 
				
				Column1.style.width = iLeft;
				Column2.style.width = iPageWidth - iLeft;
				
				break;

			case 'NWF':
				iLeftColumn = 0.3;
				iCenterColumn = 0.7;
				
				iRight = 170; 
				iLeft = Math.floor(iLeftColumn * iPageWidth) - 5; 
				iCenter = iPageWidth - iLeft - iRight - 5;
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'FWN':
				iRightColumn = 0.4;
				iCenterColumn = 0.6;
				
				iLeft = 170; 
				iRight = Math.floor(iRightColumn * (iPageWidth - iLeft)); 
				iCenter = iPageWidth - iLeft - iRight ;
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'NWN':
				iLeftColumn = 205/780;
				iCenterColumn = 405/780;
				iRightColumn = 170/780;
				
				iLeft = Math.floor(iLeftColumn * iPageWidth); 
				iRight = Math.floor(iRightColumn * iPageWidth); 
				iRight = 170; 
				iCenter = iPageWidth - iLeft - iRight -30;
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'WWN':
				iLeftColumn = 305/780;
				iCenterColumn = 305/780;
				iRightColumn = 170/780;
				
				iRight = Math.floor(iRightColumn * iPageWidth); 
				iLeft = Math.floor((iPageWidth - iRight)/2); 
				iCenter = iPageWidth - iLeft - iRight;
				iLeft = iLeft - 5
				iCenter = iCenter - 5
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'NWW':
				iLeftColumn = 170/780;
				iCenterColumn = 305/780;
				iRightColumn = 305/780;
				
				iLeft = Math.floor(iLeftColumn * iPageWidth); 
				iRight = Math.floor((iPageWidth - iLeft)/2); 
				iCenter = iPageWidth - iLeft - iRight;
				iLeft = iLeft - 5
				iCenter = iCenter - 5
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'WWF':
				iRight = 170; 
				iLeft = Math.floor((iPageWidth - iRight)/2); 
				iCenter = iPageWidth - iLeft - iRight;
				iLeft = iLeft - 5
				iCenter = iCenter - 5
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'FWW':
				iLeft = 170; 
				iRight = Math.floor((iPageWidth - iLeft)/2); 
				iCenter = iPageWidth - iLeft - iRight;
				iRight = iRight - 5
				iCenter = iCenter - 5
				
				Column1.style.width = iLeft;
				Column2.style.width = iCenter;
				Column3.style.width = iRight;
				
				break;

			case 'WW':
				iRight = iPageWidth/2; 
				iLeft = iPageWidth - iRight;
				
				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
			case 'WN':
				iRight = 170/780; 
				iLeft = iPageWidth - iRight - 12;
				
				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
			case 'WF':
				iRight = 170; 
				iLeft = iPageWidth - iRight - 12;
				
				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
			case 'FW':
				iLeft = 170; 
				iRight = iPageWidth - iLeft;
				
				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
			case 'WM':
				iLeftColumn = 530/780;
				iRightColumn = 250/780;
				
				iRight = Math.floor(iRightColumn * iPageWidth); 
				iLeft = iPageWidth - iRight;

				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
			case 'W':
				Column1.style.width = iPageWidth;
				
				break;
				
			case 'Photo':
				iLeft = 380
				iRight = iPageWidth - iLeft - 30; 
				
				Column1.style.width = iLeft;
				Column2.style.width = iRight;
				
				break;
				
		}
		
		
	}
	
