// JavaScript Document
/*
<div id="popwincontainer"><div id="header"><img src="images/popwin/1-1.gif" /><img src="images/popwin/1-2-careercenter.gif" /><img src="images/popwin/1-3.gif" /><div id="close"> </div></div>
<div id="content"><div id="left"><img src="images/popwin/2-1.png" /></div><div id="right"><img src="images/popwin/2-3.jpg" /></div>
<div id="popwinscrollpane">sss</div>
</div><div id="footer"><img src="images/popwin/3-.png" /></div></div>


*/

var contactusstring="";
var careercenterstring=""

$("#contactus").ready(function(){
							   $("#contactus").click(function(){
															  	$.ajax({
																	  url: "../subhtml/contactus.html",
																	  cache: false,
																	  success: function(html){
																		  //$.msgbox.removepopwin({callback:function(){$.msgbox.createpopwin("contactus",html)} });
																		  $.msgbox.removepopwin();
																		  $.msgbox.createpopwin("contactus",html);
																		 // $("#container").testpluging({callback:function(){$.msgbox.createpopwin1("contactus",html)} })
																		  },
																	  error:function(){
																		  $.msgbox.createmsgbox("页面读取错误！");
																		  }
																	});
															  	}
													)

							   //$("#contactus").ajaxStart(function(){$("#contactus").msgbox.createmsgbox("loading...")})
							   $("#careercenter").click(function(){
															  	$.ajax({
																	  url: "../subhtml/careercenter.html",
																	  cache: false,
																	  success: function(html){
																		  //$("#careercenter").mypagination({callback:function(){$.msgbox.createpopwin("careercenter",html)}})
																		  //$.msgbox.removepopwin({callback:function(){$.msgbox.createpopwin("careercenter",html)} });
																		  $.msgbox.removepopwin();
																		  $.msgbox.createpopwin("careercenter",html);
																		  $("#//container").testpluging({callback:function(){$.msgbox.createpopwin1("careercenter",html)} })
																		  },
																	  error: function(){
																		  $.msgbox.createmsgbox("页面读取错误！");
																		  }
																	});
																 }
														)
							   }							   
						)

/*function createpopwin(title,msg){
	$('#popwincontainer').remove();
	var popwinstr1="<div id=\"popwincontainer\"><div id=\"header\"><img src=\"images/popwin/1-1.gif\" /><img src=\"images/popwin/1-2-careercenter.gif\" /><img src=\"images/popwin/1-3.gif\" /><div id=\"close\"> </div></div>
";
	popwinstr1=popwinstr1+"<div id=\"content\"><div id=\"left\"><img src=\"images/popwin/2-1.png\ /></div><div id=\"right\"><img src=\"images/popwin/2-3.jpg\" /></div>";
	popwinstr1=popwinstr1+"<div id=\"popwinscrollpane\">";
	popwinstr2="</div></div><div id=\"footer\"><img src=\"images/popwin/3-.png\" /></div></div>";*/
	
/*	popwinstr1="<div class=\"msgbox\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td align=\"center\" valign=\"middle\">";
	popwinstr2="</td></tr></table><div class=\"msgclose\">关闭</div></div>";
	
	
	
	popwinstr1="<div id=\"popwincontainer\"><div id=\"header\"><img src=\"images/popwin/1-1.gif\" /><img src=\"images/popwin/1-2-"+title+".gif\" /><img src=\"images/popwin/1-3.gif\" /><div id=\"close\"> </div></div>";
	popwinstr1=popwinstr1+"<div id=\"content\"><div id=\"left\"><img src=\"images/popwin/2-1.png\" /></div><div id=\"right\"><img src=\"images/popwin/2-3.jpg\" /></div>";
	popwinstr1=popwinstr1+"<div id=\"popwinscrollpane\">";	
	popwinstr2="</div></div><div id=\"footer\"><img src=\"images/popwin/3-.gif\" /></div></div>";
	$("#container").before(popwinstr1+msg+popwinstr2);
	$("#popwincontainer > #header > #close").click(function(){
								  $('#popwincontainer').remove();
								  //$("#emaillisttext")[0].focus();
								  }
						)
}*/
