function test(){
}


function cartin(t) {
  var varstr = '';
  var i;
    
  	with(document.pageForm){
		for(var i=0;i<elements.length;i++){
			if(elements[i].name.indexOf("CNT-") != -1){
				if (isNaN(elements[i].value)) {
				    alert("半角数値を入れて下さい。");
				    return;
				}

			}
		}
	}
	
  
  
  
  for(i = 2;i <= 13;i++){
  
    if( document.PATIN){
      if( document.PATIN.elements['CNT-' + i] && document.PATIN.elements['ITM-' + i]){
        document.pageForm.elements["CNT-" + i ].value = document.PATIN.elements['CNT-' + i].value;
        document.pageForm.elements["ITM-" + i ].value = document.PATIN.elements['ITM-' + i].value;
      }
    }
     
  }
 

 

  if ( varstr != '' ) {
    t.disabled = false;
    alert(varstr + ' を指定してください');
    return false;
  } else { 
    document.pageForm.target = "_top";
    document.pageForm.submit();
    return false;
  } 

  

  
}


function openDetail(n, m){
		detail = window.open("detail.html", "news", "width=400,height=400, scrollbars, toolbar=no");
		detail.focus();	
		with(detail.document.pageForm){
	   		soapimg.src = '../images/catalog/' + n;	
	   		descimg.src = '../images/catalog/' + m;	

    	}
}

