home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <TITLE>Grab Image</TITLE>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows1251">
- <STYLE TYPE="TEXT/CSS">
- <!--
- .dialogLight {font-family: Verdana,Arial; font-size: 8pt; font-weight: lighter}
- .LongButton {font-family: Verdana,Arial; font-size: 8pt; font-weight: bold; width: 180px}
- .dlgButton {font-family: Verdana,Arial; font-size: 8pt; font-weight: bold; width: 80px}
- .smalls {font-family: Verdana,Arial; font-size: 80%; font-weight: bold}
- -->
- </STYLE>
- <OBJECT ID="Engine" CLASSID="CLSID:04AB20C2-D25A-11D3-A94C-00C0F048995B">
- </OBJECT>
- <SCRIPT LANGUAGE="javascript" SRC="lib.js"></SCRIPT>
- <SCRIPT LANGUAGE="javascript" defer>
-
- var IEVersion = null;
- var strPath = null;
-
-
- function ReplaceCTToTop (SourceX, newCIN)
- {
- var CTList = SourceX.selectSingleNode("root/CTLIST");
- var child = SourceX.selectSingleNode("root\/CTLIST\/CATEGORY[@CID="+newCIN+"]");
- var childOldFirst = CTList.firstChild;
-
- if (child && (child !== childOldFirst))
- {
- CTList.removeChild(child);
- CTList.insertBefore(child, childOldFirst);
- return 1;
- }
- else
- return 0;
- }
-
-
- function SaveSource( SourceX )
- {
- var str;
-
- if (IEVersion == null)
- IEVersion = window.navigator.appVersion.substring(22, 25);
- //if (IEVersion.charAt(0) != '5')
- //return null;
-
- var userAgent = navigator.userAgent;
- var MSIEIndex = userAgent.indexOf("MSIE");
- if ((userAgent.indexOf("Win") == -1)
- || (userAgent.indexOf("MSIE") == -1)
- || userAgent.substring((MSIEIndex + 5),(MSIEIndex + 6)) < 5)
- return null;
-
- // check XML base encoding
- if (SourceX.childNodes[0].attributes[1].nodeValue != "utf-8")
- SourceX.childNodes[0].attributes[1].nodeValue ="utf-8";
-
- if (!Engine)
- {
- alert("Unable to load ActiveX object.");
- return null;
- }
-
- dbversion = SourceX.selectSingleNode ("root[@dbversion]");
- if (dbversion == null)
- {
- Root = SourceX.selectSingleNode ("root");
- Root.setAttribute ("dbversion", "1.0");
- }
-
- str = Engine.commitChanges( SourceX, 1);
- return str;
- }
-
-
- function ResolveJavaScriptURL (szJSData, szSourceURL)
- {
- var pos1, pos2, pos3;
- var bSign = 0;
-
- if (top.confirm ("It is internal site script code. Do you want try to resolve this reference?") == 0)
- return "";
-
- pos1 = szJSData.search(/\(\'/i);
- if (pos1 == -1)
- {
- pos1 = szJSData.search(/\(\"/i);
- bSign = 1;
- }
-
- if (pos1 == -1)
- return "";
-
- if (bSign == 1)
- {
- pos2 = szJSData.search(/\",/i);
- pos3 = szJSData.search(/\"\)/i);
- }
- else
- {
- pos2 = szJSData.search(/\',/i);
- pos3 = szJSData.search(/\'\)/i);
- }
- if ((pos2 == -1) && (pos3 == -1))
- return "";
- if (pos3 != -1)
- {
- if ((pos2 == -1) || (pos2 > pos3))
- pos2 = pos3;
- }
-
- szURL = szJSData.substring(pos1+2, pos2);
- if (szURL.search(/\./) == -1)
- return "";
- if (szURL.charAt(0) == '/')
- {
- TailPos = szSourceURL.search ('://');
- szSource = szSourceURL.substring(TailPos+3, szSourceURL.length-1);
- TailPos = szSource.search("/");
- if (TailPos == -1)
- {
- szSite = szSourceURL;
- if (szSite.charAt(szSite.length-1) =='/')
- szSite = szSite.substring(0,szSite.length-1);
- }
- else
- szSite = szSource.substring(0, TailPos);
- }
- else
- {
- szSite = szSourceURL;
- if (szSite.charAt(szSite.length-1) !='/')
- szSite = szSite+'/';
- }
-
- szURL = szSite + szURL;
- return szURL;
- }
-
-
- //============================================================================= defer script ================================================================
-
- Engine.HdWnd = 0;
-
- var Source;
- var SourceNew;
- var bSetDefCat;
-
- var Image;
-
- var ParentWin = external.menuArguments;
- var Doc = ParentWin.document;
- var CurEvent = ParentWin.event;
- var CurElement = CurEvent.srcElement;
-
- var IMGNode = null;
- var sz_IMGNode = "";
-
- var sz_IMGOriginal = "";
- var sz_URLOriginal = "";
-
- var sz_IMGTitle = "";
- var sz_IMGResolved = "";
- var sz_URLResolved = "";
-
- var sz_BannerName = "";
- var sz_Width = "";
- var sz_Height = "";
-
- var sz_IsMap = "false";
- var sz_UseMap = "";
- var sz_IMGMap = "";
- var bInput = 0;
-
-
- if ((CurElement.tagName == "IMG") && (CurElement.readyState != "complete"))
- {
- window.dialogHeight="0px";
- window.dialogWidth="0px";
-
- alert ("Please wait until the Web page is downloaded completely");
- window.close();
- }
- else
- {
- window.dialogHeight="0px";
- window.dialogWidth="0px";
- window.dialogLeft=(window.screen.width-610)/2;
- window.dialogTop=(window.screen.height-350)/2;
-
-
- Source = new ActiveXObject("Microsoft.XMLDOM");
- Source.async = false;
- //Source.load(sz_DataBaseFile);
- strPath = Engine.OpenXMLBase(Source,1, 1);
- if (!strPath)
- {
- ElXML = Source.createProcessingInstruction('xml', ' version="1.0" encoding="utf-8" ');
- Source.insertBefore(ElXML, null);
-
- // insert root element
- var Root = Source.createElement("root");
- Root.setAttribute("dbversion","1.0");
- Root.text = "\n\t";
- Source.appendChild(Root);
-
-
- var CtList = Source.createElement("CTLIST");
- CtList.setAttribute("CurrentCategory", "0000000000000000");
-
- var CtCommon = Source.createElement("CATEGORY");
- CtCommon.setAttribute("CID", "0000000000000001");
- CtCommon.setAttribute("Name", "Common");
- CtCommon.text = "\n";
-
- Root.appendChild(CtList);
- CtList.appendChild(CtCommon);
-
- var BannerBase = Source.createElement("BANNERBASE");
- BannerBase.setAttribute("OpenMode", "_blank");
- BannerBase.setAttribute("SortOrder", "-@CreationDate");
- if (Engine.Options == -1)
- {
- BannerBase.setAttribute("ShowSlots", "191");
- BannerBase.setAttribute("ConfirmDelete", "0");
- BannerBase.setAttribute("SmallPictures", "0");
- Engine.Options = 191;
- }
- else
- {
- BannerBase.setAttribute("ShowSlots", Engine.Options & 255);
-
- if (Engine.Options & 1024)
- BannerBase.setAttribute("ConfirmDelete", "1");
- else
- BannerBase.setAttribute("ConfirmDelete", "0");
-
- if (Engine.Options & 2048)
- BannerBase.setAttribute("SmallPictures", "1");
- else
- BannerBase.setAttribute("SmallPictures", "0");
- }
- BannerBase.text = "\n\t\t";
- Root.appendChild(BannerBase);
-
- strPath = SaveSource(Source);
- }
-
-
-
- if (CurElement.tagName == "AREA")
- {
- sz_UseMap = '#' + CurElement.parentElement.name;
-
- for (var CurArea = CurElement.parentElement.firstChild; CurArea != null; CurArea = CurArea.nextSibling)
- {
- if ((CurArea.tagName) && (CurArea.tagName == "AREA"))
- {
- CurArea.href = Engine.resolveDivert(CurArea.href);
-
-
- CurArea.onbeforecopy = null;
- CurArea.onbeforecut = null;
- CurArea.onbeforeeditfocus = null;
- CurArea.onbeforepaste = null;
- CurArea.onblur = null;
- CurArea.onhelp = null;
- CurArea.onclick = null;
- CurArea.ondbclick = null;
- CurArea.oncopy = null;
- CurArea.oncut = null;
- CurArea.ondrag = null;
- CurArea.ondragend = null;
- CurArea.ondragleave = null;
- CurArea.ondragstart = null;
- CurArea.ondrop = null;
- CurArea.onfocus = null;
- CurArea.onlosecapture = null;
- CurArea.onpaste = null;
- CurArea.onpropertychange = null;
- CurArea.onreadystatechange = null;
- CurArea.onselectstart = null;
- CurArea.onkeydown = null;
- CurArea.onkeyup = null;
- CurArea.onkeypress = null;
- CurArea.onmouseout = null;
- CurArea.onmouseover = null;
- CurArea.onmousemove = null;
- CurArea.onmousedown = null;
- CurArea.onmouseup = null;
-
- CurArea.CLASS=null;
- }
-
- }
-
- //sz_IMGMap = CurElement.parentElement.outerHTML;
- sz_IMGMap = CurElement.parentElement.innerHTML;
-
- var ar_ImageMap = new Array(Doc.images.length);
- for (var i = 0; i < Doc.images.length; i++)
- {
- ar_ImageMap[i] = Doc.images[i].useMap;
- Doc.images[i].useMap = "";
- }
- CurElement = Doc.elementFromPoint(CurEvent.clientX, CurEvent.clientY);
- for (var i = 0; i < Doc.images.length; i++)
- {
- Doc.images[i].useMap = ar_ImageMap[i];
- }
- }
-
- if (CurElement.tagName == "IMG")
- {
- IMGNode = CurElement;
- sz_IMGNode = CurElement.outerHTML;
-
- if (CurElement.isMap) {
- sz_IsMap = "true";
- }
-
- sz_IMGTitle = CurElement.nameProp;
- sz_IMGOriginal = CurElement.href;
-
- if (CurElement.alt != "")
- sz_BannerName = CurElement.alt;
- sz_Width = CurElement.width;
- sz_Height = CurElement.height;
-
-
- Image = CurElement;
- }
-
-
- if ((CurElement.tagName == "INPUT") && (((CurElement.type).toLowerCase()) == "image"))
- {
- IMGNode = CurElement;
- sz_IMGNode = CurElement.outerHTML;
-
-
- sz_Width = CurElement.width;
- sz_Height = CurElement.height;
- sz_BannerName = CurElement.alt;
- sz_IMGOriginal = CurElement.src;
- bInput = 1;
- }
-
-
- while ((CurElement.tagName != "A") && (CurElement.tagName != "BODY"))
- {
- if ((CurElement.tagName == "FORM") && (bInput))
- break;
- CurElement = CurElement.parentElement;
- }
- if (CurElement.tagName == "A")
- {
- sz_URLOriginal = CurElement.href;
- if (sz_BannerName == "")
- sz_BannerName = CurElement.alt;
- }
-
- if (CurElement.tagName == "FORM")
- {
- switch (CurElement.action.charAt(0))
- {
- case '/':
- //szSite = unescape(Doc.location.href);
- szSite = unescape(Engine.GetDocumentURL(Doc));
- if (szSite.charAt(szSite.length-1) =='/')
- szSite = szSite.substring(0,szSite.length-1);
- sz_URLOriginal =szSite + CurElement.action;
- break;
- case 0:
- //sz_URLOriginal = unescape(Doc.location.href);
- sz_URLOriginal = unescape(Engine.GetDocumentURL(Doc));
- break;
- default:
- sz_URLOriginal = CurElement.action;
- break;
- }
- }
-
-
- sz_IMGResolved = sz_IMGOriginal;
-
- if (sz_IsMap == "false")
- {
- JSPos = sz_URLOriginal.search("javascript:");
- if (JSPos == -1)
- JSPos = sz_URLOriginal.search("vbscript:");
- if (JSPos != -1)
- {
- //szScriptData = sz_URLOriginal.substring (JSPos, sz_URLOriginal.length-1);
- //sz_URLResolved = ResolveJavaScriptURL (sz_URLOriginal, unescape(Doc.location.href));
- sz_URLResolved = ResolveJavaScriptURL (sz_URLOriginal, Engine.GetDocumentURL(Doc));
- }
- else
- sz_URLResolved = Engine.resolveDivert(sz_URLOriginal);
- }
- else
- {
- //Bad case - Server Side Map in use - nothing can be done
- sz_URLResolved = sz_URLOriginal;
- }
-
- var sz_CurrentTitle = Doc.title;
- }
-
-
- function LoadDialog()
- {
- if (sz_UseMap == "")
- {
- isMap=0;
- InitDialog();
- }
- else
- {
- isMap=1;
- InitDialog();
- }
- window.dialogHeight="100px";
- window.dialogWidth="100px";
- fnResize(document, window);
- }
-
- function InitList ()
- {
- var CTListNames = Source.selectNodes("root\/CTLIST\/CATEGORY\/@Name");
- var CTListIDs = Source.selectNodes("root\/CTLIST\/CATEGORY\/@CID");
- var CurrentCT = Source.selectSingleNode("root\/CTLIST\/@CurrentCategory");
- var Sel = document.all.CT_LIST;
-
- if ((CTListNames == null) || (CTListIDs == null) || (CurrentCT == null) || (Sel == null))
- return;
-
- while (Sel.options[0])
- Sel.options.remove(0);
-
- CurID = CurrentCT.nodeValue;
- if (CurID == "0000000000000000")
- CurID = "0000000000000001";
-
-
- if ((CTListNames == null) || (CTListIDs == null))
- alert (" Unable to read categories data.")
- else
- {
- for (i=0; i< CTListNames.length; i++)
- {
- var objOption= document.createElement ("OPTION");
- objOption.text = CTListNames[i].nodeValue;
- objOption.value = CTListIDs[i].nodeValue;
- Sel.options.add (objOption);
- if (objOption.value == CurID)
- objOption.selected = true;
- else
- objOption.selected = false;
- }
- }
- }
-
-
- function InitDialog ()
- {
- IEVersion = window.navigator.appVersion.substring(22, 25);
- //if (IEVersion.charAt(0) != '5')
- //{
- // alert ("This program runs under Microsoft Internet Explorer 5.0 or higher only.");
- // window.close();
- // return;
- //}
-
- var userAgent = navigator.userAgent;
- var MSIEIndex = userAgent.indexOf("MSIE");
- if ((userAgent.indexOf("Win") == -1 )
- || (userAgent.indexOf("MSIE") == -1)
- || userAgent.substring((MSIEIndex + 5),(MSIEIndex + 6)) < 5)
- {
- alert ("This program runs under Microsoft Internet Explorer 5.0 or higher only.");
- window.close();
- return;
- }
-
- var CurrentCT;
-
- if (Source)
- {
- CurrentCT = Source.selectSingleNode("root\/CTLIST\/@CurrentCategory");
- InitList ();
- }
-
- if (isMap == 1)
- document.all["formUrl"].outerHTML = "<p>MAP - Cannot change the URL here.";
- else
- document.all["formUrl"].value = sz_URLResolved;
- document.all["formName"].value = sz_BannerName;
-
- if ((!sz_BannerName) || (sz_BannerName == ""))
- {
- sz_BannerName = "Untitled";
- }
- document.all["formName"].value = sz_BannerName;
-
- if (strPath)
- {
- document.all.item("DBName").innerText = strPath;
- document.all.item("DBName").title = strPath;
- }
- }
-
- function onCancel()
- {
- window.close();
- }
-
- function onOk()
- {
- if (isMap == 0)
- sz_URLResolved = document.all["formUrl"].value;
- if (document.all["formName"].value!="")
- {
- if (isMap == 0)
- {
- if ((sz_URLResolved.search ('://') == -1) && (sz_URLResolved.search ('@') == -1) && (sz_URLResolved.length>0))
- {
- sz_URLResolved="http://"+sz_URLResolved;
- }
- if ((sz_URLResolved.search('@')!=-1) && (sz_URLResolved.search('mailto:') == -1))
- {
- sz_URLResolved = "mailto:" + sz_URLResolved;
- }
- }
- sz_Categories = document.all["CT_LIST"].options[document.all["CT_LIST"].selectedIndex].value;
- sz_BannerName = document.all["formName"].value;
- getComment = document.all["formComment"].value;
- bSetDefCat = document.all.CheckDef.checked;
- if (addBanner())
- {
- window.close();
- }
- }
- else
- {
- alert("The category name cannot be blank.");
- }
- }
-
-
- function onOpenXML ()
- {
- SourceNew = new ActiveXObject("Microsoft.XMLDOM");
- SourceNew.async = false;
- strPath = Engine.OpenXMLBase (SourceNew, 0, 1);
- if (strPath)
- {
- Source = SourceNew;
- InitList ();
- document.all.item("DBName").innerText = strPath;
- document.all.item("DBName").title = strPath;
- }
- }
-
-
- function onKeyPress()
- {
- if (event.keyCode == 27)
- {
- onCancel();
- }
- if (event.keyCode == 13)
- {
- onOk();
- }
- }
-
-
- function addBanner()
- {
- var ct_cur;
-
-
- SourceNew = new ActiveXObject("Microsoft.XMLDOM");
- SourceNew.async = false;
- strPath = Engine.OpenXMLBase(SourceNew, 1, 1);
- if (strPath && (SourceNew.selectSingleNode("root\/CTLIST\/CATEGORY[@CID="+sz_Categories+"]") != null))
- {
- //All three parameters mustn't be empty
- if ((sz_BannerName != null) && (sz_BannerName != "") && (sz_IMGResolved != ""))
- {
- var Root = SourceNew.selectSingleNode("root");
- var BannerBase = SourceNew.selectSingleNode("root/BANNERBASE");
- if (BannerBase == null)
- {
- BannerBase = Source.createElement("BANNERBASE");
-
- BannerBase.setAttribute("OpenMode", "_blank");
- BannerBase.setAttribute("SortOrder", "-@CreationDate");
- if (Engine.Options == -1)
- {
- BannerBase.setAttribute("ShowSlots", "191");
- BannerBase.setAttribute("ConfirmDelete", "0");
- BannerBase.setAttribute("SmallPictures", "0");
- Engine.Options = 191;
- }
- else
- {
- BannerBase.setAttribute("ShowSlots", Engine.Options & 255);
-
- if (Engine.Options & 1024)
- BannerBase.setAttribute("ConfirmDelete", "1");
- else
- BannerBase.setAttribute("ConfirmDelete", "0");
-
- if (Engine.Options & 2048)
- BannerBase.setAttribute("SmallPictures", "1");
- else
- BannerBase.setAttribute("SmallPictures", "0");
- }
- BannerBase.text = "\n\t\t";
-
- Root.appendChild(BannerBase);
- }
-
- if (BannerBase != null)
- {
- var UIN = 0;
- var UINs = SourceNew.selectNodes("root/BANNERBASE/BANNER/@UIN");
- for (Index = 0; Index < UINs.length; Index++)
- {
- if (parseInt(UINs[Index].text, 10) > UIN)
- UIN = parseInt(UINs[Index].text, 10);
- }
- UIN++;
-
-
-
- if (IEVersion == "5.0")
- // save throw IE command -> clipboard
- sz_IMGResolved = Engine.saveImage (IMGNode, UIN);
- else
- // save throw WinInet service
- sz_IMGResolved = Engine.saveImage2 (IMGNode, UIN);
-
- var Banner = SourceNew.createElement("BANNER");
-
- var sc_UIN = "0000000000000000" + UIN;
- sc_UIN = sc_UIN.substr(sc_UIN.length - 16);
- Banner.setAttribute("UIN", sc_UIN);
-
- if (sz_IMGMap != "")
- sz_URLResolved = "";
-
- Banner.setAttribute("Name", sz_BannerName);
- Banner.setAttribute("Image", sz_IMGResolved);
- Banner.setAttribute("Width", sz_Width);
- Banner.setAttribute("Height", sz_Height);
- Banner.setAttribute("Url", sz_URLResolved);
- Banner.setAttribute("Map", escape(sz_IMGMap));
- Banner.setAttribute("IsMap", sz_IsMap);
- Banner.setAttribute("Comment", getComment);
- // This does not work under IE 6.0 due to changes in security model
- //Banner.setAttribute("SourceUrl", unescape(Doc.location.href));
- Banner.setAttribute("SourceUrl", Engine.GetDocumentURL(Doc));
-
-
- var sc_Time = "0000000000000000" + Date.parse(new Date());
- sc_Time = sc_Time.substr(sc_Time.length - 16);
- Banner.setAttribute("LastAccess", sc_Time);
- Banner.setAttribute("CreationDate", sc_Time);
-
-
- Banner.setAttribute("IMGNode", sz_IMGNode);
- Banner.setAttribute("ID_CATEGORY", sz_Categories);
-
-
- if (bSetDefCat)
- {
- CurrentCT = SourceNew.selectSingleNode("root\/CTLIST\/@CurrentCategory");
- nSel = document.all.CT_LIST.selectedIndex
- CurrentCT.nodeValue = document.all.CT_LIST.options[nSel].value;
- ReplaceCTToTop (SourceNew, sz_Categories);
- }
-
-
-
- Banner.text = "\n\t\t";
- BannerBase.appendChild(Banner);
- SaveSource (SourceNew);
- Engine.UpdateData (strPath);
- return 1;
- }
- }
- }
- else
- {
- alert ("Unable to save image.");
- Source = SourceNew;
- if (Source)
- InitList ();
- return 0;
- }
- }
-
- function fnGrabOnKeyDown(event)
- {
- switch (event.keyCode)
- {
- case 37:
- case 39:
- case 35:
- case 36:
- return false;
- }
- event.returnValue = false;
- return false;
- }
-
- </SCRIPT>
- </HEAD>
- <BODY bgcolor=silver onKeyDown="onKeyPress()" onload="LoadDialog()" class="dialogLight" STYLE="MARGIN:5px;" SCROLL="no">
- <CENTER>
- <FIELDSET ID="Input" STYLE="WIDTH:590px; MARGIN:0px; PADDING:0px;">
- <FORM id=form1 name=form1>
- <TABLE border=0 cellspacing=4 cellpadding=0 width="100%">
- <TR>
- <TD CLASS="smalls" WIDTH="80px">Name:</TD>
- <TD><input id=formName style="WIDTH: 490px"></TD>
- </TR>
- <TR>
- <TD CLASS="smalls" WIDTH="80px">Comment:</TD>
- <TD><input id=formComment style="WIDTH: 490px"></TD>
- </TR>
- <TR>
- <TD CLASS="smalls" WIDTH="80px">Refers to:</TD>
- <TD><input id=formUrl style="WIDTH: 490px"></TD>
- </TR>
- <TR>
- <TD CLASS="smalls" WIDTH="80px">Catalog:</TD>
- <TD>
- <TABLE border=0 cellspacing=0 cellpadding=0 width="100%">
- <TD><INPUT type=text maxlength=1024 onkeydown="fnGrabOnKeyDown(event)" id=DBName style="background-color:lightgrey; WIDTH: 400px"></INPUT></TD>
- <TD><BUTTON onClick=onOpenXML() title="Open Image Catalog" id=button0 name=button0 class="LongButton" style="HEIGHT: 25px; WIDTH: 82px; left:-50;"><IMG src="color.bmp">Open...</BUTTON></TD>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- <TABLE border=0 cellspacing=4 cellpadding=0 width="100%">
- <TR>
- <TD CLASS="smalls" WIDTH="80px">Category:</TD>
- <TD width="120px"><SELECT NAME="CT_LIST" ALIGN="left" style="FONT-SIZE: 80%; WIDTH: 120px" id=CT_LIST></SELECT></TD>
- <TD width="250px" CLASS="smalls" align="right">Set as default category:</TD>
- <TD><INPUT TYPE="checkbox" align="left" NAME="CheckDef" id=CheckDef></TD>
- <TD></TD>
- </TR>
- </TABLE>
- </FORM>
- </FIELDSET>
- </CENTER>
- <P ALIGN=RIGHT STYLE="WIDTH:590px; MARGIN:0px; MARGIN-TOP:5px; PADDING:0px; text-align:right">
- <BUTTON onClick=onOk() accesskey="O" title="Press to add this image" id=button1 name=button1 class="dlgButton" STYLE="MARGIN:0px; MARGIN-RIGHT:3px; MARGIN-BOTTOM:5px; PADDING:0px"><IMG src="color.bmp">OK</BUTTON>
- <BUTTON onClick=onCancel() accesskey="C" title="Cancel" id=Cancel name=Cancel class="dlgButton" STYLE="MARGIN:0px; MARGIN-LEFT:4px; MARGIN-BOTTOM:5px; PADDING:0px"><IMG src="color.bmp">Cancel</BUTTON></P>
- </BODY>
- </HTML>
-