<html> <head> <title>windows</title> <script language="javascript" src="js/comm.js" type="text/javascript"></script> <script language="javascript"> // import js document _import("product");_import("function"); _import("control"); </script> <title>alert</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="css/main.css" type="text/css" rel="stylesheet"> <link href="css/alert.css" type="text/css" rel="stylesheet"> </head> <body style="background-color:#FFFFFF; margin:0px;" onkeydown="return false;"> <div id="pagetitle" class="PageTitle" style="position:absolute; top:2px; left:6px; z-index:500; font-size:12px;"></div> <div id="alert-table" style="position:absolute; top:0px; left:0px;"> <div id="alert-01" onMouseDown="windowMoveWindow();"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-02" onMouseDown="windowMoveWindow();"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-03" onMouseDown="windowMoveWindow();"> <div style="position:absolute; left:24px; top:2px; cursor:pointer;" onClick="javascript:window.external.OnCancle();"><img src="images/alert_exit.gif" width="17" height="17"></div> </div> </div> <div id="alert-04"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-05"> <!-- coding here start--> <div id="rit_msg" style="padding-top:10px; padding-left:10px;" class="PageText"> </div> <div style="padding-top:30px; padding-left:6px;"> <div style="float:left; padding-right:6px;"> <button cstyle="rit" id="Button_Erase_Btn" onClick="javascript:SetErase();">Erase</button> </div> <div style="float:left; padding-right:6px;"> <button cstyle="rit" id="Button_Change_Btn" onClick="javascript:SetChange();">Change</button> </div> <div style="float:left;"> <button cstyle="rit" id="Button_Cancel_Btn" onClick="javascript:SetCancel();">Cancel</button> </div> <div style="clear:both;"></div> </div> <!-- coding here end--> </div> <div id="alert-06"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-07"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-08"> <img src="" width="1" height="1" alt=""> </div> <div id="alert-09"> <img src="" width="1" height="1" alt=""> </div> </div> <!-- End ImageReady Slices --> <script language="javascript" type="text/javascript"> ////eraseOrChangeDisc erase change cancel var XMLRA=new xmlResourceAgent("EFB_xmlStrings.xml",langType); function moveWindow() { window.external.OnMoveWindow();} function SetErase() { window.external.SetStaticData("erase");SetExit(); } function SetChange() { window.external.SetStaticData("change");SetExit(); } function SetCancel() { window.external.SetStaticData("cancel");SetExit(); } function SetExit() { window.external.OnOK(); } document.body.onload=function() { window.external.SetStaticData("cancel"); var alertWidth = parseInt(Request("width")); var alertHeight = parseInt(Request("height")); SetAlertWidthAndHeight( alertWidth , alertHeight ); applyButton(); $("pagetitle").innerHTML = FarstoneProductName; $("rit_msg").innerHTML = GS_Back("ChangeraseCancel_Promotion"); $("Button_Erase_Btn").setValue(GS_Back("Button_Erase")); $("Button_Change_Btn").setValue(GS_Back("Button_Change")); $("Button_Cancel_Btn").setValue(GS_Back("Button_Cancel")+" "); SetAllInputTextEvent(); } function OnEnterKeyPress() { SetErase(); } function SetAlertWidthAndHeight(wWidth,wHeight) { SetDivWidhtAndHeight("alert-table",wWidth,wHeight); SetDivWidhtAndHeight("alert-02",wWidth-10-50,24); SetDivWidhtAndHeight("alert-04",10,wHeight-24-8); SetDivWidhtAndHeight("alert-05",wWidth-10-9,wHeight-24-8); SetDivWidhtAndHeight("alert-06",9,wHeight-24-8); SetDivWidhtAndHeight("alert-08",wWidth-10-9,8); var topRelativeSize=wHeight-8; topRelativeSize+="px"; var leftRelativeSize=wWidth-9; leftRelativeSize+="px"; var window3Left=wWidth-50; window3Left+="px"; document.getElementById("alert-07").style.top = topRelativeSize; document.getElementById("alert-08").style.top = topRelativeSize; document.getElementById("alert-09").style.top = topRelativeSize; document.getElementById("alert-03").style.left = window3Left; document.getElementById("alert-06").style.left = leftRelativeSize; document.getElementById("alert-09").style.left = leftRelativeSize; } </script> </body> </html>