/* ***    Harry Potter Config File    *** */
// ------------------------------------+
//    MAIN FLASHVARS OBJECT            |
// ------------------------------------+
//	These are the FlashVars for the main swf:
this.SWF_VARS = {};
// Sponsor
this.SWF_VARS.sponsor_url = ""; // Lnk to a swf file with the sponsor logo in it must be 254x84)
this.SWF_VARS.sponsor_click = ""; // Sponsor's URL. It will be opened in a new Browser window
// Assets and XML
this.SWF_VARS.theXML_location = "http://movies.aol.com/publisherfetcher.adp?id=exclusive_the_last_kiss";
this.SWF_VARS.the_nav = "";
this.SWF_VARS.cssLocation = "";
// E-Mail / IM
this.SWF_VARS.im_message = "Check out Zach Braff, Jacinda Barrett and Rachel Bilson in the exclusive trailer for The Last Kiss on Moviefone.com at"; 
this.SWF_VARS.im_url = "http://movies.aol.com/movie-trailer-clip/the-last-kiss-zach-braff";
this.SWF_VARS.email_subject = "A friend wants you to see the Last Kiss trailer on Moviefone.com";
this.SWF_VARS.email_message = "Check out Zach Braff, Jacinda Barrett and Rachel Bilson in the exclusive trailer for The Last Kiss on Moviefone.com at";
this.SWF_VARS.email_url = "http://movies.aol.com/movie-trailer-clip/the-last-kiss-zach-braff";
// DL
this.SWF_VARS.dl_xml_location = "http://movies.aol.com/publisherfetcher.adp?id=exclusive_dl";
this.SWF_VARS.dl_w = 320;
this.SWF_VARS.dl_h = 90;
//
//	These is passing the url query string to the main swf as flashvars:
if(window.location.search != null && window.location.search.length)
{
	var searchString = window.location.search.substring(1);
	var searchList = searchString.split("&");
	for(var i = 0; i < searchList.length; i++){
		var temp = searchList[i].split("=");
		this.SWF_VARS[temp[0]] = temp[1];
	}
}
// ------------------------------------+
//   BUILD FLASH MOVIE                 |
// ------------------------------------+
this.SWF_LOCATION = "http://cdn.digitalcity.com/mf_exclusive/exclusive_8.swf";
this.SWF_NAME = "mediabrowse";
this.SWF_WIDTH = 756;
this.SWF_HEIGHT = 535;

this.SWF_VERSION = "7,0,0,0";
this.SWF_BGCOLOR = "white";
//
this.SWF_Factory.makeSWF(this.SWF_VERSION, this.SWF_WIDTH, this.SWF_HEIGHT, this.SWF_NAME, this.SWF_LOCATION, this.SWF_BGCOLOR, this.SWF_VARS, null);
//