/* --- Pirates 3 Website HBX Tracking --- */

// HBX Setting functions - Exit Link
function setExitLink(arrayName, exitNum){
	var exitLink = eval(arrayName+"_exitLinkArray");	
	hitbox.Set_hbLink(exitLink[exitNum]);
	// alert(exitLink[exitNum]+"+hello");
	// hitbox.Set_hbLink("Exit_Pirates+2_ORDER_live+action");
	// alert(exitLink[exitNum]);
}
// HBX Setting functions - Exit Link
function setHBX(arrayName, pageNum){
	var pageArray = eval(arrayName+"_pageArray");	
	var contentArray = eval(arrayName+"_contentArray");
	hitbox.Set_hbPageView(pageArray[pageNum], contentArray[pageNum]);
	//alert(pageArray[pageNum]);
	//alert(contentArray[contentNum]);	
}

/* ---  HBX Array's --- */

// Home - Page Array
var home_pageArray    = new Array ();
home_pageArray[0] = "home+page";			// in flash
home_pageArray[1] = "no+flash";			// need to add to html
// Home - Content Array
var home_contentArray    = new Array ();
home_contentArray[0] = "/pirates+3/information/home";
home_contentArray[1] = "/pirates+3/information/no+flash";


// About - Page Array
var about_pageArray    = new Array ();
about_pageArray[0] = "about+main";			// in flash
about_pageArray[1] = "cast+crew+main";		// in flash
about_pageArray[2] = "cast";					// n/a
about_pageArray[3] = "crew";					// N/A
about_pageArray[4] = "synopsis";				// in flash
// About - Content Array
var about_contentArray    = new Array ();
about_contentArray[0] = "/pirates+3/about";			
about_contentArray[1] = "/pirates+3/about";
about_contentArray[2] = "/pirates+3/about/cast";
about_contentArray[3] = "/pirates+3/about/crew";
about_contentArray[4] = "/pirates+3/about/synopsis";


// Interactive Content - Page Array
var iContent_pageArray    = new Array ();
iContent_pageArray[0] = "singapore+streets";			// in flash	
iContent_pageArray[1] = "singapore+streets+tia";	// in flash
iContent_pageArray[2] = "bath+house";					// in flash
iContent_pageArray[3] = "bath+house+maps";			// in flash
iContent_pageArray[4] = "davy+jones+locker";			// in flash
iContent_pageArray[5] = "davy+jones+johnny";			// in flash
iContent_pageArray[6] = "davy+jones+tia";				// in flash
iContent_pageArray[7] = "davy+jones+charts";			// in flash
iContent_pageArray[8] = "download+charts";			// in popups.js
iContent_pageArray[9] = "main+tia";			       // I'm WAiting For My Close Up!
iContent_pageArray[10] = "tortuga+main";			       // in flash
iContent_pageArray[11] = "tortuga+reward";			       // in flash
iContent_pageArray[12] = "cove+main";			           // in flash
iContent_pageArray[13] = "cove+jack";			           // in flash
iContent_pageArray[14] = "cove+pirate+lords";			   // in flash
iContent_pageArray[15] = "court+main";			           // in flash
iContent_pageArray[16] = "court+jack";			           // in flash
iContent_pageArray[17] = "reward+main";			           // in flash
// Home - Content Array
var iContent_contentArray    = new Array ();
iContent_contentArray[0] = "/pirates+3/interactive+content";
iContent_contentArray[1] = "/pirates+3/interactive+content";
iContent_contentArray[2] = "/pirates+3/interactive+content";
iContent_contentArray[3] = "/pirates+3/interactive+content";
iContent_contentArray[4] = "/pirates+3/interactive+content";
iContent_contentArray[5] = "/pirates+3/interactive+content";
iContent_contentArray[6] = "/pirates+3/interactive+content";
iContent_contentArray[7] = "/pirates+3/interactive+content";
iContent_contentArray[8] = "/pirates+3/interactive+content";
iContent_contentArray[9] = "/pirates+3/interactive+content";
iContent_contentArray[10] = "/pirates+3/interactive+content";
iContent_contentArray[11] = "/pirates+3/interactive+content";
iContent_contentArray[12] = "/pirates+3/interactive+content";
iContent_contentArray[13] = "/pirates+3/interactive+content";
iContent_contentArray[14] = "/pirates+3/interactive+content";
iContent_contentArray[15] = "/pirates+3/interactive+content";
iContent_contentArray[16] = "/pirates+3/interactive+content";
iContent_contentArray[17] = "/pirates+3/interactive+content";

// Video - Page Array
var video_pageArray    = new Array ();
video_pageArray[0] = "trailer+main";		// in flash
video_pageArray[1] = "add+to+myspace";		// in popups.js
video_pageArray[2] = "other+options";		// in popups.js
// Video - Content Array
var video_contentArray    = new Array ();
video_contentArray[0] = "/pirates+3/multimedia/trailers";
video_contentArray[1] = "/pirates+3/multimedia/trailers";
video_contentArray[2] = "/pirates+3/multimedia/trailers";


// Video - Exit Link Array
var video_exitLinkArray    = new Array ();
video_exitLinkArray[0]  = "pirates+3_TRAILER_HD+480";			// need to add to html
video_exitLinkArray[1]  = "pirates+3_TRAILER_HD+720";			// need to add to html
video_exitLinkArray[2]  = "pirates+3_TRAILER_HD+1080";		// need to add to html
video_exitLinkArray[3]  = "pirates+3_TRAILER_Ipod";			// need to add to html
video_exitLinkArray[4]  = "pirates+3_TRAILER_PSP";				// need to add to html
video_exitLinkArray[5]  = "pirates+3_TRAILER_real+low";		// need to add to html
video_exitLinkArray[6]  = "pirates+3_TRAILER_real+medium";	// need to add to html
video_exitLinkArray[7]  = "pirates+3_TRAILER_real+hi";		// need to add to html
video_exitLinkArray[8]  = "pirates+3_TRAILER_WM+low";			// need to add to html
video_exitLinkArray[9]  = "pirates+3_TRAILER_WM+med";			// need to add to html
video_exitLinkArray[10] = "pirates+3_TRAILER_WM+high";		// need to add to html
video_exitLinkArray[11] = "pirates+3_TRAILER_QT+low";			// need to add to html
video_exitLinkArray[12] = "pirates+3_TRAILER_QT+med";			// need to add to html
video_exitLinkArray[13] = "pirates+3_TRAILER_QT+hi";			// need to add to html
video_exitLinkArray[14] = "pirates+3_TRAILER_QT+ultra";		// need to add to html


// Gallery - Page Array
var gallery_pageArray    = new Array ();
gallery_pageArray[0] = "photos+main";			// in flash
gallery_pageArray[1] = "behind+the+scenes";	// in flash
gallery_pageArray[2] = "production+stills";	// in flash
gallery_pageArray[3] = "concept+art";			// in flash
// Gallery - Content Array
var gallery_contentArray    = new Array ();
gallery_contentArray[0] = "/pirates+3/multimedia/photo+galleries";
gallery_contentArray[1] = "/pirates+3/multimedia/photo+galleries";
gallery_contentArray[2] = "/pirates+3/multimedia/photo+galleries";
gallery_contentArray[3] = "/pirates+3/multimedia/photo+galleries";


// Downloads - Page Array
var downloads_pageArray     = new Array ();
downloads_pageArray[0]  = "downloads+main";		// in flash
downloads_pageArray[1]  = "screensavers";			// n/a
downloads_pageArray[2]  = "posters";				// in popups.js
downloads_pageArray[3]  = "icons+main";			// n/a
downloads_pageArray[4]  = "icon1";					// in popups.js		
downloads_pageArray[5]  = "icon2";					// in popups.js
downloads_pageArray[6]  = "icon3";					// in popups.js
downloads_pageArray[7]  = "icon4";					// in popups.js
downloads_pageArray[8]  = "icon5";					// in popups.js
downloads_pageArray[9]  = "wallpapers+main";		// n/a
downloads_pageArray[10] = "wp1";						// in popups.js
downloads_pageArray[11] = "wp2";						// in popups.js
downloads_pageArray[12] = "wp3";						// in popups.js
downloads_pageArray[13] = "wp4";						// in popups.js
downloads_pageArray[14] = "wp5";						// in popups.js
downloads_pageArray[15] = "wp6";						// in popups.js
downloads_pageArray[16]  = "icon6";					// in popups.js
downloads_pageArray[17]  = "screensavers+win";			// in popups.js
downloads_pageArray[18]  = "screensavers+mac";			// in popups.js
// Downloads - Content Array
var downloads_contentArray     = new Array ();
downloads_contentArray[0]  = "/pirates+3/downloads";
downloads_contentArray[1]  = "/pirates+3/downloads/screensavers";
downloads_contentArray[2]  = "/pirates+3/downloads/posters";
downloads_contentArray[3]  = "/pirates+3/downloads/icons";
downloads_contentArray[4]  = "/pirates+3/downloads/icons";
downloads_contentArray[5]  = "/pirates+3/downloads/icons";
downloads_contentArray[6]  = "/pirates+3/downloads/icons";
downloads_contentArray[7]  = "/pirates+3/downloads/icons";
downloads_contentArray[8]  = "/pirates+3/downloads/icons";
downloads_contentArray[9]  = "/pirates+3/downloads/wallpapers";
downloads_contentArray[10] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[11] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[12] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[13] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[14] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[15] = "/pirates+3/downloads/wallpapers";
downloads_contentArray[16] = "/pirates+3/downloads/icons";
downloads_contentArray[17]  = "/pirates+3/downloads/screensavers";
downloads_contentArray[18]  = "/pirates+3/downloads/screensavers";

// Partners - Page Array
var partners_pageArray     = new Array ();
partners_pageArray[0]  = "partners+main";		// in flash

// Partners - Content Array
var partners_contentArray     = new Array ();
partners_contentArray[0]  = "/pirates+3/partners";