//---------------------------ÔÓÍÊÖÈÈ---------------------------
function price() {
  
        wh = document.getElementById("price");		
//        ii = wh.getAttribute("value");
	ii = wh.value;
        target = jsData[ii][0];

	for (var j = 0; j <  (jsData[ii].length -1 ); j++) {
		pric = 'price'+j;
	        wo= document.getElementById(pric);		
	        wo.innerHTML = target + ': <b>$' + jsData[ii][j+1] + ' </b>';
        }

}

function priceone(j) {
  
        wh = document.getElementById("price");		
//        ii = wh.getAttribute("value");
	ii = wh.value;
        target = jsData[ii][0];
	pric = 'price'+j;
	wo= document.getElementById(pric);		
	wo.innerHTML = target + ': <b>$' + jsData[ii][j+1] + ' </b>';
}

function price_to() {
        from = document.getElementById("pricefrom");		
        to = document.getElementById("priceto");		
//        fromi = from.getAttribute("value");
//        toi = to.getAttribute("value");
        fromi = from.value;
        toi = to.value;

	ii=fromi+toi;
        target = jlData[ii][0];
	for (var j = 0; j <  (jlData[ii].length -1); j++) {
		pric = 'price'+j;
	        wo= document.getElementById(pric);		
	        wo.innerHTML = target + ': <b>$' + jlData[ii][j+1] + ' </b>';
        }
}

function price_toone(j) {
        from = document.getElementById("pricefrom");		
        to = document.getElementById("priceto");		
//        fromi = from.getAttribute("value");
//        toi = to.getAttribute("value");
        fromi = from.value;
        toi = to.value;

	ii=fromi+toi;
        target = jlData[ii][0];
	pric = 'price'+j;
        wo= document.getElementById(pric);		
        wo.innerHTML = target + ': <b>$' + jlData[ii][j+1] + ' </b>';

}


