// ------------------------------------+
//    MAIN FLASHVARS OBJECT            |
// ------------------------------------+
//	These are the FlashVars for the main swf:
this.SWF_VARS = {
	// Sponsor assets and URL
	sponsor_url:"http://cdn.digitalcity.com/smallbusiness_startup2/sponsor_new.swf", // NOTE: Must be 300 x 90
	sponsor_click:"http://ad.doubleclick.net/clk;22288112;11998476;o?http://openisms.savvislive.com/online",
	// Tab URL's
	tab1_url:"http://smallbusiness.aol.com/thestartup/year2/photo/tab1_icspots.html",
	tab2_url:"http://smallbusiness.aol.com/thestartup/year2/photo/tab2_graceedwards.html",
	tab3_url:"http://smallbusiness.aol.com/thestartup/year2/photo/tab3_misscelie.html",
	tab4_url:"http://smallbusiness.aol.com/thestartup/year2/photo/tab4_yearone.html",
	defaultTab:"1", 
	defaultItem:""
};
//
// ------------------------------------+
//    PAGE TRACKING    | 						
// ------------------------------------+	
// 			// NOTE: 	Uncomment this sections to Use Ad Refresh and Impression tracking
//						Remember the correspondent JS files must be included before this config file.
// Impresion URLs
//
//this.SWF_VARS.sponsor_imp_1 = "";
//this.SWF_VARS.sponsor_imp_2 = "";
//this.SWF_VARS.sponsor_imp_3 = "";
//
// ------------------------------------------------------+
//	GET QUERY STRING VARIABLES AND PASS THEM FO FLASH    |
// ------------------------------------------------------+
if(window.location.search != null && window.location.search.length)
{
	var searchString = window.location.search.substring(1);
		searchString = searchString.replace(/%26/g, "&");
	var searchList = searchString.split("&");
	for(var i = 0; i < searchList.length; i++){
		var temp = searchList[i].split("=");
		this.SWF_VARS[temp[0]] = temp[1];
	}
}
// ------------------------------------+
//   DEEP LINKING                      |
// ------------------------------------+
// UNCOMMENT THE FOLLOWING SECTION IF THIS IS A TAB EXPERIENCE
// AND YOU ARE ARE ALSO CONFIGURING THE TAB NAVIGATION
window.onload = function() {
	var defaultItem = this.SWF_VARS.defaultItem.length? "?defaultItem="+this.SWF_VARS.defaultItem : "";
	var defaultPage = (this.SWF_VARS["tab"+ this.SWF_VARS.defaultTab+"_url"])+ defaultItem;
	var frm = document.getElementById("mbFrame");
	frm.src = defaultPage;
}
// ------------------------------------+
//   BUILD FLASH MOVIE                 |
// ------------------------------------+
this.SWF_LOCATION = "http://cdn.digitalcity.com/smallbusiness_startup2/startup2_tabs_new_phase3.swf";
this.SWF_NAME = "startUp2_tabs";
this.SWF_WIDTH = 756;
this.SWF_HEIGHT = 110;
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);
//