host = 'http://' + location.host + '/';
//下载计数
function download(prodType){
	if( 'netbook' == prodType) {	window.open("index.php?mod=product&act=netbook");	return;	}
    window.open("index.php?mod=product&act=guide");
	$.ajax({
		url: "index.php?mod=download&act=DownWPS",
		type: 'GET',		
		timeout:30000,		
		success: function(msg){
			$('#WPSDownNum').html(msg);
		}
	});	   
}



function tuijian(i){
     var tui_1 = document.getElementById("tui_1");
	  var tui_2 = document.getElementById("tui_2");
	   var tui_3 = document.getElementById("tui_3");
	   
	   var tuishow_1 = document.getElementById("tuishow_1");
	    var tuishow_2 = document.getElementById("tuishow_2");
	     var tuishow_3 = document.getElementById("tuishow_3");
	if(i==1){
		tui_1.className = "tui_now";
		tuishow_1.style.display = "block";
		
		tui_2.className = "tui_not";
		tuishow_2.style.display = "none";
		
		tui_3.className = "tui_not";
		tuishow_3.style.display = "none";

	}else if(i==2){
		tui_1.className = "tui_not";
		tuishow_1.style.display = "none";
		
		tui_2.className = "tui_now";
		tuishow_2.style.display = "block";
		
		tui_3.className = "tui_not";
		tuishow_3.style.display = "none";
	}else{
        tui_1.className = "tui_not";
		tuishow_1.style.display = "none";
		
		tui_2.className = "tui_not";
		tuishow_2.style.display = "none";
		
		tui_3.className = "tui_now";
		tuishow_3.style.display = "block";
	}
}

