varying vec2 	texcoord;
varying vec2 	texcoord1;
varying vec2 	texcoord2;
varying vec2 	texcoord3;
varying vec2 	texcoord4;
varying vec2 	texcoord5;
varying vec2 	texcoord6;
varying vec2 	texcoord7;

uniform vec4	scales1,
				scales2;
				
uniform vec2	org;

void main()
{
	gl_Position = ftransform();
	texcoord = ((gl_MultiTexCoord0.st-org)*scales1.x) + org;	
	texcoord1 = ((gl_MultiTexCoord0.st-org)*scales1.y) + org;	
	texcoord2 = ((gl_MultiTexCoord0.st-org)*scales1.z) + org;	
	texcoord3 = ((gl_MultiTexCoord0.st-org)*scales1.w) + org;	
	texcoord4 = ((gl_MultiTexCoord0.st-org)*scales2.x) + org;	
	texcoord5 = ((gl_MultiTexCoord0.st-org)*scales2.y) + org;	
	texcoord6 = ((gl_MultiTexCoord0.st-org)*scales2.z) + org;	
	texcoord7 = ((gl_MultiTexCoord0.st-org)*scales2.w) + org;	
}