var pro=new Array(451);
var bigpro=new Array(8);

function loadproduct(){
    pro[5]="5×263G;900;";
	pro[10]="10×263G;1600;";
	pro[15]="10×263G+5×263G;2500";
	pro[20]="10×2×263G;3200";
	pro[25]="10×2×263G+5×263G;4100";
	pro[30]="10×3×263G;4800";
	pro[35]="10×3×263G+5×263G;5700";
	pro[40]="10×4×263G;6400";
    pro[50]="50×263G;7000;";
	pro[60]="50×263G+10×263G;8600;";
	pro[70]="50×263G+10×2×263G;10200";
	pro[80]="50×263G+10×3×263G;11800";
	pro[90]="50×263G+10×4×263G;13400";
	pro[100]="50×2×263G;14000";
	pro[110]="50×2×263G+10×263G;15600";
	pro[120]="50×2×263G+10×2×263G;17200";
    pro[130]="50×2×263G+10×3×263G;18800;";
	pro[140]="50×2×263G+10×4×263G;20400;";
	pro[150]="50×3×263G;21000";
	pro[160]="50×3×263G+10×263G;22600";
	pro[170]="50×3×263G+10×2×263G;24200";
	pro[180]="50×3×263G+10×3×263G;25800";
	pro[190]="50×3×263G+10×4×263G;27400";
	pro[200]="50×4×263G;28000";
    pro[210]="50×4×263G+10×263G;29600;";
	pro[220]="50×4×263G+10×2×263G;31200;";
	pro[230]="50×4×263G+10×3×263G;32800";
	pro[240]="50×4×263G+10×4×263G;34400";
    pro[250]="50×5×263G;35000;";
	pro[260]="50×5×263G+10×263G;36600;";
	pro[270]="50×5×263G+10×2×263G;38200";
	pro[280]="50×5×263G+10×3×263G;39800";
	pro[290]="50×5×263G+10×4×263G;41400";
	pro[300]="50×6×263G;42000";
	pro[350]="50×7×263G;49000";
	pro[400]="50×8×263G;56000";
    pro[450]="50×9×263G;63000";
	pro[0]="50×N×263G;7000×N";

}
function loadbigproduct(){
    bigpro[1]="500用户版;50000;";
	bigpro[2]="500用户版+100用户版×263M;60000;";
	bigpro[3]="500用户版+100用户版×2×263M;70000";
	bigpro[4]="500用户版+100用户版×3×263M;80000";
	bigpro[5]="500用户版+100用户版×4×263M;90000";
	bigpro[6]="500用户版+100用户版×5×263M;100000";
	bigpro[7]="500用户版+100用户版×N×263M;50000+10000×N";
}


function selproduct(vv)
{
	if ((vv>=0)&&(vv<451))
	{
		var pp=pro[vv];
		str=pp.split(";");
		document.getElementById("prozh").value=str[0];
		document.getElementById("proprice").value=str[1];
	}
}

function selbigproduct(vv)
{
	if ((vv>0)&&(vv<21))
	{
		var pp=bigpro[vv];
		str=pp.split(";");
		document.getElementById("prozh").value=str[0];
		document.getElementById("proprice").value=str[1];
	}
}

function SwichObj(objName,objId){

	if(objId==0){
		document.getElementById(objName+"_con"+objId).style.display = "block";
		document.getElementById(objName+"_btn"+objId).className = "objBg_cur";
		document.getElementById(objName+"_con"+1).style.display = "none";
		document.getElementById(objName+"_btn"+1).className = "objBg";
		document.getElementById("productionType").value="1";
		var pp=pro[10];
		str=pp.split(";");
		document.getElementById("prozh").value=str[0];
		document.getElementById("proprice").value=str[1];
	}else{
		document.getElementById(objName+"_con"+objId).style.display = "block";
		document.getElementById(objName+"_btn"+objId).className = "objBg_cur";
		document.getElementById(objName+"_con"+0).style.display = "none";
		document.getElementById(objName+"_btn"+0).className = "objBg";
		document.getElementById("productionType").value="2";
		var pp=bigpro[1];
		str=pp.split(";");
		document.getElementById("prozh").value=str[0];
		document.getElementById("proprice").value=str[1];
	}
	
}