﻿function showRotator() {
    // JAVASCRIPT VARS
    // cache buster
    var cacheBuster = "?t=" + Date.parse(new Date());
    // stage dimensions		
    var stageW = "960"; //"100%";
    var stageH = "265"; //"100%";


    // ATTRIBUTES
    var attributes = {};
    attributes.id = 'divMasthead';
    attributes.name = 'divMasthead';

    // PARAMS
    var params = {};
    params.bgcolor = "#000000";
    params.menu = "false";
    params.scale = 'noScale';
    params.wmode = "opaque";
    params.allowfullscreen = "true";
    params.allowScriptAccess = "always";


    /* FLASH VARS */
    var flashvars = {};

    /// if commented / delete these lines, the component will take the stage dimensions defined 
    /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    flashvars.componentWidth = stageW;
    flashvars.componentHeight = stageH;

    /// path to the content folder(where the xml files, images or video are nested)
    /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")			
    flashvars.pathToFiles = "http://www.themixshow.com/flash/banner/";

    // path to content XML
    flashvars.xmlPath = "http://www.themixshow.com/flash/banner/xml/banner.xml";


    /** EMBED THE SWF**/
    swfobject.embedSWF("http://www.themixshow.com/flash/rotator.swf" + cacheBuster, attributes.id, stageW, stageH, "9.0.124", "http://www.themixshow.com/flash/js/expressInstall.swf", flashvars, params, attributes);
}

function showRecords() {
    // JAVASCRIPT VARS
    // cache buster
    var cacheBuster = "?t=" + Date.parse(new Date());
    // stage dimensions		
    var stageW = "798"; //"100%";
    var stageH = "220"; //"100%";


    // ATTRIBUTES
    var attributes = {};
    attributes.id = 'divGenrenav';
    attributes.name = 'divGenrenav';

    // PARAMS
    var params = {};
    params.bgcolor = "#000000";
    params.menu = "false";
    params.scale = '';
    params.wmode = "opaque";
    params.allowfullscreen = "true";
    params.allowScriptAccess = "always";


    /* FLASH VARS */
    var flashvars = {};

    /// if commented / delete these lines, the component will take the stage dimensions defined 
    /// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    flashvars.componentWidth = stageW;
    flashvars.componentHeight = stageH;

    /// path to the content folder(where the xml files, images or video are nested)
    /// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")			
    flashvars.pathToFiles = "http://www.themixshow.com/flash/banner/";

    // path to content XML
    flashvars.xmlPath = "http://www.themixshow.com/flash/banner/xml/banner.xml";

    /** EMBED THE SWF**/


    swfobject.embedSWF("http://www.themixshow.com/flash/genre-nav.swf" + cacheBuster, attributes.id, stageW, stageH, "9.0.124", "http://www.themixshow.com/flash/js/expressInstall.swf", flashvars, params, attributes);


}
