var textflasherdir = "/cip/etc/textflasher/";

var flashvars = {
     // background image
     backgroundImage: textflasherdir+"background.jpg",

     // text box placement
     textCenterX: 185/2,
     textCenterY: 52,
     textWidth: 160, //determines line wrapping

     // drop shadow control
     dropShadowDistance: 2,
     dropShadowAngle: 45, // 0 - 360
     dropShadowAlpha: 1.0, // 0.0 - 1.0
     dropShadowBlurX: 2,
     dropShadowBlurY: 2,
     dropShadowColor: 0x000000, // 0xRRGGBB
     
     // timing in deciseconds
     totalDuration: 70,
     fadeOutDuration: 10, // must not exceed totalDuration/2
     fadeInDuration: 10, // must not exceed totalDuration/2
     
     // blur control
     blurFadeInXAmount: 0, //percent
     blurFadeInYAmount: 0, //percent
     blurFadeOutXAmount: 100, //percent
     blurFadeOutYAmount: 0, //percent
     
     // stylesheet for text
     // this is not all of CSS, it's only css properties that flash supports.
     // http://flash-reference.icod.de/TextField/StyleSheet.html
     textCss: "html{color:#ffc926;font-size:20px;font-family:Futura;leading:-3;text-align:center;} h1{font-size:15px;}",
     
     // use this only if the font referred to in the css is embedded in the flash file
     textEmbedFonts: true,
     
     // text strings. add as many as you need
     // this is not all html tags, it's only tags supported by a flash text field.
     // http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001459.html
     slide0: "Mythili Prakash<br><h1>from India</h1>",
     slide1: "Gamelan Çudamani<br><h1>from Bali</h1>",
     
     
     // static text (for headers and footers and things) add as many as you need
     // in this example, the embedded fonts is set to true, and "Futura" font was imported to the library in flash.
     // how to import fonts into library: open the fla file and choose "new font" from library's menu. import the font.
     // right-click the item afterwards and select "Linkage" to give it an identifier name. Use the identifier name in the CSS.
     static0: "CURRENTLY ON TOUR",
     staticX0: -1,
     staticY0: 0,
     staticWidth0: 185,
     staticHeight0: 30,
     staticCss0: "html {color: #000000; font-family: Futura; font-size: 16px; text-spacing: 20; text-align: center}",
     staticEmbedFonts0: true,
     
};

//various player properties
var params = {
    menu: "false",
    play: "true",
    bgcolor: "#FFFFFF",
    AllowScriptAccess: "always",
};

//tell swfobject to replace the div with the flash embed
swfobject.embedSWF(
      textflasherdir+"textflasher.swf", //flash file to embed
      "textflasher", //div ID
      "185", //width
      "94", //height
      "8.0.0", //player version
      "etc/expressInstall.swf",flashvars,params); //stuff
