Using GUI skin with my GUI Button

I have never using a GUI skin yet so I am not fully understanding how to do it. I have the following code set up for my GUI button I would like to make it so that it uses a gui skin insted of normal textures. I would also like to change the first like to accept gui skins in the inspector if possable?

public Texture Location1Button;//Allows you to set the buttons 1 texture in the Inspector.

if (GUI.Button(new Rect(10, 10, 50, 50), Location1Button))

Try this, it is how I do it:

var MyGUISkin : GUISkin;
function OnGUI () { = MyGUISkin;

    //Put the other GUI stuff here