var url = "/itu/";

var thisLayer = document.createElement("div");
with (thisLayer.style) {
	position = "absolute";
	left = "0px";
	top = "0px";
	margin = "0px";
	width = "0%";
	height = "0%";
	//background = "#0066CC";
	//filter = "Alpha(Opacity=30)";
	//padding = "0px";
	//clip = "rect(0px,auto,auto,auto)";
}
thisLayer.setAttribute("onclick",function(){hideDisposeDiv();});
var thisBody = document.getElementsByTagName("body")[0];
var thisDiv = document.createElement("div");
thisDiv.style.position = "absolute";
thisDiv.style.display = "none";
var thisTable = document.createElement("table");
var thisTbody = document.createElement("tbody");
//thisTable.className = "td1";

var thisTr1 = document.createElement("tr");
var thisTr2 = document.createElement("tr");
var thisTr3 = document.createElement("tr");
var thisTr4 = document.createElement("tr");

var thisTd1 = document.createElement("td");
thisTd1.colspan="2";
thisTr1.appendChild(thisTd1);

 
var thisTd3 = document.createElement("td");
var thisTd4 = document.createElement("td");
thisTr2.appendChild(thisTd3);
thisTr2.appendChild(thisTd4);

var thisTd5 = document.createElement("td");
var thisTd6 = document.createElement("td");
thisTr3.appendChild(thisTd5);
thisTr3.appendChild(thisTd6);

var thisTd7 = document.createElement("td");
var thisTd8 = document.createElement("td");
thisTr4.appendChild(thisTd7);
thisTr4.appendChild(thisTd8);

thisTbody.appendChild(thisTr1);
thisTbody.appendChild(thisTr2);
thisTbody.appendChild(thisTr3);
thisTbody.appendChild(thisTr4);

thisTable.appendChild(thisTbody);
thisDiv.appendChild(thisTable);
thisBody.appendChild(thisLayer);
thisBody.appendChild(thisDiv);

function displayPlaneModle(oImg,penalContext,inputMsg,planeName,ptype,minseat,maxseat) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0)){
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}else{
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT)+18 + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=150)?eL-150:eL+eW) + "px";	
	}
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	if (inputMsg != undefined) {
		message = inputMsg;
		if(penalContext==''){
			var info="<table width='350' border='0' cellspacing='0' cellpadding='0'>";
           	info=info+"<tr>";
           	info=info+"<td class='help_box_tl'> </td>";
           	info=info+"<td class='help_box_tc'></td>";
           	info=info+"<td class='help_box_tr'> </td>";
           	info=info+"</tr>";
           	info=info+"<tr>";
           	info=info+"<td class='help_box_cl'></td>";
           	if(planeName==""){
           		info=info+"<td bgcolor='#EEF7FF' align='center'>";
	           	info=info+"<strong>此机型暂无详细信息</strong>";
	           	info=info+"</td>";
           	}else{
           		info=info+"<td bgcolor='#EEF7FF'><table width='100%' border='0' align='center' cellpadding='0' cellspacing='2'>";
	           	info=info+"<tr>";
	           	info=info+"<td align='center' width='90'><strong>机型名称</strong></td>";
	           	info=info+"<td align='center' width='80'><strong>类型</strong></td>";
	           	info=info+"<td align='center' width='90'><strong>最少座位数</strong></td>";
	           	info=info+"<td align='center' width='90'><strong>最多座位数</strong></td>";
	           	info=info+"</tr>";
			   	info=info+"<tr>";
	           	info=info+"<td align='center' width='90'>"+planeName+"</td>";
	           	info=info+"<td align='center' width='80'>"+ptype+"</td>";
	           	info=info+"<td align='center' width='90'>"+minseat+"</td>";
	           	info=info+"<td align='center' width='90'>"+maxseat+"</td>";
	           	info=info+"</tr>";
			  	info=info+"</table>";
	           	info=info+"</td>";
           	}
           	info=info+"<td class='help_box_cr'></td>";
           	info=info+"</tr>";
           	info=info+"<tr>";
           	info=info+"<td class='help_box_bl'> </td>";
           	info=info+"<td class='help_box_bc'></td>";
           	info=info+"<td class='help_box_br'> </td>";
           	info=info+"</tr>";
           	info=info+"</table>";
			thisDiv.innerHTML=info;
			thisDiv.style.display = "";
		}else{
			thisDiv.innerHTML=penalContext;
		}
	} 
}

function displayMessageDiv(inputMsg,msg1,msg2,msg3,oImg,penalContext) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=150)?eL-150:eL+eW) + "px";	
	}	
 
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	
	if (inputMsg != undefined) {
		message = inputMsg;
		if(penalContext=='')
		{
		var info="<table width='300' border='0' cellspacing='0' cellpadding='0'>";
            info=info+"<tr>";
            info=info+"<td class='help_box_tl'> </td>";
            info=info+"<td class='help_box_tc'></td>";
            info=info+"<td class='help_box_tr'> </td>";
            info=info+"</tr>";
            info=info+"<tr>";
            info=info+"<td class='help_box_cl'></td>";
            info=info+"<td bgcolor='#EEF7FF'><table width='100%' border='0' align='center' cellpadding='0' cellspacing='2'>";
            info=info+"<tr>";
            info=info+"<td height='28' colspan='2' style='border-bottom:1px solid #A4D1FF'><div class='title14' style='padding-left:0px;'>退改签规定</div></td>";
             info=info+"</tr>";
			 
			 
              info=info+"<tr>";
           info=info+"<td valign='top' width='70'><strong>更改条件：</strong></td><td  align='left'>"+msg2+"</td>";
           info=info+"</tr>";
		   
		    info=info+"<tr>";
           info=info+"<td valign='top' width='70'><strong>退票条件：</strong></td><td   align='left'>"+msg1+"</td>";
           info=info+"</tr>";
		   
		    info=info+"<tr>";
           info=info+"<td valign='top' width='70'>";
           info=info+"<strong>签转条件：</strong></td><td   align='left'>"+msg3+"</td>";
           info=info+"</tr>";
		   
		   
		   
           info=info+"</table>";
           info=info+"</td>";
           info=info+"<td class='help_box_cr'></td>";
           info=info+"</tr>";
           info=info+"<tr>";
            info=info+" <td class='help_box_bl'> </td>";
           info=info+"<td class='help_box_bc'></td>";
           info=info+"<td class='help_box_br'> </td>";
           info=info+"</tr>";
           info=info+"</table>";


		
thisDiv.innerHTML=info;
thisDiv.style.display = "";
		}else
		{
			thisDiv.innerHTML=penalContext;
		}
	} 
}
function displayMessageDivKB(oImg) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+30+eH:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=150)?eL-600:eL+eW) + "px";	
	}	
 
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	
	
		 var info="<div class='apBody'> <div class='apBox'><div class='apHeader'>如何购买可申请票<div class='apCancel'>";
		 info+="<a href='javascript:hideThisDiv()'></a></div></div>";
 info+="<div><strong><span class='apColor_Orange'>您现在预订的是可申请票，不保证能够出票，</span>";
 info+="<br />预订后请电话联系，确认有座位再支付。</strong></div>";
 info+="<div class='apButtonDIV'><input class='apButtonS' name='' type='button' ";
 info+="onclick='document.FlightCabinBookingForm.submit()' value='继续预订' />";
 info+="<input class='apButtonC' name='' type='button' onclick='hideThisDiv()'  value='取 消' /></div>";
 info+="<div class='apDesc'>什么是可申请票？<br />";
info+="答：是通过机票预定网站客服人员，人工向航空公司申请并确认有座位再出票的一种机票形式。</div></div></div>'";		
thisDiv.innerHTML=info;
thisDiv.style.display = "";

}
function displayMessageDivApply(inputMsg,msg1,msg2,msg3,oImg,align) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-150:eL+eW) + "px";	
	}

	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	if (inputMsg != undefined) {
		message = inputMsg;
		var info="<table width=250 border=0 cellspacing=0 cellpadding=0>";
        info=info+"<tr>";
         info=info+"<td width=4 height=4><img src="+url+"images/i_k_tl.gif width=4 height=4 /></td>";
         info=info+"<td background="+url+"images/i_k_tm.gif></td>";
         info=info+"<td width=4><img src="+url+"images/i_k_tr.gif width=4 height=4 /></td></tr><tr>";
    info=info+"<td background="+url+"images/i_k_ml.gif>&nbsp;</td>";
    info=info+"<td style=background-color:#D4ECF9; line-height:150%; padding:2px;>";
    info=info+"<table width=250 border=0 cellpadding=3 cellspacing=1>";
      info=info+"<tr align=center>";
        info=info+"<td><strong>"+message+"</strong></td>";
        info=info+"</tr>";
      info=info+"<tr>";
      info=info+"  <td align="+align+">"+msg1+"</td>";
     info=info+" </tr>";
    info=info+"</table></td>";
    info=info+"<td background="+url+"images/i_k_mr.gif>&nbsp;</td>";
  info=info+"</tr>";
  info=info+"<tr>";
  info=info+"  <td height=4><img src="+url+"images/i_k_bl.gif width=4 height=4 /></td>";
   info=info+" <td background="+url+"images/i_k_bm.gif></td>";
    info=info+"<td><img src="+url+"images/i_k_br.gif width=4 height=4/></td>";
  info=info+"</tr>";
info=info+" </table>";
thisDiv.innerHTML=info;
		
	} 
}
function stopInfoDiv(inputMsg,oImg,mess1,mess2,mess3,messShow) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-150:eL+eW) + "px";	
	}	
	
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	if (inputMsg != undefined) {
		message = inputMsg;
		var info="<table width=250 border=0 cellspacing=0 cellpadding=0>";
        info=info+"<tr>";
         info=info+"<td width=4 height=4><img src="+url+"images/i_k_tl.gif width=4 height=4 /></td>";
         info=info+"<td background="+url+"images/i_k_tm.gif></td>";
         info=info+"<td width=4><img src="+url+"images/i_k_tr.gif width=4 height=4 /></td></tr><tr>";
    info=info+"<td background="+url+"images/i_k_ml.gif>&nbsp;</td>";
    info=info+"<td style=background-color:#D4ECF9; line-height:150%; padding:2px;>";
    info=info+"<table width=250 border=0 cellpadding=3 cellspacing=1>";
    if(messShow)
    {
    	 info=info+"<tr >";
        info=info+"<td align=left>"+"系统正在为您处理，请等待。。。"+"</td>";
        info=info+"</tr>";
         info=info+"</table></td>";
         info=info+"<td background="+url+"images/i_k_mr.gif>&nbsp;</td>";
         info=info+"</tr>";
         info=info+"<tr>";
         info=info+"  <td height=4><img src="+url+"images/i_k_bl.gif width=4 height=4 /></td>";
          info=info+" <td background="+url+"images/i_k_bm.gif></td>";
          info=info+"<td><img src="+url+"images/i_k_br.gif width=4 height=4/></td>";
          info=info+"</tr>";
         info=info+" </table>";
         thisDiv.innerHTML=info;
    }
  else
  	{
      thisDiv.innerHTML=mess3;
    }
	} 
}

function displayRuleDiv(inputMsg,oImg) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH+10:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-500:eL+eW-200) + "px";	
	}	
	
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	if (inputMsg != undefined) {
		message = inputMsg;
		var info="<table width='400' border='0' cellspacing='0' cellpadding='0'>";
            info=info+"<tr>";
            info=info+"<td class='help_box_tl'> </td>";
            info=info+"<td class='help_box_tc'></td>";
            info=info+"<td class='help_box_tr'> </td>";
            info=info+"</tr>";
            info=info+"<tr>";
            info=info+"<td class='help_box_cl'></td>";
  info=info+"<td bgcolor='#EEF7FF'><table width='100%' border='0' align='center' cellpadding='0' cellspacing='2'>";
	  info=info+"<tr>";
	
   
    info=info+"<td style='color:#ff0000;'>旅行证件";
    
	info=info+"</td>";
    info=info+" </tr>";
	
  
		
			
 info=info+"<td align=left>";
 info=info+"登机人姓名需与登机所持证件一致。民航订票系统无法识别繁体字及生僻汉字。";
 info=info+"<tr >";
 info=info+"<td align=left>";
 info=info+"未成年人登机的境内旅客无身份证者可使用户口本（需学生证辅助）或当地派出所开据户籍证明办理登机。";
 info=info+"</td></tr>";
 
 info=info+"<tr >";
 info=info+"<td align=left>";
 info=info+"详情需咨询当地机场安全检察部门。";
 info=info+"</td></tr>";
 

info=info+"<tr >";
        info=info+"<td style='color:#ff0000;'>";
 info=info+"票价";
 info=info+"</td></tr>";
 info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"成人票：满12周岁的未成年人或成人按全票价(折扣票价)购票。";
 info=info+"</td></tr>";
 info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"儿童票：已满2周岁而未满12周岁的儿童按全票价的50%购票；（无成人陪伴儿童购票需在航空公司柜台办理）。";
 info=info+"</td></tr>";
 info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"婴儿票：未满两周岁的婴儿按全票价的10%购票（每位成人旅客只允许携带一名婴儿并无单独座位）。 ";
 info=info+"</td></tr>";
 info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"其它：因公致残的现役军人和因公致残的人民警察乘坐国内航班在全票价基础上优惠50%，需在航空公司柜台办理。";
 info=info+"</td></tr>";
 
 
 info=info+"<tr >";
        info=info+"<td style='color:#ff0000;'>";
 info=info+"机场建设税";
 info=info+"</td></tr>";
  info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"未成年人、成人：飞机座位数70座以上收取50元、飞机座位数70座以下收取10元。";
 info=info+"</td></tr>";
 info=info+"<tr>";
        info=info+"<td align=left>";
 info=info+"儿童、婴儿：免收。";
 info=info+"</td></tr>";
 
 
 info=info+"<tr >";
        info=info+"<td style=' color:#ff0000;'>";
 info=info+"燃油附加费";
 info=info+"</td></tr>";
  info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"未成年人、成人：800公里(含)以下航段每位旅客收取20元燃油附加费，800公里以上航段每位旅客收取40元燃油附加费。";
 info=info+"</td></tr>";
 info=info+"<tr>";
        info=info+"<td align=left>";
 info=info+"儿童：800公里(含)以下航段每位旅客收取10元燃油附加费，800公里以上航段每位旅客收取20元燃油附加费。";
 info=info+"</td></tr>";
 info=info+"<tr >";
        info=info+"<td align=left>";
 info=info+"婴儿：免收。";
		"</td>";
        info=info+"</tr>";
      info=info+"</table>";
           info=info+"</td>";
           info=info+"<td class='help_box_cr'></td>";
           info=info+"</tr>";
           info=info+"<tr>";
            info=info+" <td class='help_box_bl'> </td>";
           info=info+"<td class='help_box_bc'></td>";
           info=info+"<td class='help_box_br'> </td>";
           info=info+"</tr>";
           info=info+"</table>";
thisDiv.innerHTML=info;
		
	} 
}


function waitingLoginAjax(inputMsg,oImg) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH+10:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-500:eL+eW-200) + "px";	
	}	
	
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	var info="<div style=\"border:2px solid #CCCCCC; background-color:#FFFFFF; padding:50px 100px 50px 100px;\">";
    info=info+"<img style=\"margin-bottom:-8px; margin-right:10px;\" src=\"/itu/images/loading.gif\" width=\"32\" height=\"32\" />";
    
    info=info+"<span style=\"font-size:12px; color: #996600;\">数据处理中，请稍候……</span></div>";
	thisDiv.innerHTML=info;
}

function displayCityDiv(inputMsg,oImg) {
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH+50:eT+17) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-258:eL+eW+100) + "px";	
	}	
	
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	if (inputMsg != undefined) {
		message = inputMsg;
		var info="<table width=300 style='border:1px solid #A4D1FF' cellspacing=0 cellpadding=0 >";
        info=info+"<tr>";
         info=info+"<td/></td>";
         info=info+"<td></td>";
         info=info+"<td></td></tr><tr>";
    info=info+"<td></td>";
    info=info+"<td style=background-color:#D2E8FF; line-height:150%;>";
    info=info+"<table width=300 border=0 cellpadding=3 cellspacing=1>";
	
     info=info+"<tr><td colspan='4'><table width=100% border=0 cellspacing=0 cellpadding=3>";
    info=info+"<tr>";
    info=info+"<td style='color:#ff0000;'>更多特价</td>";
    info=info+"<td style='text-align:right'><a href=javascript:void(0) ";
	info=info+"onClick='hideThisDiv()'>";   
	info=info+"<img src='"+url+"images/w_close.gif' border=0 /></a></td>";
    info=info+" </tr>";
    info=info+"</table></td></tr>";
		  info=info+"<tr>";
	info=info+"<td align=center onmouseover='doShowCity(this);' onmouseout='doHideCity(this)' ";
	info=info+"onclick=doGet('TAO','./bargainFace/flightIndex_Ajax.jsp','S_ContMy_x12',false);hideThisDiv()>";
 info=info+"· 青岛";
  info=info+"</td>";
	info=info+"<td align=center onmouseover='doShowCity(this);' onmouseout='doHideCity(this)' ";
	info=info+"onclick=doGet('DLC','./bargainFace/flightIndex_Ajax.jsp','S_ContMy_x12',false);hideThisDiv()>";
 info=info+"· 大连";
  info=info+"</td>";
   	info=info+"<td align=center onmouseover='doShowCity(this);' onmouseout='doHideCity(this)' ";
	info=info+"onclick=doGet('HAK','./bargainFace/flightIndex_Ajax.jsp','S_ContMy_x12',false);hideThisDiv()>";
 info=info+"· 海口";
  info=info+"</td>";
info=info+"<td align=center onmouseover='doShowCity(this);' onmouseout='doHideCity(this)' ";
	info=info+"onclick=doGet('WNZ','./bargainFace/flightIndex_Ajax.jsp','S_ContMy_x12',false);hideThisDiv()>";
 info=info+"· 温州";
  info=info+"</td></tr>";
  
    info=info+"<tr>";
	
		info=info+"<td align=center onmouseover='doShowCity(this);' onmouseout='doHideCity(this)' ";
		info=info+"onclick=doGet('LHW','./bargainFace/flightIndex_Ajax.jsp','S_ContMy_x12',false);hideThisDiv()>";
 info=info+"· 兰州";
  info=info+"</td></tr>";
  
    info=info+"</table></td>";
    info=info+"<td ></td>";
  info=info+"</tr>";
  info=info+"<tr>";
  info=info+"  <td></td>";
   info=info+" <td></td>";
    info=info+"<td></td>";
  info=info+"</tr>";
info=info+" </table>";
thisDiv.innerHTML=info;
		
	} 
}


function doShowCity(obj){
	obj.className="showCitySelect";
	
	}
	
	function doHideCity(obj){
	obj.className="";
	
	}
//window.document.attachEvent("onclick",hideName);
function showNameRule(inputMsg,oImg,here) {
	/*if(here.value=="证件上的姓名"){
		here.value="";
		}
		 document.body.onclick = function(){
			 if(here.value="")
			 here.value="证件上的姓名"
			 }*/
	document.getElementById("certificateType").style.display ="none" ;	
	var eT=0,eL=0,p=document.getElementById(oImg);
	thisTable.setAttribute("onclick",function(){hideDisposeDiv();});
	if(document.body.scrollTop!=0 || (document.documentElement.scrollTop==0 && document.documentElement.clientHeight==0))
	{
		var sT=document.body.scrollTop,sL=document.body.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.body.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT-25) + "px";
		thisDiv.style.left=((document.body.clientWidth-(eL-sL)>=25)?eL:eL+eW) + "px";	
	}
	else
	{
		
		var sT=document.documentElement.scrollTop,sL=document.documentElement.scrollLeft;
		var eH=p.height,eW=p.width;
		while(p&&p.tagName!="BODY"){eT+=p.offsetTop;eL+=p.offsetLeft;p=p.offsetParent;}
		thisDiv.style.top=((document.documentElement.clientHeight-(eT-sT)-eH>=25)?eT+eH:eT) + "px";
		thisDiv.style.left=((document.documentElement.clientWidth-(eL-sL)>=100)?eL-150:eL+eW) + "px";	
	}	
	
	thisLayer.style.width = "100";
	thisLayer.style.height = "100";
	//disposeDiv.style.top = window.screen.availHeight / 2 - 100;
	//disposeDiv.style.left = window.screen.availWidth / 2 - 100;
	thisDiv.style.display = "";
	if (inputMsg != undefined) {
		message = inputMsg;
		var info="<table width=200 border=0 cellspacing=0 cellpadding=0>";
        info=info+"<tr>";
         info=info+"<td width=4 height=4><img src="+url+"images/i_k_tl.gif width=4 height=4 /></td>";
         info=info+"<td background="+url+"images/i_k_tm.gif></td>";
         info=info+"<td width=4><img src="+url+"images/i_k_tr.gif width=4 height=4 /></td></tr><tr>";
    info=info+"<td background="+url+"images/i_k_ml.gif>&nbsp;</td>";
    info=info+"<td style=background-color:#D4ECF9; line-height:150%; padding:2px;>";
    info=info+"<table width=200 border=0 cellpadding=3 cellspacing=1>";
      info=info+"<tr >";
        info=info+"<td align=left>"+"&nbsp;&nbsp;中文姓名&nbsp;&nbsp;&nbsp;&nbsp;刘平<br>";
		info=info+"&nbsp;&nbsp;英文姓名&nbsp;&nbsp;&nbsp;&nbsp;Ping/Liu"+"</td>";
        info=info+"</tr>";
    info=info+"</table></td>";
    info=info+"<td background="+url+"images/i_k_mr.gif>&nbsp;</td>";
  info=info+"</tr>";
  info=info+"<tr>";
  info=info+"  <td height=4><img src="+url+"images/i_k_bl.gif width=4 height=4 /></td>";
   info=info+" <td background="+url+"images/i_k_bm.gif></td>";
    info=info+"<td><img src="+url+"images/i_k_br.gif width=4 height=4/></td>";
  info=info+"</tr>";
info=info+" </table>";
thisDiv.innerHTML=info;
		
	} 
}


/*function hideName(here){
	 if(here.value="")
	here.value="证件上的姓名"
		
	}*/


function hideThisDiv() {
	thisDiv.style.display = "none";
	thisDiv.style.left = 0;
	thisDiv.style.top = 0;
	thisLayer.style.width = "0%";
	thisLayer.style.height = "0%";
}
