$(document).ready(function () {

    $(".dragme,.obj0,.obj1,.obj2,.obj3,.obj4,.obj5,.obj6,.obj7,.obj8,.obj9").draggable({
        containment: '#wrap',
        cursor: 'none',
        zIndex: '1211'
    });
    //cancel:'.pencil,.coffee',
    //$(".pencil").draggable({containment: "#wrap",cursor:'none',zIndex:'1211',drag: function() {$(".dragnote1").fadeOut(1500);}}); 
    //$(".coffee").draggable({containment: "#wrap",cursor:'none',zIndex:'1211',drag: function() {$(".dragnote2").fadeOut(1500);}}); 
   // $(".coffee").append("<span class='full'></span>");
   // $(".coffee").append("<span class='half'></span>");
    //$(".coffee").append("<span class='empty'></span>");

 	$(".bagel .full").dblclick(function () {
        $(".bagel .full").hide();
        $(".bagel .half").show();
    });
	
	$(".bagel .half").dblclick(function () {
        $(".bagel .quarter").show();
        $(".bagel .half").hide();
    });
	
	$(".bagel .quarter").dblclick(function () {
        $(".bagel .crumbs").show();
        $(".bagel .quarter").hide();
    });
	
	$(".bagel .crumbs").dblclick(function () {
        $(".bagel .crumbs").hide();
		 $(".bagel").hide();
    });
 
    $(".coffee .full").dblclick(function () {
        $(".coffee .half").show();
        $(".coffee .full").fadeOut("slow");
    });
    $(".coffee .half").dblclick(function () {
        $(".coffee .empty").show();
        $(".coffee .half").fadeOut("slow");
    });
/*
    $(".work dl").bind("mouseover", function () {
        $(this).addClass("hover");
    }).bind("mouseout", function () {
        $(this).removeClass("hover");
    }).bind("click", function () {
        window.location.href = $(this).find("a").attr("href");
    });

    $(".memberof li").bind("click", function () {
        window.location.href = $(this).find("a").attr("href");
    });
*/
});
