
	function popUpCertDetail(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=660,height=750,left = 10,top = 10');");
	}

	function popUpCertList(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=860,height=700,left = 10,top = 10');");
	}

	function popUpEvSheet(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=860,height=700,left = 10,top = 10');");
	}

	function popUpHistory(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1024,height=700,left = 10,top = 10');");
	}

	function popWhatIs(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=725,left = 10,top = 10');");
	}

	function popUpCT(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=660,height=600');");
	}

	function HelpWindow(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=660,height=700,left = 10,top = 10');");
	}



	function	MyFocus(form, obj){
		document.form.obj.focus();
		return true;
	}

	function VDS_AGB(){
		if(document.getElementById("FLD_VDSAGB").checked==true){
			document.getElementById("SUB_ORDERSTANDARD3").disabled = false;
		}else{
			document.getElementById("SUB_ORDERSTANDARD3").disabled = true;
		}
	}

	function AUDIT_AGB(){
		if(document.getElementById("FLD_AUDITAGB").checked == true){
			document.getElementById("SUB_ORDER_2").disabled = false;
		}else{
			document.getElementById("SUB_ORDER_2").disabled = true;
		}
	}

	function SubmitWorldPay(){
		document.forms['FLD_WORLPAY'].submit();
	}
	
	function getNodes(one,etype){
		 var nodelist;	// local scope variables
		 var count;
		 var count_comp = 0;
		 nodelist = one.childNodes;
		 count = nodelist.length;
		 for(i = 0; i < count; i++)
		 {
		  mn = nodelist[i];
		  if(mn.nodeName == etype)
		  {
			count_comp = count_comp + 1;
		  }
		 }
		 return count_comp;		
	}	
