/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'Top',
            className:'stage_Top_id',
            type:'rect',
            tag:'div',
            rect:[0,0,825,75],
            fill:['rgba(97,139,1,1)'],
            stroke:[0,"rgb(0, 0, 0)","none"]
        },
        {
            id:'Blurb',
            className:'stage_Text_id',
            type:'text',
            tag:'div',
            rect:[21,12,640,0],
            text:"WE WORK FOR SOCIAL CHANGE ORGANIZATIONS SEEKING ONLINE STRATEGY, DIGITAL MEDIA, AND POWERFUL WEB DESIGN",
            font:["Futura,Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif",18,"rgba(255,255,255,1.00)","bold","none",""]
        },
        {
            id:'Body',
            className:'stage_Body_id',
            type:'rect',
            tag:'div',
            rect:[0,75,825,325],
            fill:['rgba(244,222,146,1.00)'],
            stroke:[0,"rgb(0, 0, 0)","none"]
        },
	    {
	        id:'Separator',
	        className:'stage_Separator_id',
	        type:'text',
	        tag:'div',
	        rect:[645,240,0,0],
	        text:".......",
	        align:"auto",
	        font:["Futura,Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif",12,"rgba(153,102,1,1)","bold","none","normal"]
	    },
        {
            id:'Button1',
            className:'stage_Button1_id',
            type:'image',
            tag:'img',
            rect:[518,264,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Button2',
            className:'Button1Copy_id',
            type:'image',
            tag:'img',
            rect:[617,264,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Button3',
            className:'Button1Copy_id',
            type:'image',
            tag:'img',
            rect:[716,264,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Button4',
            className:'Button1Copy_id',
            type:'image',
            tag:'img',
            rect:[518,326,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Button5',
            className:'Button1Copy_id',
            type:'image',
            tag:'img',
            rect:[617,326,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Button6',
            className:'Button1Copy_id',
            type:'image',
            tag:'img',
            rect:[716,326,89,52],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img-mini.png']
        },
        {
            id:'Image',
            className:'stage_Image_id',
            type:'image',
            tag:'img',
            rect:[0,98,480,280],
            fill:['rgba(0,0,0,0)','/sites/all/themes/agentic/banner/images/img.png']
        },
        {
            id:'Summary',
            className:'stage_Summary_id',
            type:'text',
            tag:'div',
            rect:[518,122,287,116],
            text:"Labels often create barriers, as is the case for people who have been labeled “developmentally disabled” or “mentally handicapped.” The BC Self-Advocacy Foundation (BCSAF) is working to change this, as well as other barriers such as separation from family and friends and poor access to jobs and education.",
            align:"auto",
            font:["Futura,Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif",12,"rgba(0,0,0,1)","normal","none","normal"]
        },
        {
            id:'Title',
            className:'stage_Title_id',
            type:'text',
            tag:'div',
            rect:[525,98,0,0],
            text:"BC SELF ADVOCACY FOUNDATION",
            align:"auto",
            font:["Futura,Gill Sans,Gill Sans MT,Helvetica,Arial,sans-serif",12,"rgba(0,0,0,1)","bold","none","normal"]
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_stage}": [
            ["style", "height", '400px'],
            ["style", "overflow", 'hidden'],
            ["color", "background-color", 'rgba(245,240,218,1.00)'],
            ["style", "width", '825px']
         ],
        "${_Top}": [
            ["style", "border-top-left-radius", [15,15],{valueTemplate:'@@0@@px @@1@@px'}],
            ["style", "border-bottom-right-radius", [0,0],{valueTemplate:'@@0@@px @@1@@px'}],
            ["style", "border-bottom-left-radius", [0,0],{valueTemplate:'@@0@@px @@1@@px'}],
            ["style", "border-top-right-radius", [15,15],{valueTemplate:'@@0@@px @@1@@px'}]
         ],
	     "${_Blurb}": [
         	["style", "line-height", '26px']
	     ],
         "${_Body}": [
         ],
		"${_Separator}": [
         	["style", "opacity", '0']
         ],
		"${_Button1}": [
         ],
         "${_Button2}": [
         ],
		 "${_Button3}": [
         ],
		"${_Button4}": [
         ],
         "${_Button5}": [
         ],
         "${_Button6}": [
         ],
		"${_Title}": [
            ["transform", "translateX", '815px'],
            ["style", "line-height", '18px']
         ],
		"${_Summary}": [
            ["transform", "translateX", '822px'],
            ["style", "line-height", '18px']
         ],
         "${_Image}": [
            ["transform", "translateX", '843px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 500,
         labels: {
            "start": 0,
            "stop": 250
         },
         timeline: [	
         	{ id: "eid200", tween: [ "style", "${_Separator}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
         	{ id: "eid201", tween: [ "style", "${_Separator}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
         	{ id: "eid148", tween: [ "style", "${_Button1}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
         	{ id: "eid149", tween: [ "style", "${_Button1}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid154", tween: [ "style", "${_Button2}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid155", tween: [ "style", "${_Button2}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid161", tween: [ "style", "${_Button3}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid162", tween: [ "style", "${_Button3}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid179", tween: [ "style", "${_Button4}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid180", tween: [ "style", "${_Button4}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid181", tween: [ "style", "${_Button5}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid182", tween: [ "style", "${_Button5}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid191", tween: [ "style", "${_Button6}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 250 },
            { id: "eid192", tween: [ "style", "${_Button6}", "opacity", '0', { fromValue: '1'}], position: 250, duration: 250 },
            { id: "eid119", tween: [ "transform", "${_Title}", "translateX", '-7px', { fromValue: '815px'}], position: 0, duration: 250 },
            { id: "eid83", tween: [ "transform", "${_Title}", "translateX", '-825px', { fromValue: '-7px'}], position: 250, duration: 250 },
            { id: "eid123", tween: [ "transform", "${_Summary}", "translateX", '0px', { fromValue: '822px'}], position: 0, duration: 250 },
            { id: "eid84", tween: [ "transform", "${_Summary}", "translateX", '-818px', { fromValue: '0px'}], position: 250, duration: 250 },
            { id: "eid121", tween: [ "transform", "${_Image}", "translateX", '21px', { fromValue: '843px'}], position: 0, duration: 250 },
            { id: "eid82", tween: [ "transform", "${_Image}", "translateX", '-797px', { fromValue: '21px'}], position: 250, duration: 250 }]
      }
   }
}};

var comp;
Edge.registerCompositionDefn(compId, symbols);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     comp = new Edge.Composition(compId, {stage: "." + compId}, {});
	   /**
 * Adobe Edge Timeline Launch
 */
     comp.ready(function() {
         comp.play();
     });
});
})(jQuery, jQuery.Edge, "EDGE-5496729");

