/**
 * Adobe Helium: symbol definitions
 */
window.symbols = {
"stage": {
   version: "0.1",
   baseState: "Base State",
   initialState: "Base State",
   parameters: {

   },
   content: {
      dom: [
        {
            id:'creative',
            type:'text',
            rect:[28.799999713898,14.400000095367,612,66.240003585815],
            text:"creative,",
            align:"right",
            font:["Georgia, Times New Roman, Times, serif",24,"rgba(115,115,115,1.00)","normal","none","italic"],
            transform:[[-12,18.71999]],
        },
        {
            id:'costeffective',
            type:'text',
            rect:[342.72001314163,18.719999790192,292.32009887696,59.039999008178],
            text:"cost effective,",
            align:"center",
            font:["Georgia, Times New Roman, Times, serif",36.3,"rgba(115,115,115,1.00)","normal","none","italic"],
            transform:[[-98,15.84]],
        },
        {
            id:'advertisingmedia',
            type:'text',
            rect:[959.04005098343,38.880001544952,309.0842130291,60.67343617909],
            text:"advertising media",
            align:"left",
            font:["Georgia, Times New Roman, Times, serif",36.3,"rgba(115,115,115,1.00)","normal","none","italic"],
            transform:[[-474,-3.32]],
        },
        {
            id:'contact',
            type:'text',
            rect:[457,278.0,140.47624694218,50],
            text:"projects",
            align:"center",
            font:["Georgia, Times New Roman, Times, serif",36.3,"rgba(115,115,115,1)","normal","none","italic"],
            transform:[[-364]],
        },
        {
            id:'work',
            type:'text',
            rect:[665,278,143.54740956896,50],
            text:"clients",
            align:"center",
            font:["Georgia, Times New Roman, Times, serif",36.3,"rgba(115,115,115,1)","normal","none","italic"],
            transform:[[-337,-0.80482]],
        },
        {
            id:'links',
            type:'text',
            rect:[958,278,297.29734993089,50],
            text:"contact",
            align:"center",
            font:["Georgia, Times New Roman, Times, serif",36.3,"rgba(115,115,115,1)","normal","none","italic"],
            transform:[[-474.84005,-5.75998]],
        },
        {
            id:'Image4',
            type:'image',
            rect:[0,0,737,84],
            fill:['rgba(0,0,0,0)','http://seeworthymedia.com/site/Edge/images/SW%2Dlogo%2Dwhite2.png'],
            transform:[[26,77]],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#creative": [
            ["transform", "translateX", '-12px'],
            ["color", "color", 'rgba(115,115,115,1.00)'],
            ["style", "opacity", '0'],
            ["style", "width", '234.7200012207px'],
            ["style", "height", '56.16000175476px'],
            ["style", "text-align", 'right'],
            ["transform", "scaleY", '0.67'],
            ["style", "font-size", '36.3px'],
            ["style", "font-style", 'italic'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateY", '18.71999px'],
            ["transform", "scaleX", '0.67']
         ],
         "#stage": [
            ["color", "background-color", 'rgba(255,255,255,1.00)'],
            ["style", "overflow", 'hidden'],
            ["style", "position", 'absolute'],
            ["style", "top", '0'],
            ["style", "left", '50%'],
            ["style", "margin-left", '-405px'],
            ["style", "height", '275px'],
            ["style", "width", '700px']
         ],
         "#work": [
            ["transform", "translateX", '-337px'],
            ["transform", "scaleX", '0.67'],
            ["style", "opacity", '0'],
            ["style", "width", '143.54740956896px'],
            ["style", "text-align", 'center'],
            ["style", "height", '50px'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateY", '-28px'],
            ["transform", "scaleY", '0.67']
         ],
         "#costeffective": [
            ["transform", "translateX", '-120px'],
            ["color", "color", 'rgba(115,115,115,1.00)'],
            ["style", "opacity", '0.01'],
            ["style", "width", '292.32009887696px'],
            ["style", "text-align", 'center'],
            ["transform", "scaleX", '0.67'],
            ["style", "height", '59.039999008178px'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateY", '15.84px'],
            ["transform", "scaleY", '0.67']
         ],
         "#links": [
            ["transform", "scaleY", '0.67'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateX", '-474.84005px'],
            ["style", "height", '50px'],
            ["transform", "scaleX", '0.67'],
            ["style", "opacity", '0'],
            ["transform", "translateY", '-35px'],
            ["style", "width", '297.29734993089px']
         ],
         "#advertisingmedia": [
            ["transform", "translateX", '-510px'],
            ["color", "color", 'rgba(115,115,115,1.00)'],
            ["style", "opacity", '0'],
            ["style", "width", '309.0842130291px'],
            ["style", "text-align", 'left'],
            ["transform", "scaleX", '0.67'],
            ["style", "height", '60.67343617909px'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateY", '-1.24px'],
            ["transform", "scaleY", '0.67']
         ],
         "#contact": [
            ["transform", "translateX", '-364px'],
            ["transform", "scaleX", '0.67'],
            ["style", "opacity", '0'],
            ["style", "width", '140.47624694218px'],
            ["transform", "scaleY", '0.67'],
            ["style", "height", '50px'],
            ["style", "font-family", 'Georgia, Times New Roman, Times, serif'],
            ["transform", "translateY", '-26px'],
            ["style", "text-align", 'center']
         ],
         "#Image4": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '92px'],
            ["transform", "translateX", '26px']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 4665,
         timeline: [
            { id: "eid65", tween: [ "style", "#creative", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 2425, easing: "linear" },
            { id: "eid147", tween: [ "style", "#creative", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 2665, duration: 1460, easing: "linear" },
            { id: "eid113", tween: [ "transform", "#links", "translateY", '-80px', { valueTemplate: undefined, fromValue: '-35px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid128", tween: [ "style", "#links", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2665, duration: 1460, easing: "linear" },
            { id: "eid139", tween: [ "transform", "#costeffective", "translateY", '-60.48001px', { valueTemplate: undefined, fromValue: '15.84px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid97", tween: [ "style", "#costeffective", "opacity", '1', { valueTemplate: undefined, fromValue: '0.01'}], position: 640, duration: 2025, easing: "linear" },
            { id: "eid148", tween: [ "style", "#costeffective", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 2665, duration: 1460, easing: "easeInSine" },
            { id: "eid127", tween: [ "style", "#work", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid129", tween: [ "style", "#contact", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid140", tween: [ "transform", "#creative", "translateY", '-57.60002px', { valueTemplate: undefined, fromValue: '18.71999px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid189", tween: [ "style", "#Image4", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2665, duration: 2000, easing: "easeInOutSine" },
            { id: "eid107", tween: [ "style", "#advertisingmedia", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 1305, duration: 1360, easing: "linear" },
            { id: "eid149", tween: [ "style", "#advertisingmedia", "opacity", '0', { valueTemplate: undefined, fromValue: '1'}], position: 2665, duration: 1460, easing: "linear" },
            { id: "eid46", tween: [ "style", "#creative", "width", '234.7200012207px', { valueTemplate: undefined, fromValue: '234.7200012207px'}], position: 2425, duration: 0, easing: "linear" },
            { id: "eid194", tween: [ "transform", "#Image4", "translateY", '92px', { valueTemplate: undefined, fromValue: '92px'}], position: 2665, duration: 0, easing: "linear" },
            { id: "eid49", tween: [ "style", "#creative", "font-size", '36.3px', { valueTemplate: undefined, fromValue: '36.3px'}], position: 2425, duration: 0, easing: "linear" },
            { id: "eid116", tween: [ "transform", "#work", "translateY", '-80px', { valueTemplate: undefined, fromValue: '-28px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid117", tween: [ "transform", "#contact", "translateY", '-80px', { valueTemplate: undefined, fromValue: '-26px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid141", tween: [ "transform", "#advertisingmedia", "translateY", '-79.64001px', { valueTemplate: undefined, fromValue: '-1.24px'}], position: 2665, duration: 1460, easing: "easeInOutSine" },
            { id: "eid45", tween: [ "style", "#creative", "height", '56.16000175476px', { valueTemplate: undefined, fromValue: '56.16000175476px'}], position: 2425, duration: 0, easing: "linear" }]
      }
   },
}};

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     $.Edge.initialize(symbols);

     $('#contact').click(function() {
     	window.location = 'http://www.seeworthymedia.com/site/';
     })
     $('#contact').mouseover(function() {
     	$(this).css("color","black");
     }).mouseout(function() {
     	$(this).css("color","#737373");
     });


     $('#work').click(function() {
     	window.location = 'http://www.seeworthymedia.com/site/?page_id=15';
     });
     $('#work').mouseover(function() {
     	$(this).css("color","black");
     }).mouseout(function() {
     	$(this).css("color","#737373");
     });

     $('#links').click(function() {
     	window.location = 'http://www.seeworthymedia.com/site/?page_id=25';
     });
     $('#links').mouseover(function() {
     	$(this).css("color","black");
     }).mouseout(function() {
     	$(this).css("color","#737373");
     });


});

/**
 * Adobe Edge Timeline Launch
 */
$(window).load(function() {
    $.Edge.play();
});

