<style type="text/css">
	<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

#Layer1_close {
	position:absolute;
	left:238px;
	top:7px;
	width:18px;
	height:17px;
	z-index:4;
}
--></style>
<link href="css.css" rel="stylesheet" type="text/css" />
<body style="overflow:hidden;" >
	<script language="javascript" src="js/comm.js" type="text/javascript"></script>
	<script language="javascript">
// import js document
	_import("product");_import("function");
	
	
	_import("webmenuevent");
	_import("control");
	</script>
	<script language="javascript">
var XRA=new xmlResourceAgent("mainctl.xml",langType);
	</script>
	<div id="Layer1_close" style="">
		<div style="cursor:hand;" onClick="SetYesNoVal('no');" onMouseOver="changeSubImgTo(this,'pic/close_red.gif')"
			onMouseOut="changeSubImgTo(this,'pic/close_blue.gif')"><img src="pic/close_blue.gif" ondragstart="changeSubImgTo(this.parentNode,'pic/close_blue.gif');return false;"
				width="16" height="16"></div>
	</div>
	<table width="265" border="0" cellspacing="0" cellpadding="0" id="boxwidth">
		<tr>
			<td background="images/alert_msg_r1_c5.jpg" onMouseDown="moveWindow();"><table width="165" height="29" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="165" background="images/alert_msg_r1_c1.jpg" style="background-repeat:no-repeat;">&nbsp;</td>
					</tr>
				</table>
			</td>
			<td align="right" background="images/alert_msg_r1_c5.jpg" onMouseDown="moveWindow();"><table width="30%" height="29" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td style="background-image:url(images/alert_msg_top_right.jpg); background-repeat:no-repeat; background-position:right;">&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td valign="top"><img src="images/alert_msg_r4_c1.jpg" width="9" height="6" /></td>
						<td><img src="" width="1" height="1" alt="" /></td>
						<td align="right" valign="top"><img src="images/alert_msg_r4_c11.jpg" width="9" height="6" /></td>
					</tr>
				</table>
				<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" id="boxheight">
					<tr>
						<td width="10" align="left" valign="bottom" background="images/alert_msg_r5_c1.jpg"
							style="background-position:left; background-repeat:repeat-y;">&nbsp;</td>
						<td style="background-repeat:repeat-x; background-position:bottom;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" id="msgTextTable">
								<tr>
									<td width="50" align="center"><img id="iconShow" src="images/alert_icon_error.jpg" width="34" height="34" /></td>
									<td class="arial12pinkbold" style="padding-left:10px;" id="fontcolortd"><span id="rit_msg"></span></td>
								</tr>
								<tr>
									<td colspan="2" align="center" style="padding-top:10px;">
										<div style="height:21px;" class="Arial12black" id="button_yesorno">
											<button id="alert_button_yesno_yes" cstyle="rit" style="display:none;" onClick="SetYesNoVal('yes')">Yes</button><div style="width:5px;display:inline;"></div><button id="alert_button_yesno_no" cstyle="rit" style="display:none;" onClick="SetYesNoVal('no')">No</button>
										</div>
									</td>
								</tr>
							</table>
						</td>
						<td width="10" align="right" valign="bottom" background="images/alert_msg_r5_c10.jpg"
							style="background-position:right; background-repeat:repeat-y;">&nbsp;</td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="5%" valign="top" background="images/alert_msg_bottom_center.jpg" style="background-position:top; background-repeat:repeat-x;"><img src="images/alert_msg_bottom_left.jpg" width="9" height="12" /></td>
						<td width="90%" background="images/alert_msg_bottom_center.jpg" style="background-position:top; background-repeat:repeat-x;">&nbsp;</td>
						<td width="5%" align="right" valign="top" background="images/alert_msg_bottom_center.jpg"
							style="background-position:top; background-repeat:repeat-x;"><img src="images/alert_msg_bottom_right.jpg" width="9" height="12" /></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
<script language="javascript">
var isMove=true;
var leftButtonId="";
var rightButtonId="";
function moveWindow() {
	if (isMove) {
		window.external.OnMoveWindow();
	}
}


document.body.onload=function() 
{
	applyButton();
	document.getElementById("Layer1_close").style.display="";
	
	//document.getElementById("rit_msg").innerHTML=XRA.getString('Main_in_safe_mode');
	document.getElementById("rit_msg").innerHTML=XRA.getString('Main_comf_exit');
}

function SetYesNoVal( szVal )
{
	if ( szVal == "" )
	{
		szVal = "no";
	}
	window.external.SetStaticData( szVal );
	window.external.OnClose;
}
SetYesNoVal("yes");
function changeSubImgTo(parentNodeObj,url)
{
	var childNodesArray=parentNodeObj.childNodes;
	if (childNodesArray[0].src!=url)
	{
		childNodesArray[0].src=url;
	}
}
</script>