
	function goProposal(){
	   var obj = document.getElementById("request");
		obj.style.display = "";
		obj.style.left=101;
		obj.style.top=200;

	}
	function cancel(){
		
		var obj = document.getElementById("request");
		obj.style.display = "none";
		var obj = document.getElementById("recruit");
		obj.style.display = "none";
	}
	function goRecruit(){
		var obj = document.getElementById("recruit");
		obj.style.display = "";
		//obj.style.left=99;
		//obj.style.top=200;
	}
	
	function showPrivacy() {
	  personLayer.style.display = 'block';
	}
	
	function hidePrivacy() 
	{ 
		personLayer.style.display = 'none';
	} 
	
	function showRecruit(){
		var obj = document.getElementById("recruit2");
		obj.style.display = "";
		obj.style.left=99;
		obj.style.top=200;
		recruit.style.display = 'none';
	}
	
	function ressetRecruit(){
		var frm = document.rFrm;
		frm.reset();
		
	}

	  function inRecruit(){
	
		var frm = document.rFrm;		
		if( !validate(frm) ){
			return;
		}		
		else{
			if( frm.upfile.value != '' )
			{
				var str = frm.upfile.value;
				var n = str.lastIndexOf("\\") + 1;
				str = str.substring(n, str.length);

				frm.filename.value = str;
			}
			frm.action="/new/recruit.php";
			frm.target="actFrame";
			frm.submit();
		}
	}

	function inData(){
	
		var frm = document.iFrm;		
		if( !validate(frm) ){
			return;
		}		
		else{

			 var txt_purpose1 = '';
            
            if( frm.purpose1[0] != null )
            {
                for( idx=0; idx< frm.purpose1.length ; idx++ )
                {
                    if( frm.purpose1[idx].checked )
                    {
                        if( txt_purpose1 != '' ) txt_purpose1 = txt_purpose1 + " , ";
                        txt_purpose1 = txt_purpose1 +  frm.purpose1[idx].value;
                    }
                }
            }

            frm.purpose.value = txt_purpose1;



			if( frm.upfile.value != '' )
			{
				var str = frm.upfile.value;
				var n = str.lastIndexOf("\\") + 1;
				str = str.substring(n, str.length);

				frm.upfilename.value = str;
			}

			frm.action="/new/inquiry.php";
			frm.target="actFrame";
			frm.submit();
		}
	}


function MainFlash(){

document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"100%\" height=\"100%\" align=\"middle\">");
document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />");
document.write("<param name=\"movie\" value=\"/new/swf/main.swf\" />");
document.write("<param name=\"quality\" value=\"high\" />");
document.write("<param name=\"bgcolor\" value=\"#ffffff\" />");
document.write("<param name=\"wmode\" value=\"transparent\" />");
document.write("<embed src=\"/new/swf/main.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"100%\" height=\"100%\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />");
document.write("</object>");

}