	
  function orderItem(iname,inum,iamt,x){
    var qty = "q"+x;
    alert(document.getElementById(qty).value);
    //document.forms[0].quantity.value=getElementById(qty).value
    document.forms[0].item_name.value=iname;
		document.forms[0].item_number.value=inum;
    document.forms[0].amount.value=iamt;
    
  	//document.forms[0].method="post";
    //document.forms[0].action="https://www.paypal.com/cgi-bin/webscr";
  	//document.forms[0].submit();
  }
  
  function viewCart(){
		document.forms[0].action="https://www.paypal.com/cgi-bin/webscr?display=1";
  	document.forms[0].submit();
  }
  
  function rollImg(elt,x){
  	if (x=='on'){
	  	document.getElementById(elt).src='images/'+elt+'_on.gif';
    }else{
    	document.getElementById(elt).src='images/'+elt+'_off.gif';
    }
  }
  
  function changePage(elt){
  	window.location=elt+'.htm';
  }
  
  function moreInfo(imgname){
  	if (imgname=='ap1'){
    	window.location='xmas_contents_ap1.htm';
    }
    if (imgname=='cm2'){
    	window.location='xmas_contents_v2.htm';
    }
    if (imgname=='cm3'){
    	window.location='xmas_contents_viola1.htm';
    }
    if (imgname=='cm4'){
    	window.location='xmas_contents_viola2.htm';
    }
  	if (imgname=='am1'){
    	window.location='am_contents_v1.htm';
    }
    if (imgname=='am2'){
    	window.location='am_contents_v2.htm';
    }    
    if (imgname=='am3'){
    	window.location='am_viola_contents_v1.htm';
    }
    if (imgname=='am4'){
    	window.location='am_viola_contents_v2.htm';
    }    
  }
  
  
  function GoCheckout(){
    document.forms[0].method="post";
    document.forms[0].action="https://www.paypal.com/cgi-bin/webscr";
  	document.forms[0].submit();
  }
  
  function buildCart(){
  	document.forms[0].method="post";
    document.forms[0].action="yasuda_cart.php";
  	document.forms[0].submit();
  }