var RPi
function RaspberryPi(model)
{
    this.model = $( ".pi" );
    this.rotateX = 70;
    this.rotateY = 0;
    this.rotateZ = 40;


    this.traqball = new Traqball({
        stage: "stage",
        //axis: [0.5,1,0,0.25],
        prespective: 1000
    });
}

RaspberryPi.prototype.defaultPosition = function()
{
    this.traqball.disable()
    this.model.addClass( "picontainer_mover" );
    this.model.css( "-webkit-transform", "translateZ( 111px ) rotateX(70deg) rotateY(0deg) rotateZ(40deg)");
    this.model.css( "transform", "translateZ( 111px ) rotateX(70deg) rotateY(0deg) rotateZ(40deg)" );
    var thisObj = this;
    setTimeout(function(){
        thisObj.model.removeClass( "picontainer_mover" );
        thisObj.traqball.activate();
    },500)
    
}

$(".sd").click(function(){
    this.addClass("sdout");
    alert("Hello")
})

$(document).ready(function()
{
    RPi = new RaspberryPi(".pi");
});

@@ -201,10 +201,8 @@
     
-//
 axis
@@ -253,16 +253,204 @@
     %7D);%0A
+    %0A    this.initSelf()%0A%7D%0A%0ARaspberryPi.prototype.initSelf = function()%0A%7B%0A    var thisObj = this;%0A    %0A    $(%22#default_button%22).click(function()%7B%0A        thisObj.defaultPosition()%0A    %7D);%0A
 %7D%0A%0ARaspb
@@ -619,36 +619,16 @@
 %22, %22
-translateZ( 111px ) 
 rotateX(
 70de
@@ -615,34 +615,34 @@
 form%22, %22rotateX(
-70
+58
 deg) rotateY(0de
@@ -649,25 +649,25 @@
 g) rotateZ(4
-0
+5
 deg)%22);%0A    
@@ -700,36 +700,16 @@
 %22, %22
-translateZ( 111px ) 
 rotateX(
 70de
@@ -704,18 +704,18 @@
 rotateX(
-70
+58
 deg) rot
@@ -734,17 +734,17 @@
 otateZ(4
-0
+5
 deg)%22 );

add self init function to Raspberry Pi