//============= ????? (???? : 2006-01-05) by HR===============

//num : ????? ??? ??
//overall_num : ? ??? ?
//img_id : ???? ???? id



var tmp_num

function ch_img (num, overall_num)

{

	for ( tmp_num=1 ; tmp_num <= overall_num ; tmp_num++)

	{

		if ( tmp_num == num)

		{

			eval("phone_img.src='../images/product/img_design_0"+tmp_num+".gif';");

			eval("sphoto_"+tmp_num+".style.filter='alpha(opacity:100)'");

		}

		else

		{

			eval("sphoto_"+tmp_num+".style.filter='alpha(opacity:20)'");

		}

		}

}







//============= ??? ???? music zone ?????? (???? : 2006-01-06) by HR===============

//list_on : ??? ??? ??



function ch_zone (list_on, list_off)

{

	eval(list_on+"_list.style.display=''");

	eval(list_on+"_bn.style.background='#545454'");



	eval(list_off+"_list.style.display='none'");

	eval(list_off+"_bn.style.background='#747474'");

}





function ch_zone2 (list_on, list_off)

{

	eval(list_on+"_list.style.display=''");

	eval(list_on+"_arrow.style.display=''");

	eval(list_on+"_bn.style.background='#5A4320'");



	eval(list_off+"_list.style.display='none'");

	eval(list_off+"_arrow.style.display='none'");

	eval(list_off+"_bn.style.background='#86704D'");

}



function ch_zone3 (list_on, list_off)

{
	eval(list_on+"_list.style.display=''");

	eval(list_on+"_bn.style.background='#5A4320'");



	eval(list_off+"_list.style.display='none'");

	eval(list_off+"_bn.style.background='#86704D'");

}





//============= ??? product - Features ??? ????? ? BG ??? (???? : 2006-01-19) by HR===============



var tmp_num2;

function sel_img (sel_num)

{

	for ( tmp_num2 = 1 ; eval("document.all.bg_"+tmp_num2) ; tmp_num2++ )

	{

		if ( tmp_num2 == sel_num )

		{

			eval("bg_"+tmp_num2+".className='bg_feature_on'");

		}

		else

		{

			eval("bg_"+tmp_num2+".className='bg_feature_off'");

		}

	}

}



function play_3d()

{

	document.all.bn_3d_on.style.display="none";

	document.all.bn_3d_off.style.display="";

}



function stop_3d()

{

	document.all.bn_3d_on.style.display="";

	document.all.bn_3d_off.style.display="none";

}







//============= ??? showcase ??? mouseover border color ??? (???? : 2006-01-19) by HR===============



var tmp_num3;

function ch_border(sel_num)

{

	for ( tmp_num3 = 1 ; eval("document.all.show_"+tmp_num3) ; tmp_num3++ )

	{

		if ( tmp_num3 == sel_num )

		{

			eval("show_"+tmp_num3+".style.border='1px solid #ff8400'");

		}

		else

		{

			eval("show_"+tmp_num3+".style.border='1px solid #575757'");

		}

	}

}





//============= tab on/off - con on/off (???? : 2006-02-06) by HR===============



var tmp_num4;



function tab_on(overall_num, sel_num)

{

	for ( tmp_num4=1 ; tmp_num4<=6 ; tmp_num4++ )

	{

		if (tmp_num4 == sel_num)

		{

			eval("tab_"+tmp_num4+".src='http://devli.uk.samsungmobile.com/images/newsevent/tab_04_0"+tmp_num4+"_on.gif'");

			eval("con_"+tmp_num4+".style.display=''");

		}

		else

		{

			eval("tab_"+tmp_num4+".src='http://devli.uk.samsungmobile.com/images/newsevent/tab_04_0"+tmp_num4+"_off.gif'");

			eval("con_"+tmp_num4+".style.display='none'");

		}

	}

}

// ============= window.confirm (: 2006-02-07 ) by Jong-Bok,Park===================================
	function window.confirm(str){
	
		var sx=screen.availWidth/2-330/2;
		var sy=screen.availHeight/2-180/2;
		
		var url = '/include/confirm.jsp?title=' + str;
		var retVal = showModalDialog( url,'','dialogTop:'+sx+';dialogLeft:'+sy+';dialogHeight:180px;dialogWidth=330px;status:no;scroll:no;center:yes');
		return retVal;
	}	

