function ShowMorePhotos()
{
	var item = document.getElementById("main_more_photo_link");
	if (item)
	{
		item.className="main_more_photo_dis";
	}
	
	item = document.getElementById("main_more_photo");
	if (item)
	{
		item.className="main_more_photo";
	}
}
function ChangeMainPhoto(photo_num)
{
	var first_photo = document.getElementById("large_photo1");
	var second_photo = document.getElementById("large_photo2");
	var third_photo = document.getElementById("large_photo3");
	var small_first_photo = document.getElementById("small_photo1");
	var small_second_photo = document.getElementById("small_photo2");
	var small_third_photo = document.getElementById("small_photo3");
	if (photo_num == 1)
	{
		if (first_photo)
		{
			first_photo.className="main_photo_selected";
		}
		if (second_photo)
		{
			second_photo.className="main_photo_unselected";
		}
		if (third_photo)
		{
			third_photo.className="main_photo_unselected";
		}
		if (small_first_photo)
		{
			small_first_photo.className="main_s_photo_selected";
		}
		if (small_second_photo)
		{
			small_second_photo.className="main_s_photo_unselected";
		}
		if (small_third_photo)
		{
			small_third_photo.className="main_s_photo_unselected";
		}
	}
	else
	if (photo_num == 2)
	{
		if (first_photo)
		{
			first_photo.className="main_photo_unselected";
		}
		if (second_photo)
		{
			second_photo.className="main_photo_selected";
		}
		if (third_photo)
		{
			third_photo.className="main_photo_unselected";
		}
		if (small_first_photo)
		{
			small_first_photo.className="main_s_photo_unselected";
		}
		if (small_second_photo)
		{
			small_second_photo.className="main_s_photo_selected";
		}
		if (small_third_photo)
		{
			small_third_photo.className="main_s_photo_unselected";
		}
	}
	else
	{
		if (first_photo)
		{
			first_photo.className="main_photo_unselected";
		}
		if (second_photo)
		{
	    		second_photo.className="main_photo_unselected";
		}
		if (third_photo)
		{
			third_photo.className="main_photo_selected";
		}
		if (small_first_photo)
		{
			small_first_photo.className="main_s_photo_unselected";
		}
		if (small_second_photo)
		{
			small_second_photo.className="main_s_photo_unselected";
		}
		if (small_third_photo)
		{
			small_third_photo.className="main_s_photo_selected";
		}
	}
}

