/* -------------------------------------------------------------

  	 # Design Download JavaScript Application.		  #
   	 # Author: iBarnett.com (jason@ibarnett.com)	  # 
     # Date: 2/29/2008								  #
     # Version: 1.2									  #

------------------------------------------------------------- */


// -----------------------------------------------------------------------
// Setup the paths to the locations of each image-type.
// ** This will be relative to the file loading this JS application
// 
// :: Options for DOWNLOAD_TARGET,
//		"new"  = A new window, via Popup
// 		"self" = Just load the file in the current window
//		%url%  = Specify a URL and the QueryString will 
//				 be "?download=<filename>", in a new window
// -----------------------------------------------------------------------
	DESIGN_PATH      = "images/designs/";
	COLOR_PATH       = "images/colors/";
	DOWNLOAD_PATH    = "downloads/";
	DOWNLOAD_TARGET  = "self";	// --------------- see options above

	DISCLAIMER_USED   = true;
	DISCLAIMER_IMAGE  = "images/gui/disclaimer.gif";
	DISCLAIMER_WIDTH  = 575;
	DISCLAIMER_HEIGHT = 351;
	DISCLAIMER_AUTO_DOWNLOAD = false;	// ------ Set to false if you want the user to click the image to download the file.
	DISCLAIMER_BUTTON1 = "";	// -------------- leave blank if this is the button to do the download
	DISCLAIMER_BUTTON2 = "http://switch.atdmt.com/action/bmitem_DownloadtheFree60daytrialinsidedltempla_10";	// -------------- leave blank if this is the button to do the download
	
	START_WITH_DESIGN  = false;
	START_IMAGE		   = "images/colors/splash.jpg";
	
// --------------------------------------------------------------------------------------------------------------------
// Setup all the design packages used. The order these are setup, is the the order they'll appear in the application.
//
// :: Design Parameters,
// 	  - 1st, design image name
// 	  - 2nd, design icon image name (for buttons)
//
// :: AddColor Parameters,
// 	  - 1st, color image name
// 	  - 2nd, color icon image name (for buttons)
// 	  - 3rd, download file name
// --------------------------------------------------------------------------------------------------------------------

	d1 = new Design( "d1.jpg", "d1_icon.jpg" );
	d1.addColor( "a1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysGrass_10" );
	d1.addColor( "a2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysPlum_10" );
	d1.addColor( "a3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysOcean_10" );
	d1.addColor( "a4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysWheat_10" );
	d1.addColor( "a5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysAzure_10" );
	d1.addColor( "a6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysSage_10" );
	d1.addColor( "a7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysOlive_10" );
	d1.addColor( "a8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysCocoa_10" );
	d1.addColor( "a9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateRaysRust_10" );

	d2 = new Design( "d2.jpg", "d2_icon.jpg" );
	d2.addColor( "b1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_DownloadtemplateCarbonfibergrass_10" );
	d2.addColor( "b2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberplum_10" );
	d2.addColor( "b3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberocean_10" );
	d2.addColor( "b4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberwheat_10" );
	d2.addColor( "b5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberazure_10" );
	d2.addColor( "b6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfibersage_10" );
	d2.addColor( "b7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberolive_10" );
	d2.addColor( "b8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfibercocoa_10" );
	d2.addColor( "b9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatecarbonfiberrust_10" );

	d3 = new Design( "d3.jpg", "d3_icon.jpg" );
	d3.addColor( "c1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcgrass_10" );
	d3.addColor( "c2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcplum_10" );
	d3.addColor( "c3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcocean_10" );
	d3.addColor( "c4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcwheat_10" );
	d3.addColor( "c5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcazure_10" );
	d3.addColor( "c6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcsage_10" );
	d3.addColor( "c7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcolive_10" );
	d3.addColor( "c8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconccocoa_10" );
	d3.addColor( "c9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplateconcrust_10" );

	d4 = new Design( "d4.jpg", "d4_icon.jpg" );
	d4.addColor( "d1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimgrass_10" );
	d4.addColor( "d2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimplum_10" );
	d4.addColor( "d3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimocean_10" );
	d4.addColor( "d4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimwheat_10" );
	d4.addColor( "d5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimazure_10" );
	d4.addColor( "d6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimsage_10" );
	d4.addColor( "d7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimolive_10" );
	d4.addColor( "d8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimcocoa_10" );
	d4.addColor( "d9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatedenimrust_10" );
	
	d5 = new Design( "d5.jpg", "d5_icon.jpg" );
	d5.addColor( "e1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibrarygrass_10" );
	d5.addColor( "e2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibraryplum_10" );
	d5.addColor( "e3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibraryocean_10" );
	d5.addColor( "e4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibrarywheat_10" );
	d5.addColor( "e5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibraryazure_10" );
	d5.addColor( "e6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibrarysage_10" );
	d5.addColor( "e7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibraryolive_10" );
	d5.addColor( "e8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibrarycocoa_10" );
	d5.addColor( "e9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatelibraryrust_10" );

	d6 = new Design( "d6.jpg", "d6_icon.jpg" );
	d6.addColor( "f1c1.jpg", "c1_grass.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertgrass_10" );
	d6.addColor( "f2c2.jpg", "c2_plum.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertplum_10" );
	d6.addColor( "f3c3.jpg", "c3_ocean.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertocean_10" );
	d6.addColor( "f4c4.jpg", "c4_wheat.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertwheat_10" );
	d6.addColor( "f5c5.jpg", "c5_azure.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertazure_10" );
	d6.addColor( "f6c6.jpg", "c6_sage.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertsage_10" );
	d6.addColor( "f7c7.jpg", "c7_olive.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertolive_10" );
	d6.addColor( "f8c8.jpg", "c8_cocoa.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertcocoa_10" );
	d6.addColor( "f9c9.jpg", "c9_rust.jpg", "http://switch.atdmt.com/action/bmitem_Downloadtemplatevertrust_10" );



// -----------------------------------------------------------------------
// EOF
// -----------------------------------------------------------------------