// JavaScript Document
			
// JAVASCRIPT VARS
// cache buster
var cacheBuster = "?t=" + Date.parse(new Date());
// stage dimensions		
var stageW = "499";//"100%";
var stageH = "250";//"100%";


// ATTRIBUTES
var attributes = {};
attributes.id = 'FlabellComponent'; // NOTE: Required div name for the swf obj
attributes.name = 'FlabellComponent';

// PARAMS
var params = {};
params.bgcolor = "#ffffff";
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 = "";

// path to content XML
flashvars.xmlPath = "http://www.anekasari.com/banner.xml.php";


/** EMBED THE SWF**/
//swfobject.embedSWF("lib/banner.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params, attributes);
swfobject.embedSWF("lib/banner.swf", attributes.id, stageW, stageH, "9.0.124", "lib/expressInstall.swf", flashvars, params, attributes, function(evLoaded) {
	var x = document.getElementById('divImgLoading');
	if (x) x.style.display = 'none';
});
