The issue is the first line in the file… you are trying to declare a variable but you are calling a function. I’m not sure what it is exactly that you’re trying to do.
Application.LoadLevel() is a static function that takes a single argument that is the name, or ID, of the level you want to load. I presume that it is the level you want to hold in a variable. Yes?
So… in that case…
var currentLevel = "1";
Application.LoadLevel( currentLevel );