Help With Size transform

How can i do to resize a objects with “OnMouseEnter” and back to original size with “OnMouseExit”

I used this
function OnMouseEnter () {
transform.localScale = Vector3(30,60,0.5);
}

function OnMouseExit () {
		transform.localScale = Vector3(20,40,0.25);
		}

But now I want to use the same script with objects of diferents sizes.
I need something like this but dunno which the code is
function OnMouseEnter () {
transform.localScale = Vector3(30,60,0.5);
}

function OnMouseExit () {
		transform.localScale = Original.scale
		}

You can store the original scale in a variable.

private var originalScale : Vector3;

function OnMouseEnter() {
    originalScale = transform.localScale;
    transform.localScale = Vector3(20, 40, 0.25);
}

function OnMouseExit() {
    transform.localScale = originalScale;
}

use it,
transform.localScale.x = 20;
transform.localScale.y=40;
transform.localScale.z=0.25;

thanks