function onSlideShowProReady() {
  //$('.main-wrapper').css('background-image','none')
}

// Permalinks option
//function flashPutHref(href) { location.href = href; }

// SWFObject embed

var flashvars = {
  useExternalInterface: "false",
  navButtonStyle: "Default", /* Default, Quartz Large, Quartz Small, Pearl Large or Pearl Small */
  albumBackgroundAlpha: "1", /* 1 */
  albumBackgroundColor: "0xffffff", /* 0x303030 */
  albumDescColor: "0xCCCCCC", /* 0xCCCCCC */
  albumDescSize: "9", /* 9 */
  albumPadding: "4", /* 8 */
  albumPreviewScale: "Crop to Fit", /* Proportional, Crop to Fit */
  albumPreviewSize: "350,135", /* 54,41 */
  albumPreviewStrokeColor: "0xFFFFFF", /* 0xFFFFFF */
  albumPreviewStrokeWeight: "1", /* 1 */
  albumPreviewStyle: "Banner", /* Inline Left */
  albumRolloverColor: "0xcccccc", /* 0x262626 */
  albumStrokeAppearance: "Visible", /* Visible */
  albumStrokeColor: "0x141414", /* 0x141414 */
  albumTitleColor: "0x464646", /* 0xFFFFFF */
  albumTitleSize: "10", /* 10 */
  audioAutoStart: "On", /* On */
  audioLoop: "Off", /* Off */
  audioPause: "Off", /* Off */
  audioVolume: ".8", /* .8 */
  autoFinishMode: "Switch", /* Switch, Stop, Restart */
  cacheContent: "None", /* None */
  captionAppearance: "Overlay on Rollover (if Available)", /* Overlay on Rollover (if Available) , Fixed (if Available) */
  captionBackgroundAlpha: ".75", /* .75 */
  captionBackgroundColor: "0x000000", /* 0x000000 */
  captionHeaderBackgroundAlpha: ".75"     , /* ".75"      */
  captionElements: "Header and Caption", /* Header and Caption */
  captionHeaderText: "{imageTitle}", /* {imageTitle} */
  captionPadding: "5,5,5,5", /* 5,5,5,5 */
  captionPosition: "Bottom", /* Top */
  captionTextAlignment: "Left", /* Left */
  captionTextColor: "0xEEEEEE", /* 0xEEEEEE */
  captionTextSize: "9", /* 9 */
  contentAlign: "Center", /* Center */
  contentAreaAction: "Event", /* Launch Hyperlink "Event", "Toggle Display Mode", "Toggle Full Screen" and "Open Gallery" */
  contentAreaBackgroundAlpha: "1", /* 1 */
  contentAreaBackgroundColor: "0xebe7de", /* 0x303030 */
  contentAreaInteractivity: "Action Area and Navigation", /* Action Area Only, Action Area and Navigation */
  contentAreaStrokeAppearance: "Hidden", /* Visible */
  contentAreaStrokeColor: "0x262626", /* 0x262626 */
  contentFrameAlpha: "1", /* 1 */
  contentFrameColor: "0x262626", /* 0x262626 */
  contentFramePadding: "0", /* 0 */
  contentFrameStrokeAppearance: "Hidden", /* Hidden */
  contentFrameStrokeColor: "0x333333", /* 0x333333 */
  contentOrder: "Sequential", /* Sequential */
  contentScale: "Crop to Fit All", /* Downscale Only */
  contentScalePercent: "1", /* 1 */
  directorLargePublishing: "On", /* On */
  directorLargeQuality: "80", /* 80 */
  directorLargeSharpening: "1", /* 1 */
  directorThumbQuality: "60", /* 60 */
  directorThumbSharpening: "1", /* 1 */
  displayMode: "Auto", /* Auto */
  feedbackBackgroundAlpha: ".3", /* .3 */
  feedbackBackgroundColor: "0x000000", /* 0x000000 */
  feedbackHighlightAlpha: ".8", /* .8 */
  feedbackHighlightColor: "0xFFFFFF", /* 0xFFFFFF */
  feedbackPreloaderAlign: "Center", /* Center */
  feedbackPreloaderAppearance: "Beam", /* Beam, "Hidden", "Bar", "Line", "Pie", "Pie Spinner", and "Spinner" */
  feedbackPreloaderPosition: "Inside Content Area", /* Inside Content Area */
  feedbackPreloaderScale: "1", /* 1 */
  feedbackPreloaderTextSize: "12", /* 12 */
  feedbackTimerAlign: "Top Right", /* Top Right */
  feedbackTimerAppearance: "Visible", /* Visible */
  feedbackTimerPosition: "Inside Content Area", /* Inside Content Area */
  feedbackTimerScale: "1" , /* "1"  */
  feedbackVideoButtonScale: "1", /* 1 */
  fullScreenReformat: "On", /* On */
  fullScreenTakeOver: "On", /* On */
  galleryAppearance: "Hidden", /* Visible */
  galleryBackgroundAlpha: "1", /* 1 */
  galleryBackgroundColor: "0xffffff", /* 0x1C1C1C */
  galleryColumns: "2", /* 2 */
  galleryOrder: "Left to Right", /* Left to Right */
  galleryPadding: "10", /* 10 */
  galleryRows: "4", /* 4 */
  galleryNavActiveColor: "0x303030", /* 0x303030 */
  galleryNavAppearance: "Hidden", /* Visible */
  galleryNavInactiveColor: "0x000000", /* 0x000000 */
  galleryNavRolloverColor: "0x262626", /* 0x262626 */
  galleryNavStrokeAppearance: "Visible", /* Visible */
  galleryNavStrokeColor: "0x141414", /* 0x141414 */
  galleryNavTextColor: "0xCCCCCC", /* 0xCCCCCC */
  galleryNavTextSize: "9", /* 9 */
  keyboardControl: "On", /* On */
  mediaPlayerAppearance: "Visible on Rollover", /* Visible on Rollover */
  mediaPlayerBackgroundAlpha: ".25", /* .25 */
  mediaPlayerBackgroundColor: "0x000000", /* 0x000000 */
  mediaPlayerBufferColor: "0x000000", /* 0x000000 */
  mediaPlayerButtonColor: "0xFFFFFF", /* 0xFFFFFF */
  mediaPlayerButtonShadowAlpha: ".6", /* .6 */
  mediaPlayerElapsedBackgroundColor: "0xFFFFFF", /* 0xFFFFFF */
  mediaPlayerElapsedTextColor: "0x000000", /* 0x000000 */
  mediaPlayerPosition: "Bottom", /* Bottom */
  mediaPlayerProgressColor: "0xCCCCCC", /* 0xCCCCCC */
  mediaPlayerScale: ".8", /* .8 */
  mediaPlayerTextColor: "0x999999", /* 0x999999 */
  mediaPlayerTextSize: "9", /* 9 */
  mediaPlayerVolumeBackgroundColor: "0x000000", /* 0x000000 */
  mediaPlayerVolumeHighlightColor: "0xCCCCCC", /* 0xCCCCCC */
  navAppearance: "Visible on Rollover", /* Always Visible, Hidden When Gallery Open */
  navBackgroundAlpha: "1", /* 1 */
  navBackgroundColor: "0xebe7de"     , /* "0x121212"      */
  navButtonColor: "0x000000", /* 0xEEEEEE */
  navButtonInactiveAlpha: "1", /* .4 */
  navButtonsAppearance: "All Visible", /* All Visible */
  navButtonShadowAlpha: ".6", /* .6 */
  navGradientAlpha: ".3", /* .3 */
  navGradientAppearance: "Smooth Glass", /* Glass Dark */
  navLinkAppearance: "Thumbnails", /* Thumbnails */
  navLinkCurrentColor: "0xEEEEEE", /* 0xEEEEEE */
  navLinkPreviewAppearance: "Visible", /* Visible */
  navLinkPreviewBackgroundAlpha: "1", /* 1 */
  navLinkPreviewBackgroundColor: "0xFFFFFF", /* 0xFFFFFF */
  navLinkPreviewScale: "Proportional", /* Proportional */
  navLinkPreviewSize: "160,120", /* 80,60 */
  navLinkPreviewStrokeWeight: "1", /* 1 */
  navLinkRolloverColor: "0xFFFFFF", /* 0xFFFFFF */
  navLinksBackgroundAlpha: "1", /* 1 */
  navLinksBackgroundColor: "0xebe7de", /* 0x000000 */
  navLinkSpacing: "10", /* 10 */
  navNumberLinkColor: "0x999999", /* 0x999999 */
  navNumberLinkSize: "9", /* 9 */
  navPosition: "Bottom", /* Bottom */
  navThumbLinkBackgroundColor: "0x666666", /* 0x666666 */
  navThumbLinkInactiveAlpha: "1", /* 1 */
  navThumbLinkShadowAlpha: ".6", /* .6 */
  navThumbLinkSize: "40,40", /* 20,20 */
  navThumbLinkStrokeWeight: "1", /* 1 */
  panZoom: "On", /* Off */
  panZoomDirection: "Random", /* Random */
  panZoomFinish: "Off", /* Off */
  panZoomScale: "1,1.2", /* 1,1.2 */
  permalinks: "On", /* Off */
  smoothing: "On", /* On */
  startup: "Load Album", /* Load Album, Open Gallery, Load Album Then Wait */
  textStrings: "Previous Screen,Next Screen,Screen,of,No caption,No title,Playing,Paused,Click play to start audio"           , /* "Previous Screen,Next Screen,Screen,of,No caption,No title,Playing,Paused,Click play to start audio"            */
  toolAppearanceContentArea: "Hidden", /* Hidden */
  toolAppearanceNav: "Visible", /* Visible */
  toolColor: "0x222222", /* 0x222222 */
  toolDelayContentArea: "0", /* 0 */
  toolDelayNav: ".5", /* .5 */
  toolLabels: "Gallery,Previous Group,Previous,Next,Next Group,Pause,Play,Full Screen,Normal Screen,Open Link", /* Gallery,Previous Group,Previous,Next,Next Group,Pause,Play,Full Screen,Normal Screen,Open Link */
  toolTimeoutContentArea: "0", /* 0 */
  transitionLength: "2", /* 2 */
  transitionPause: "4", /* 4 */
  transitionDirection: "Right to Left", /* Left to Right */
  transitionStyle: "Cross Fade", /* Cross Fade, None, Blur, Cross Fade, Fade to Background, Dissolve, Drop Lens, Photo Flash, Push, Wipe, Wipe Fade, Wipe to Background and Wipe and Fade to Background */
  typeface: "Lucida Grande,Lucida Sans Unicode,Verdana,Arial,_sans", /* Lucida Grande,Lucida Sans Unicode,Verdana,Arial,_sans */
  typefaceEmbed: "Off", /* Off */
  videoAutoStart: "Off", /* Off */
  videoBufferTime: "5", /* 5 */
  xmlFilePath: "http://miravidasoho.com/ssp_director/images.php?album=" + albumNumber, /* images.xml */
  xmlFileType: "Director" /* Default */
}

var params = { 
  base: ".",
  bgcolor: "#ebe7de",
  allowfullscreen: "true",
  wmode: "transparent"
}                
var attributes = {id: "gallery", name: "gallery"}

