Insert semicolon at the end , error?

hii friends i want to drag a cube using mouse curser, but i gettin error (Insert semicolon at the end ) any one can help me plz.
Here is my code.

#pragma strict



function Start () {

}
void OnMouseDown()
	{
    screenPoint = Camera.main.WorldToScreenPoint(scanPos);
    offset = scanPos - Camera.main.ScreenToWorldPoint;
    (new Vector3(Input.mousePosition.x, Input.mousePosition.y, screenPoint.z));
	}

void OnMouseDrag()
	{
    Vector3 curScreenPoint = new Vector3(Input.mousePosition.x, Input.mousePosition.y, screenPoint.z);//
    Vector3 curPosition = Camera.main.ScreenToWorldPoint(curScreenPoint) + offset;//
    transform.position = curPosition;
	}
function Update () {

}

Remove the ‘;’ after ScreenToWorldPoint - you want that parameter passed to the function.

And @kryptos is right, you have function Update() and function Start() but the rest looks like C#. If this is in a .JS file put it in a .CS file without the Update() and Start() - if you want JS then the other functions will need to be rewritten.