//---------------------------------------------------------------------------------------------------------
//	DHTML JavaScript (ver 2.3)
//---------------------------------------------------------------------------------------------------------

//----------------------------------//
//  Javascript - Mouseovers		 	//	
//----------------------------------//

//  Wedding article  //

article_10					= new Image();
article_10.src				= "../images/article_covers_wedding_0.jpg";
article_11					= new Image();
article_11.src				= "../images/article_covers_wedding_1.jpg";

//  Coastal 2 article  //

article_20					= new Image();
article_20.src				= "../images/article_covers_coastal_0.jpg";
article_21					= new Image();
article_21.src				= "../images/article_covers_coastal_1.jpg";

//  Accessories 1 article  //

article_30					= new Image();
article_30.src				= "../images/article_covers_acc_1_0.jpg";
article_31					= new Image();
article_31.src				= "../images/article_covers_acc_1_1.jpg";

//  Gifts article  //

article_40					= new Image();
article_40.src				= "../images/article_covers_gifts_0.jpg";
article_41					= new Image();
article_41.src				= "../images/article_covers_gifts_1.jpg";

//  Hampton Jitney article  //

article_50					= new Image();
article_50.src				= "../images/article_covers_hampton_0.jpg";
article_51					= new Image();
article_51.src				= "../images/article_covers_hampton_1.jpg";

//  Accessories 2 article  //

article_60					= new Image();
article_60.src				= "../images/article_covers_acc_2_0.jpg";
article_61					= new Image();
article_61.src				= "../images/article_covers_acc_2_1.jpg";


//  CMO article  //

article_70					= new Image();
article_70.src				= "../images/article_covers_cmo_0.jpg";
article_71					= new Image();
article_71.src				= "../images/article_covers_cmo_1.jpg";

//  Coastal 1 article  //

article_80					= new Image();
article_80.src				= "../images/article_covers_house_0.jpg";
article_81					= new Image();
article_81.src				= "../images/article_covers_house_1.jpg";


//  Modern Bride 1 article  //

article_90					= new Image();
article_90.src				= "../images/article_covers_mb04.05_0.jpg";
article_91					= new Image();
article_91.src				= "../images/article_covers_mb04.05_1.jpg";

//  Martha Stewart Wedding article  //

article_100					= new Image();
article_100.src				= "../images/article_covers_stewart_0.jpg";
article_101					= new Image();
article_101.src				= "../images/article_covers_stewart_1.jpg";

//  JCK Luxury article  //

article_110					= new Image();
article_110.src				= "../images/article_covers_jck_1_0.jpg";
article_111					= new Image();
article_111.src				= "../images/article_covers_jck_1_1.jpg";


//  House Beautiful article  //

article_120					= new Image();
article_120.src				= "../images/article_covers_house_0.jpg";
article_121					= new Image();
article_121.src				= "../images/article_covers_house_1.jpg";

function mOver(what,num)
{
	
	if(num == '1')
	{
		if(document.images)	
		{
			document[what].src	= eval(what + "1.src");
		}
	}

}

function mOut(what,num)
{
	
	if(num == '0')
	{
		if(document.images)	
		{
			document[what].src	= eval(what + "0.src");
		}
	}
}

//-------------------------------------------------------------------------------------------------------
//	Image swap
//-------------------------------------------------------------------------------------------------------
function swapImg(id,img)
{
	if( document.getElementById)
	{
		obj	= document.getElementById(id);
		obj.setAttribute( 'src', img );
	}
}
