		 function tech_news_main(func_id, func_idx,page_idx) {
			 document.forms[0].elements['func_id'].value =trim(func_id);
			 document.forms[0].elements['func_idx'].value =trim(func_idx);
		     document.forms[0].elements['page_idx'].value =trim(page_idx);
			 document.forms[0].submit();
        }
	
		
		 function tech_news_detail(func_id, func_idx,page_idx,content_idx) {
			 
			 document.forms[1].elements['func_id'].value =trim(func_id);
			 document.forms[1].elements['func_idx'].value =trim(func_idx);
		     document.forms[1].elements['page_idx'].value =trim(page_idx);
			 document.forms[1].elements['content_idx'].value =trim(content_idx);
			 document.forms[1].submit();
        }

		 function news_main(func_id,page_idx) {
			 document.forms[2].elements['func_id'].value =trim(func_id);
			 document.forms[2].elements['page_idx'].value =trim(page_idx);
			 document.forms[2].submit();
        }		
		
		 function news_d(func_id,content_idx,page_idx) {

			 document.forms[3].elements['func_id'].value =trim(func_id);
			 document.forms[3].elements['content_idx'].value =trim(content_idx);						 
			 document.forms[3].elements['page_idx'].value =trim(page_idx);  
			 document.forms[3].submit();
        }		
		
		
		function product_main(parent_func_idx){
			document.forms[4].elements['parent_func_idx'].value =trim(parent_func_idx);
			document.forms[4].submit();
			}
			
        function product_d(Cidx) {
			 document.forms[5].elements['product_idx'].value =trim(Cidx);
			 document.forms[5].submit();
        }

		function product_download_main(parent_func_idx,product_idx,page_idx,type){
	
			document.forms[6].elements['parent_func_idx'].value = trim(parent_func_idx);
			document.forms[6].elements['product_idx'].value = trim(product_idx);
			document.forms[6].elements['page_idx'].value = trim(page_idx);			
		    document.forms[6].elements['type'].value = trim(type);			
			document.forms[6].submit();
			}
			
        function flash_submit(surl, tget) {
			var index,index2
			 index  = surl.indexOf("?");
			 index2 = surl.indexOf("&"); 
			 if (index != -1) {
				 len = surl.length;		 
				   url = surl.substring(0,index);				   
				 if (index2 == -1){
				 }else{
				     surl = surl.substring(index+1,len);
					 get_url(surl,len);
				 }
				 document.forms[7].action = url;
			 }else{
			 	 document.forms[7].action = surl;
			 }
			 if (tget == "main_flash_win") {
			    document.forms[7].target ='main_flash_win';
			 }
			 if (tget == "banner_window") {
			    document.forms[7].target ='banner_window';
			 }			 
			 if (String(tget) == "undefined" || String(tget) == ""){
			    document.forms[7].target = '';
	         }
			 document.forms[7].submit();
        }
		

		function get_url(surl,len) {
			temp=0;
			while (true) {		
			   i_len = surl.indexOf("&"); 
			   if (i_len != -1){
			     s1 = surl.substring(0,i_len);
			     get_value(s1);
			   }else{
				 get_value(surl);
				 break;
			   }
			   surl = surl.substring(i_len+1,len);
			   temp = i_len;
			}
			
		}

		function get_value(con) {
			len = con.length;
			v_len = con.indexOf("="); 
			name = con.substring(0,v_len);
			value = con.substring(v_len+1,len);		
			document.forms[7].elements[String(name)].value = value;			
		}
		
		function trim(str){
			if (str == 'undefined' || str == null){
			   str ='';		
			}			
			return str;
		}
