function CH_List(obj){
	if( obj == "1" ){
	    list1.style.display = 'block';
	    list2.style.display = 'none';
		list3.style.display = 'none';
		list4.style.display = 'none';
		list5.style.display = 'none';
	    bodylist1.src = "img/syb_4_01_over.gif";
	    bodylist2.src = "img/syb_4_02_off.gif";
		//bodylist3.src = "img/syb_4_03_off.gif";
		bodylist4.src = "img/syb_4_04_off.gif";
		bodylist5.src = "img/syb_4_05_off.gif";
	}else if( obj == "2" ){
	    list1.style.display = 'none';
	    list2.style.display = 'block';
		list3.style.display = 'none';
		list4.style.display = 'none';
		list5.style.display = 'none';
	    bodylist1.src = "img/syb_4_01_off.gif";
	    bodylist2.src = "img/syb_4_02_over.gif";
		//bodylist3.src = "img/syb_4_03_off.gif";
		bodylist4.src = "img/syb_4_04_off.gif";
		bodylist5.src = "img/syb_4_05_off.gif";
	}else if( obj == "3" ){
	    list1.style.display = 'none';
	    list2.style.display = 'none';
		list3.style.display = 'block';
		list4.style.display = 'none';
		list5.style.display = 'none';
	    bodylist1.src = "img/syb_4_01_off.gif";
	    bodylist2.src = "img/syb_4_02_off.gif";
		//bodylist3.src = "img/syb_4_03_over.gif";
		bodylist4.src = "img/syb_4_04_off.gif";
		bodylist5.src = "img/syb_4_05_off.gif";
	}else if( obj == "4" ){
	    list1.style.display = 'none';
	    list2.style.display = 'none';
		list3.style.display = 'none';
		list4.style.display = 'block';
		list5.style.display = 'none';
	    bodylist1.src = "img/syb_4_01_off.gif";
	    bodylist2.src = "img/syb_4_02_off.gif";
		//bodylist3.src = "img/syb_4_03_off.gif";
		bodylist4.src = "img/syb_4_04_over.gif";
		bodylist5.src = "img/syb_4_05_off.gif";
	}else if( obj == "5" ){
	    list1.style.display = 'none';
	    list2.style.display = 'none';
		list3.style.display = 'none';
		list4.style.display = 'none';
		list5.style.display = 'block';		
	    bodylist1.src = "img/syb_4_01_off.gif";
	    bodylist2.src = "img/syb_4_02_off.gif";
		//bodylist3.src = "img/syb_4_03_off.gif";
		bodylist4.src = "img/syb_4_04_off.gif";
		bodylist5.src = "img/syb_4_05_over.gif";
	}
	
	
	
}

function CH_List2(obj){
	if( obj == "1" ){
	    list1.style.display = 'block';
	    list2.style.display = 'none';
		aMore1.style.display = "";
		aMore2.style.display = "none";
	    bodylist1.src = "img/tab_notice_over.gif";
	    bodylist2.src = "img/tab_news_out.gif";
	}else if( obj == "2" ){
	    list1.style.display = 'none';
	    list2.style.display = 'block';
		aMore1.style.display = "none";
		aMore2.style.display = "";
	    bodylist1.src = "img/tab_notice_out.gif";
		bodylist2.src = "img/tab_news_over.gif";
	}
}


// on focus
function setBgImageOver(element, szColor) {

	if (element.value == "")
	{
		element.style.backgroundImage="";
		element.style.color=szColor;
	}
}


function imageRollover (targetImage)
{
	var targetSrc	= targetImage.src;
	var fileName	= targetSrc.substring(0, targetSrc.lastIndexOf("."));
	var fileExt	= targetSrc.substring(targetSrc.lastIndexOf(".") + 1, targetSrc.length);

	var newFilePath	= fileName + "_1." + fileExt;

	targetImage.filters.blendTrans.stop();
	targetImage.filters.blendTrans.Apply();
	targetImage.src	= newFilePath;
	targetImage.filters.blendTrans.Play();

/*
alert (targetSrc);
alert (fileName);
alert (fileExt);
alert (newFilePath);
*/
}

function imageRollout (targetImage)
{
	var targetSrc	= targetImage.src;
	var fileName	= targetSrc.substring(0, targetSrc.lastIndexOf("."));
	var fileExt	= targetSrc.substring(targetSrc.lastIndexOf(".") + 1, targetSrc.length);

	var newFilePath	= fileName.substring(0, fileName.length - 2) + "." + fileExt;

	targetImage.filters.blendTrans.stop();
	targetImage.filters.blendTrans.Apply();
	targetImage.src	= newFilePath;
	targetImage.filters.blendTrans.Play();
}



//ΗΓ·‘½¬ 

function flash(szLink, iWidth, iHeight, szID)
{
  script = '';
  script += '<div><OBJECT codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 height='+iHeight+' width='+iWidth+' align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>';
//  script += '<PARAM NAME="_cx" VALUE="21325">';
//  script += '<PARAM NAME="_cy" VALUE="2646">';
  script += '<PARAM NAME="FlashVars" VALUE="">';
  
  script += '<PARAM NAME="Movie" VALUE="'+szLink+'">';
  script += '<PARAM NAME="Src" VALUE="'+szLink+'">';
  
  script += '<PARAM NAME="WMode" VALUE="Transparent">';
  script += '<PARAM NAME="Play" VALUE="-1">';
  script += '<PARAM NAME="Loop" VALUE="-1">';
  script += '<PARAM NAME="Quality" VALUE="High">';
  script += '<PARAM NAME="SAlign" VALUE="">';
  script += '<PARAM NAME="Menu" VALUE="-1">';
  script += '<PARAM NAME="Base" VALUE="">';
  script += '<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">';
  script += '<PARAM NAME="Scale" VALUE="ShowAll">';
  script += '<PARAM NAME="DeviceFont" VALUE="0">';
  script += '<PARAM NAME="EmbedMovie" VALUE="0">';
  script += '<PARAM NAME="BGColor" VALUE="FFFFFF">';
  script += '<PARAM NAME="SWRemote" VALUE="">'
  script += '<PARAM NAME="MovieData" VALUE="">'
  script += '<PARAM NAME="SeamlessTabbing" VALUE="1">';
	script += '<param NAME="swliveconnect" value="true">';
  script += '<PARAM NAME="Profile" VALUE="0">';
  script += '<PARAM NAME="ProfileAddress" VALUE="">';
  script += '<PARAM NAME="ProfilePort" VALUE="0">';
  
  script +=' <embed src="'+szLink+'" Quality="High" BGColor="FFFFFF" swliveconnect="true" width="'+iWidth+'" height="'+iHeight+'" align="middle" AllowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" / FlashVars WMode="Transparent" Play="-1" Loop="-1" SAlign Menu="-1" Base Scale="ShowAll" DeviceFont="0" EmbedMovie="0" SWRemote MovieData SeamlessTabbing="1" Profile="0" ProfileAddress ProfilePort="0">';
    	   
	script +='</OBJECT></div>';
	szID.innerHTML = script;
//	return script;
}
