// JavaScript Document



// JAVASCRIPT VARS

// cache buster

var cacheBuster = "?t=" + Date.parse(new Date());

// stage dimensions		

var stageW = "970";//"100%";

var stageH = "345";//"100%";





// ATTRIBUTES

var attributes = {};

attributes.id = 'swf1-header';

attributes.name = 'swf1-header';



// PARAMS

var params = {};

params.bgcolor = "#FFF";

/*params.menu = "false";*/

params.scale = 'noScale';

params.wmode = "transparent";

/*params.allowfullscreen = "true";*/

params.allowScriptAccess = "always";



/* FLASH VARS */

var flashvars = {/** start */

				 //clickTag1: "clientreg/entergame.php",

				 //clickTag1: "?do=start",

				 clickTag1: "http://login2.canaan.web.id/" // javascript:enterGame()

				 /** panduan */

				 , clickTag71: "http://prodigy.co.id/register.php" // register

				 , clickTag72: "http://prodigy.co.id/login.php" // login

				 , clickTag81: "http://www.canaan.web.id/index2.php?page=voucher#news-index" // isi spellstone

				 , clickTag82: "http://www.canaan.web.id/komunitas/wallpaper" // download

				 };



/// 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("")



/** EMBED THE SWF**/

swfobject.embedSWF("http://www.canaan.web.id/swf/swf-header.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.0", "http://www.canaan.web.id/swf/expressInstall.swf", flashvars, params, attributes);
