﻿<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<%#@~^FwQAAA==@#@&B:[a[aa[a[:a[a:a[a::[aa[:a[aa[::a[a[a:a::[a:a[:a[a::[aa::[a:a[:[a:[P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P@#@&B★,P,~P,P~PS+8TRRxOP P威博购物系统P,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,@#@&E★P~版权所有),hn8Z%R	nY,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P@#@&B★,P程序制作),威博网络技术公司P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P@#@&B★,P~~,PP~~,Pn:mr^)A4Z%xY@$4WD:Ck^R^GsPP,~P,PP,~~P,P,P~P~~,P~P,~P@#@&v★~,PP~~,P~P,~5P},)+c*Z,l+%Z~*Gl,0TR ,@#@&B★iPP,~~P,电话)Z qOXXl T!80P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,@#@&E★PP相关网址=~,产品介绍T,tDY2)&&ShARZ+FS+8 1W: ^	zLhXOctOsV@#@&B★,P,~P,P~P,P~,支持论坛YPtDOw=zz(8dRS+(!0RUnDz~P,~P,P~~,PP~~,P~P,~,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,@#@&E★P,主页地址)P4YD2)JzAhSRAn(!%cU+DzP,@#@&B★id4YOwl&JhAhcT 8hn8cmWh 1x&di7,P~,P,PP,P,~P,P~P,P~~,PP,~P,PP,~~P,P,P~P~~,P~P,~P,P~~,PP~~,P~P,~,@#@&Ea[aa[a[:a[a:a[a::[aa[:a[aa[::a[a[a:a::[a:a[:a[a::[aa::[a:a[:[a:[a[a@#@&V50AAA==^#~@%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<style>
body{font-size:12px}
</style>
<div id="mytips" style="position:absolute;border:1px solid #FF9900;padding:0px 3px;color:#FF9900;display:none;height:20px;line-height:20px;background:#FFCC80; color:#00000"></div>
<title>参数设置</title>
</head>
<script src="../../JS/PublicJS.js" language="JavaScript"></script>

<script language="JavaScript" type="text/JavaScript">    
	function SetColor(formtype,formtype1){
		var arr = showModalDialog("../../inc/SelColor.htm", "", "dialogWidth:18.5em; dialogHeight:17.5em; status:0; help:0");
		if (arr != null){
			document.getElementById(formtype).value=arr;
			document.getElementById(formtype1).style.backgroundColor = arr;
		}
	}
</script>
<script>
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>


<!-- #include file="../include2.asp" -->
<%#@~^fAAAAA==@#@&mG	x94@#@&/OPM/x/D-nMRZMnlD+r(%nmD`rl[W[8cDnmK.Nk+OE*@#@&d5^'E/smO,e,0DK:,	+({	+(mGU6kor@#@&M/RK2nx,/$VSmGU	~q~2@#@&2CUAAA==^#~@%>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="ShowInfo(<%=#@~^FQAAAA==]k`E~{tlD0ZKhwKxnxDJbOQcAAA==^#~@%>);">

<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <form name="myform" method="post" action="wactivesave.asp?action=Benefitconfig" >
    <tr>
      <td valign="middle"><table width="48%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="160" align="right"><img src="../images/index/GOODS.gif" width="150" height="50"></td>
          <td background="../images/index/label.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#688A00">商品促销管理 
            | NUMBER MANAGE </font></strong> <br>
                <br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商品促销管理&gt;优惠券参数设置</td>
        </tr>
      </table></td>
    </tr>
    
    <tr>
      <td align="center"><!--#include file="web_active_include.asp"--></td>
    </tr>
    
    <tr>
      <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10" height="10"><img src="../images/index/WN.gif" width="10" height="10"></td>
          <td height="10" background="../images/index/N.gif"><img src="../images/index/N.gif" width="1" height="10"></td>
          <td width="10"><img src="../images/index/EN.gif" width="10" height="10"></td>
        </tr>
        <tr>
          <td background="../images/index/W.gif">&nbsp;</td>
          <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
            
            
    
            <tr>
              <td height="20" colspan="4" align="center" background="../images/inputback.gif" bgcolor="#FFFFFF"><font color="#006699">【 图片优惠券参数设置 】</font></td>
              </tr>
            <tr>
              <td height="30" colspan="4" align="right" bgcolor="#FFFFFF"><table width="70" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="37"><a href="javascript:history.go(-1);"><img src="../images/goback.gif"  border="0" align="absmiddle" /></a></td>
                  <td width="33" valign="bottom"><a href="javascript:history.go(-1);">返回</a></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="12" colspan="4" align="right" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
          <tr>
            <td bgcolor="#eeeeee"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
               
    
    <tr bgcolor="#F5F5F5" > 
      <td width="25%" height="23" align="right" bgcolor="#FFFFFF">选择使用组件</td>
      <td width="75%" bgcolor="#FFFFFF"> <select name="MarkComponent" id="MarkComponent" onChange="ShowInfo(this.value)" style="width:30%">
       
          <option value=1 <%#@~^RQAAAA==(6P]U`rA{tlMVZK:2W	+UOr#P{~J8JP:4nx,I/2WUdR	DbO+vJdn^+mOn9JbPAU9Pr6NRYAAA==^#~@%>>AspJpeg组件 
          <option value=2 <%#@~^RQAAAA==(6P]U`rA{tlMVZK:2W	+UOr#P{~JyJP:4nx,I/2WUdR	DbO+vJdn^+mOn9JbPAU9Pr6NhYAAA==^#~@%>>wsImage组件 
          <option value=3 <%#@~^RQAAAA==(6P]U`rA{tlMVZK:2W	+UOr#P{~J2JP:4nx,I/2WUdR	DbO+vJdn^+mOn9JbPAU9Pr6NxYAAA==^#~@%>>SA-ImgWriter组件 
        </select> <span id="ComponentInfo"></span> </td>
    </tr>
    <tr align="left" valign="top" bgcolor="#F5F5F5"  cellpadding="0" cellspacing="0">
      <td colspan=2><table width=100% cellpadding="2" cellspacing="1"  bordercolor="e6e6e6" bgcolor="#CCCCCC">
        <tr bgcolor="#FFFFFF">
          <td width="280" height="23" align="right" bgcolor="#FFFFFF">字体大小</td>
          <td width="885" bgcolor="#FFFFFF"><INPUT NAME="MarkFontSize" TYPE="text" value="<%=#@~^FAAAAA==]U`E~{tlD0sKUYUk"+r#mAYAAA==^#~@%>" size=10 maxlength="2"  onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" onkeyup="value=value.replace(/[^\d]/g,'')">
              <b>px</b> </td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="23" align="right" bgcolor="#FFFFFF">字体颜色</td>
          <td bgcolor="#FFFFFF"><input name="MarkFontColor" type="text" id="MarkFontColor" value="<%=#@~^FQAAAA==]U`E~{tlD0sKUY;WsWMJb/AYAAA==^#~@%>" size = 7 maxlength = 7 readonly>
              <img src="../../images/CommImages/Rect.gif" name="MarkFontColorShow" width="18" height="17" border=0 id="MarkFontColorShow" style="cursor:pointer;background-Color:<%=#@~^FQAAAA==]U`E~{tlD0sKUY;WsWMJb/AYAAA==^#~@%>;" title="选取颜色!" onClick="SetColor('MarkFontColor','MarkFontColorShow');"> </td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="23" align="right" bgcolor="#FFFFFF">字体名称</td>
          <td bgcolor="#FFFFFF"><SELECT name="MarkFontName" id="MarkFontName">
              <option value="宋体" <%#@~^RQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E宋体J,KtU~I/aWU/n qDrYcJk+sn1Y+[E*P3x9~b0aRUAAA==^#~@%>>宋体</option>
              <option value="楷体_GB2312" <%#@~^TAAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E楷体{VA 2q+J,K4+UP]nkwGxknRqDrO`Jdn^+^Y[r#~Ax9Pk6GRcAAA==^#~@%>>楷体</option>
              <option value="新宋体" <%#@~^RgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E新宋体J,KtU~I/aWU/n qDrYcJk+sn1Y+[E*P3x9~b0aRUAAA==^#~@%>>新宋体</option>
              <option value="黑体" <%#@~^RQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E黑体J,KtU~I/aWU/n qDrYcJk+sn1Y+[E*P3x9~b0aRUAAA==^#~@%>>黑体</option>
              <option value="隶书" <%#@~^RQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E隶书J,KtU~I/aWU/n qDrYcJk+sn1Y+[E*P3x9~b0aRUAAA==^#~@%>>隶书</option>
              <OPTION value="Andale Mono" <%#@~^TgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',Eb	Nl^n~HKxKJ~K4n	P]+k2W	/n qDkOnvJd+^n1Yn9J*P2	N,r0ZxkAAA==^#~@%>>Andale 
                Mono</OPTION>
              <OPTION value="Arial" <%#@~^SAAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EbMkl^E~K4+	P]+d2Kxd+c	DbYncr/+sn1YnNrb,2U9Pb0UhcAAA==^#~@%>>Arial</OPTION>
              <OPTION value="Arial Black" <%#@~^TgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EbMkl^~$Vmm0J~K4n	P]+k2W	/n qDkOnvJd+^n1Yn9J*P2	N,r0TxkAAA==^#~@%>>Arial 
                Black</OPTION>
              <OPTION value="Book Antiqua" <%#@~^TwAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EAKW3,)UYb;!lEPP4x~IdwKxdncDrO`E/smONr#PAx9~k65xkAAA==^#~@%>>Book 
                Antiqua</OPTION>
              <OPTION value="Century Gothic" <%#@~^UQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EZxY!.zPVWDtrmE~:tnx,]+kwGUk+R	.bYn`rdVn1YNJ*PAUN,kW0RoAAA==^#~@%>>Century 
                Gothic</OPTION>
              <OPTION value="Comic Sans MS" <%#@~^UAAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EZK:k1~jl	/,HjJ~P4+UP"n/aWUdR.rD+cJkn^+^D+9J#,2	[Pb0yRkAAA==^#~@%>>Comic 
                Sans MS</OPTION>
              <OPTION value="Courier New" <%#@~^TgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EZKEDbn.Pg+SJ~K4n	P]+k2W	/n qDkOnvJd+^n1Yn9J*P2	N,r0jBkAAA==^#~@%>>Courier 
                New</OPTION>
              <OPTION value="Georgia" <%#@~^SgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EMWDTrCJ,K4+UP]nkwGxknRqDrO`Jdn^+^Y[r#~Ax9Pk6JxgAAA==^#~@%>>Georgia</OPTION>
              <OPTION value="Impact" <%#@~^SQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',Eqswl1OEP:tx~IndaWU/ MkOnvJ/nsmO+9E*P3	N,k0xxcAAA==^#~@%>>Impact</OPTION>
              <OPTION value="Tahoma" <%#@~^SQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EKmtWsCEP:tx~IndaWU/ MkOnvJ/nsmO+9E*P3	N,k0wxcAAA==^#~@%>>Tahoma</OPTION>
              <OPTION value="Times New Roman" <%#@~^UgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EKb:+k~H+SP"WhlUE,K4+	~I/2G	/+ 	MkO+vEk+smD+Nr#,3x9Pr00hoAAA==^#~@%>>Times 
                New Roman</OPTION>
              <OPTION value="Trebuchet MS" <%#@~^TwAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',EKM+4!^4+DPt?EPP4x~IdwKxdncDrO`E/smONr#PAx9~k6zxkAAA==^#~@%>>Trebuchet 
                MS</OPTION>
              <OPTION value="Script MT Bold" <%#@~^UQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E?1DkaO~H:P~WsNE~:tnx,]+kwGUk+R	.bYn`rdVn1YNJ*PAUN,kWQBoAAA==^#~@%>>Script 
                MT Bold</OPTION>
              <OPTION value="Stencil" <%#@~^SgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E?D+x1rsJ,K4+UP]nkwGxknRqDrO`Jdn^+^Y[r#~Ax9Pk6OxgAAA==^#~@%>>Stencil</OPTION>
              <OPTION value="Verdana" <%#@~^SgAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',E.DNmUCJ,K4+UP]nkwGxknRqDrO`Jdn^+^Y[r#~Ax9Pk6KhgAAA==^#~@%>>Verdana</OPTION>
              <OPTION value="Lucida Console" <%#@~^UQAAAA==(6P]U`rA{tlMVsKxO1m:nE*P',ES!mk9C~ZKxkWs+E~:tnx,]+kwGUk+R	.bYn`rdVn1YNJ*PAUN,kWrhoAAA==^#~@%>>Lucida 
                Console</OPTION>
            </SELECT>          </td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="23" align="right" bgcolor="#FFFFFF">字体是否粗体</td>
          <td bgcolor="#FFFFFF"><SELECT name="MarkFontBond" id="MarkFontBond">
              <OPTION value=0 <%#@~^RAAAAA==(6P]U`rA{tlMVsKxOAKx[E*P',E!rPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kWmxUAAA==^#~@%>>否</OPTION>
              <OPTION value=1 <%#@~^RAAAAA==(6P]U`rA{tlMVsKxOAKx[E*P',EFrPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kWnBUAAA==^#~@%>>是</OPTION>
            </SELECT>          </td>
        </tr>
        <!-- 上传图片添加水印LOGO图片定义 -->
        <tr bgcolor="#FFFFFF">
          <td height="23" align="right" bgcolor="#FFFFFF">文字位置坐标</td>
          <td bgcolor="#FFFFFF"><SELECT NAME="MarkPosition" id="MarkPosition">
              <option value="1" <%#@~^RAAAAA==(6P]U`rA{tlMVnK/rYbWUE*P',EFrPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kW1xUAAA==^#~@%>>左上</option>
              <option value="2" <%#@~^RAAAAA==(6P]U`rA{tlMVnK/rYbWUE*P',E rPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kW2BUAAA==^#~@%>>左下</option>
              <option value="3" <%#@~^RAAAAA==(6P]U`rA{tlMVnK/rYbWUE*P',E&rPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kW2RUAAA==^#~@%>>居中</option>
              <option value="4" <%#@~^RAAAAA==(6P]U`rA{tlMVnK/rYbWUE*P',EcrPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kW2hUAAA==^#~@%>>右上</option>
              <option value="5" <%#@~^RAAAAA==(6P]U`rA{tlMVnK/rYbWUE*P',E*rPK4nUP"+kwGxdnc.kDn`r/nsmYn[r#~2	[,kW2xUAAA==^#~@%>>右下</option>
            </SELECT>          </td>
        </tr>
      </table></td>
    </tr>
    <tr align="left" valign="top" bgcolor="#F5F5F5"  cellpadding="0" cellspacing="0"> 
      <td colspan=2 align="center" bgcolor="#FFFFFF"><label>
        <input type="submit" name="Submit" value="确   定">
      </label></td>
    </tr>
    <tr align="left" valign="top" bgcolor="#F5F5F5"  cellpadding="0" cellspacing="0">
      <td height="30" colspan=2 align="left" bgcolor="#FFFFFF"><font color="#FF0000">备注：对生成图片优惠券进行设置</font></td>
    </tr>
            </table></td>
          </tr>
        </table></td>
            </tr>
           
          </table></td>
          <td background="../images/index/E.gif">&nbsp;</td>
        </tr>
        <tr>
          <td width="10" height="10"><img src="../images/index/WS.gif" width="10" height="10"></td>
          <td height="10" background="../images/index/S.gif"><img src="../images/index/S.gif" width="2" height="10"></td>
          <td width="10" height="10"><img src="../images/index/ES.gif" width="10" height="10"></td>
        </tr>
      </table></td>
    </tr>
  </form>
</table>
<!-- #include file="../bottom2.asp" -->
<iframe width="260" height="165" id="colourPalette" src="../selcolor.htm" style="visibility:hidden; position: absolute; left: 0px; top: 0px;border:1px gray solid" frameborder="0" scrolling="no" ></iframe>
</body>
</html>
<%#@~^AQEAAA==@#@&Idcm^W/@#@&d+DP]/,'UGDtk	L@#@&/+D~^W	x{xGY4r	o@#@&@#@&fb:~/K:wGUxO1mh`f*~b@#@&;Ws2W	+UYglhnv!#,xPrn+MdrYkRxwnoE@#@&ZG:aGxxOHm:+cq*PxPrAkqhmoRI/b"+r@#@&ZK:2G	+xDHls+`yb~',JUWWY).Dkdl	dR&:CLM+UE@#@&/Ws2Kxn	Ygl:`2bP{PEZM+COnD-khqsCL+cmV\8WaE@#@&7kwAAA==^#~@%>
<script language="javascript">
var ComponentNameArray = new Array();
var ComponentInfoArray = new Array();
<%#@~^PgAAAA==@#@&d9b:,26akMnNUY.@#@&doGMPk,xPZPYK~iAKE	NcZGhaWU+	O1m:nb@#@&7RAAAA==^#~@%>
ComponentNameArray[ComponentNameArray.length] = "<%=#@~^EQAAAA==~;WhaW	+xD1mh+vkbDgYAAA==^#~@%>";
<%#@~^wgAAAA==@#@&d7&0,q/}4N(xkYCV^+[c;W:aGxxYgCh+vk*#~K4n	@#@&di7q6P(dA6wr.NcZKhaWUxD1ls+vr#*PPtx@#@&iddi36akD[jYMP{PE，但已@!WG	Y~mKsWM'.n9@*过期@!&WKxO@*r@#@&d7i+^/+@#@&i7di2awbDn[UYD,xPrJ@#@&77dAx9Pr0@#@&VzEAAA==^#~@%>
ComponentInfoArray[ComponentInfoArray.length] = "<font color='0076AE'> √</font>支持<%=#@~^CgAAAA==3XwrM+9?YMCgQAAA==^#~@%>";
<%#@~^DgAAAA==@#@&d7AVk+@#@&yQEAAA==^#~@%>
ComponentInfoArray[ComponentInfoArray.length] = "<font color='red'>×</font>不支持"
<%#@~^GQAAAA==@#@&d7Ax9Pk6@#@&716O@#@&BQQAAA==^#~@%>
function ShowInfo(ComponentID)
{
	if(ComponentID == 0)
	{
		document.all.ComponentInfo.innerHTML = "";
		document.all.WaterMarkSetting.style.display = "none";
		document.all.colourPalette.style.visibility="hidden";
	}
	else
	{
		document.all.ComponentInfo.innerHTML = ComponentNameArray[ComponentID - 1] + ComponentInfoArray[ComponentID - 1];
		//document.all.WaterMarkSetting.style.display = "";
	}
}
function ShowThumbnailInfo(ThumbnailComponentID)
{
	if(ThumbnailComponentID == 0)
	{
		document.all.ThumbnailComponentInfo.innerHTML = "";
		document.all.ThumbnailSetting.style.display = "none";
	}
	else
	{
		document.all.ThumbnailComponentInfo.innerHTML = ComponentNameArray[ThumbnailComponentID - 1] + ComponentInfoArray[ThumbnailComponentID - 1];
		document.all.ThumbnailSetting.style.display = "";
	}
}
function ShowThumbnailSetting(ThumbnailSettingid)	
{
	if(ThumbnailSettingid == 0)
	{
		document.all.ThumbnailSetting1.style.display = "none";
		document.all.ThumbnailSetting0.style.display = "";
	}
	else
	{
		document.all.ThumbnailSetting1.style.display = "";
		document.all.ThumbnailSetting0.style.display = "none";
	}
}
function GetColor(img_val,input_val)
{
	var obj = document.getElementById("colourPalette");
	ColorImg = img_val;
	ColorValue = document.getElementById(input_val);
	if (obj){
	obj.style.left = getOffsetLeft(ColorImg) + "px";
	obj.style.top = (getOffsetTop(ColorImg) + ColorImg.offsetHeight) + "px";
	if (obj.style.visibility=="hidden")
	{
	obj.style.visibility="visible";
	}else {
	obj.style.visibility="hidden";
	}
	}
}
function getOffsetTop(elm) {
	var mOffsetTop = elm.offsetTop;
	var mOffsetParent = elm.offsetParent;
	while(mOffsetParent){
		mOffsetTop += mOffsetParent.offsetTop;
		mOffsetParent = mOffsetParent.offsetParent;
	}
	return mOffsetTop;
}
function getOffsetLeft(elm) {
	var mOffsetLeft = elm.offsetLeft;
	var mOffsetParent = elm.offsetParent;
	while(mOffsetParent) {
		mOffsetLeft += mOffsetParent.offsetLeft;
		mOffsetParent = mOffsetParent.offsetParent;
	}
	return mOffsetLeft;
}
function setColor(color)
{
	if (ColorValue){ColorValue.value = color;}
	if (ColorImg){ColorImg.style.backgroundColor = color;}
	document.getElementById("colourPalette").style.visibility="hidden";
}
</script>



 

 
 


 

 
 

