/* ***    Harry Potter Config File    *** */
// ------------------------------------+
//  CUSTOM FUNCTION                    |
// ------------------------------------+
this.URL1="http://mp.aol.com/_dl_main.adp?stream=http://pdl.stream.aol.com/aol/us/moviefone/movies/2005/marieantoinette_023756/marieantoinette_trlr_01_fhywet_dl.mov&mediatype=video&size=large&_AOLFORM=w320.h315.p7.R1";
//
function openURL (urlId){
    var theUrl = this["URL"+urlId];
    var features = "toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes";
    poppup = window.open(theUrl, "newWindow", features);
    poppup.focus();
};
// ------------------------------------+
//    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_return_trailer";
this.SWF_VARS.the_nav = "";
this.SWF_VARS.cssLocation = "";
// E-Mail / IM
this.SWF_VARS.im_message = "Check out the exclusive trailer for The Return on Moviefone.com at"; 
this.SWF_VARS.im_url = "http://movies.aol.com/movie-trailer-clip/the-return-sarah-michelle-gellar";
this.SWF_VARS.email_subject = "A Friend Wants You to See the exclusive trailer for The Return on Moviefone.com";
this.SWF_VARS.email_message = "Check out the exclusive trailer for The Return starring Sarah Michelle Gellar on Moviefone.com at";
this.SWF_VARS.email_url = "http://movies.aol.com/movie-trailer-clip/the-return-sarah-michelle-gellar";
// 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);
//