/**
 *	首页弹窗展示完成项目的详情
 */
function project_box_show(id){
	var _html = '<div class="project_box" id="project_box">';
	jQuery.getJSON("http://www.witke.net/majax.php?id=" + id + "&action=project_box_show&callback=?",function(data){
		
	});
	
	/*jQuery.ajax({
		type:"POST",
		dataType: "jsonp",
		url:"http://witke.net/majax.php",
		data:"id=" + id + "&action=project_box_show",
		success:function(html){
			alert(html);
			if(html){
				_html += '<div class="img-container" style="background:url('+html.logo+') no-repeat center center;"><span class="winner-sash"></span></div>';
				_html += '<div class="pr"><h1><span  style="float:left;">'+html.cname+'标志设计</span>';
				switch(html.taocan){
					case '4' : _html += '<span style="background:#4ac711;padding:3px;color:#fff;vertical-align:super;font-size:12px;font-weight:normal;float:left;">经济套餐</span>';break;
					case '6' : _html += '<span style="background:#ff3300;padding:3px;color:#fff;vertical-align:super;font-size:12px;font-weight:normal;float:left;">豪华套餐</span>';break;
					default: _html += '<span style="background:#4198f2;padding:3px;color:#fff;vertical-align:super;font-size:12px;font-weight:normal;float:left;">标准套餐</span>';break;
				}
				_html += '</h1><div class="clear"></div>';
				
				_html += '<div class="uc">';
				if(html.comment){
					_html += '客户评价：';
					for(var i = 0 ;i<html.comment;i++){
						_html += '<img style="vertical-align:-3px;" src="../images/star-1.png">';	
					}
					for(var i = 0 ;i< 5 - html.comment;i++){
						_html += '<img style="vertical-align:-3px;" src="../images/star-2.png">';	
					}
					_html += ' ('+html.comment+'分)';
				}
				_html += '</div>';
				
				_html += '<div class="cd"><div>'+html.cintro+'</div><div>'+html.content+'</div></div>';
				
				_html += '<div style="hegiht:21px;text-align:center;margin-top:15px;"><a href="project.php?id='+id+'" class="btn" style="background:#4198F2;">项目详细信息&gt;&gt;</a>　　　<a href="post.php" class="btn">开始我的设计&gt;&gt;</a></div></div><div class="clear"></div>';
				
				if(html.rel){
					_html += '<div class="rel"><div style="padding:15px 0 8px;background:url(../images/icon_MoreNextDays_03.png) no-repeat 280px 22px;">每个项目我们的设计师都将提供多款方案供您选择！</div>';
					for(i=0;i<html.rel.length;i++){
						if(i%5 == 4)
						_html += '<img width="140" height="106" style="border:1px solid #ccc;margin-bottom:10px;" src="'+html.rel[i]+'" />';
						else
						_html += '<img width="140" height="106" style="border:1px solid #ccc;margin-right:5px;margin-bottom:10px;" src="'+html.rel[i]+'" />';	
					}
					_html += '</div>';
				}
				
				html += '</div>';
				
				jQuery('#project_box_div').html(_html);
				
				jQuery.fn.colorbox({inline:true,href:'#project_box',initialWidth:'730px'});
			}
		}
	});*/
}
