changeset 40:1ac1409ea68c laserkard

[svn r41] implemented dynamic text.
author rlm
date Mon, 25 Jan 2010 03:42:08 -0500
parents 8b3b5753ad41
children c4747d955ac8
files awesome_js/robert.js buy.html buy.pl buycode.js defaults/arrow-default.js defaults/bold-default.js defaults/classic-default.js defaults/direct-default.js echo.pl images/display/blank.jpg log/error_log.log paypal/BASE.paylist paypal/basic_acrylic_clear.paylist paypal/basic_acrylic_green.paylist paypal/big_acrylic_clear.paylist paypal/big_acrylic_green.paylist paypal/classic_acrylic_clear.paylist paypal/classic_acrylic_green.paylist paypal/generate_paylists.pm paypal/lines_acrylic_clear.paylist paypal/lines_acrylic_green.paylist paypal/make.pl
diffstat 22 files changed, 693 insertions(+), 1002 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/awesome_js/robert.js	Sun Jan 24 15:06:22 2010 -0500
     1.2 +++ b/awesome_js/robert.js	Mon Jan 25 03:42:08 2010 -0500
     1.3 @@ -1,18 +1,9 @@
     1.4  
     1.5  
     1.6 -var robert = (function process()
     1.7 -{
     1.8 -// Creates canvas 320 × 200 at 10, 50
     1.9 -var paper = Raphael(10, 50, 320, 200);
    1.10 +window.Robert = (function () {
    1.11  
    1.12 -// Creates circle at x = 50, y = 40, with radius 10
    1.13 -var circle = paper.circle(50, 40, 10);
    1.14 -// Sets the fill attribute of the circle to red (#f00)
    1.15 -circle.attr("fill", "#f00");
    1.16  
    1.17 -// Sets the stroke attribute of the circle to white
    1.18 -circle.attr("stroke", "#fff");
    1.19 +var separator = /[, ]+/,
    1.20 +        elements = /^(circle|rect|path|ellipse|text|image)$/,
    1.21  
    1.22 -}
    1.23 -)
    1.24 -
    1.25 +Paper = function () {},
     2.1 --- a/buy.html	Sun Jan 24 15:06:22 2010 -0500
     2.2 +++ b/buy.html	Mon Jan 25 03:42:08 2010 -0500
     2.3 @@ -10,7 +10,7 @@
     2.4  
     2.5  <script type="text/javascript" src="./buycode.js"></script>
     2.6  <script type="text/javascript" src="./awesome_js/raphael.js"></script>
     2.7 -
     2.8 +<script type="text/javascript" src="./awesome_js/robert.js"></script>
     2.9  <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
    2.10  <script type="text/javascript" src="./awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js"></script>
    2.11  
    2.12 @@ -52,22 +52,8 @@
    2.13  	
    2.14  <div id="display">PERL-REPLACE::DISPLAY</div>
    2.15  
    2.16 -<script language="javascript">
    2.17  
    2.18  
    2.19 -var raphe = Raphael("disp_contain", 515, 318);
    2.20 -
    2.21 -var c = raphe.rect(0, 0, 514, 317);
    2.22 -c.attr("stroke", "#00f");
    2.23 -tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 700), 75);
    2.24 -
    2.25 -
    2.26 -tt.attr("stroke", "#f00");
    2.27 -tt.attr("fill", "RED");
    2.28 -
    2.29 -
    2.30 -</script>
    2.31 -
    2.32  
    2.33  </div>
    2.34  
    2.35 @@ -94,8 +80,272 @@
    2.36  <div id = "copyright">&copy; 2010 LaserKard, LLC</div>
    2.37  
    2.38  
    2.39 +<script language="javascript">
    2.40 +//this is the main painting object, established here and created with default painting values
    2.41 +var raphe = Raphael("disp_contain", 515, 318);
    2.42  
    2.43  
    2.44 +
    2.45 +function drawElement(obj)
    2.46 +{
    2.47 +	
    2.48 +}
    2.49 +
    2.50 +
    2.51 +
    2.52 +
    2.53 +function redraw(style)
    2.54 +{
    2.55 +
    2.56 +if (style == "bold")
    2.57 +{
    2.58 +	
    2.59 +
    2.60 +
    2.61 +if(typeof alias != 'undefined' ){alias.remove();}
    2.62 +if(typeof email != 'undefined' ){email.remove();}
    2.63 +if(typeof occupation != 'undefined' ){occupation.remove();}
    2.64 +if(typeof company != 'undefined' ){company.remove();}
    2.65 +if(typeof phone != 'undefined' ){phone.remove();}
    2.66 +if(typeof website != 'undefined' ){website.remove();}
    2.67 +if(typeof lnn != 'undefined' ){lnn.remove();}
    2.68 +
    2.69 +
    2.70 +
    2.71 +var oText = document.getElementById('Name');
    2.72 +var text_val = oText.value; 
    2.73 +alias = raphe.print(10, 160, text_val, raphe.getFont('HelveticaNeue', 700), 75);
    2.74 +alias.attr('stroke', '#6a6a6a');
    2.75 +alias.attr('fill', 'none')
    2.76 +var c = alias.getBBox().width;
    2.77 +alias.translate((485 - c)/2,0);
    2.78 +
    2.79 +	
    2.80 +var oText = document.getElementById('Email');
    2.81 +var text_val = oText.value; 
    2.82 +
    2.83 +email = raphe.print(280, 270, text_val, raphe.getFont("HelveticaNeue", 700), 25);
    2.84 +email.attr('stroke', '#6a6a6a');
    2.85 +email.attr('fill', 'TRANSPARENT');
    2.86 +
    2.87 +
    2.88 +
    2.89 +	
    2.90 +}
    2.91 +
    2.92 +
    2.93 +if (style == "arrow")
    2.94 +{
    2.95 +	
    2.96 +if(typeof alias != 'undefined' ){alias.remove();}
    2.97 +if(typeof email != 'undefined' ){email.remove();}
    2.98 +if(typeof occupation != 'undefined' ){occupation.remove();}
    2.99 +if(typeof company != 'undefined' ){company.remove();}
   2.100 +if(typeof phone != 'undefined' ){phone.remove();}
   2.101 +if(typeof website != 'undefined' ){website.remove();}
   2.102 +if(typeof lnn != 'undefined' ){lnn.remove();}
   2.103 +
   2.104 +
   2.105 +var oText = document.getElementById('Name');
   2.106 +var text_val = oText.value; 
   2.107 +alias = raphe.print(40, 110, text_val, raphe.getFont('HelveticaNeue', 700), 64);
   2.108 +alias.attr('stroke', '#6a6a6a');
   2.109 +alias.attr('fill', 'none')
   2.110 +
   2.111 +
   2.112 +
   2.113 +var oText = document.getElementById('Company');
   2.114 +var text_val = oText.value; 
   2.115 +
   2.116 +company = raphe.print(40, 155, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.117 +company.attr('stroke', '#6a6a6a');
   2.118 +company.attr('fill', 'TRANSPARENT');
   2.119 +
   2.120 +
   2.121 +var oText = document.getElementById('Occupation');
   2.122 +var text_val = oText.value; 
   2.123 +
   2.124 +occupation = raphe.print(40, 190, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.125 +occupation.attr('stroke', '#6a6a6a');
   2.126 +occupation.attr('fill', 'TRANSPARENT');
   2.127 +
   2.128 +
   2.129 +var oText = document.getElementById('Email');
   2.130 +var text_val = oText.value; 
   2.131 +
   2.132 +email = raphe.print(280, 270, text_val, raphe.getFont("HelveticaNeue", 700), 25);
   2.133 +email.attr('stroke', '#6a6a6a');
   2.134 +email.attr('fill', 'TRANSPARENT');
   2.135 +
   2.136 +
   2.137 +lnn = raphe.path("M 2 272 L 258 272");
   2.138 +lnn.attr('stroke', '#6a6a6a');
   2.139 +	
   2.140 +}
   2.141 +
   2.142 +
   2.143 +if (style == "classic")
   2.144 +{
   2.145 +	
   2.146 +if(typeof alias != 'undefined' ){alias.remove();}
   2.147 +if(typeof email != 'undefined' ){email.remove();}
   2.148 +if(typeof occupation != 'undefined' ){occupation.remove();}
   2.149 +if(typeof company != 'undefined' ){company.remove();}
   2.150 +if(typeof phone != 'undefined' ){phone.remove();}
   2.151 +if(typeof website != 'undefined' ){website.remove();}
   2.152 +if(typeof lnn != 'undefined' ){lnn.remove();}
   2.153 +
   2.154 +
   2.155 +var oText = document.getElementById('Email');
   2.156 +var text_val = oText.value; 
   2.157 +
   2.158 +email = raphe.print(0, 42, text_val, raphe.getFont("HelveticaNeue", 700), 29);
   2.159 +email.attr('stroke', '#6a6a6a');
   2.160 +email.attr('fill', 'TRANSPARENT');
   2.161 +var c = email.getBBox().width;
   2.162 +email.translate((510 - c)/2,0);
   2.163 +
   2.164 +
   2.165 +var oText = document.getElementById('Phone');
   2.166 +var text_val = oText.value; 
   2.167 +
   2.168 +phone = raphe.print(0, 75, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.169 +phone.attr('stroke', '#6a6a6a');
   2.170 +phone.attr('fill', 'TRANSPARENT');
   2.171 +var c = phone.getBBox().width;
   2.172 +phone.translate((510 - c)/2,0);
   2.173 +
   2.174 +
   2.175 +
   2.176 +
   2.177 +var oText = document.getElementById('Name');
   2.178 +var text_val = oText.value; 
   2.179 +alias = raphe.print(0, 164, text_val, raphe.getFont('HelveticaNeue', 800), 55);
   2.180 +alias.attr('stroke', '#6a6a6a');
   2.181 +alias.attr('fill', 'none')
   2.182 +var c = alias.getBBox().width;
   2.183 +alias.translate((510 - c)/2,0);
   2.184 +
   2.185 +
   2.186 +var oText = document.getElementById('Company');
   2.187 +var text_val = oText.value; 
   2.188 +company = raphe.print(0, 247, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.189 +company.attr('stroke', '#6a6a6a');
   2.190 +company.attr('fill', 'TRANSPARENT');
   2.191 +var c = company.getBBox().width;
   2.192 +company.translate((510 - c)/2,0);
   2.193 +
   2.194 +
   2.195 +var oText = document.getElementById('Occupation');
   2.196 +var text_val = oText.value; 
   2.197 +
   2.198 +occupation = raphe.print(0, 278, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.199 +occupation.attr('stroke', '#6a6a6a');
   2.200 +occupation.attr('fill', 'TRANSPARENT');
   2.201 +var c = occupation.getBBox().width;
   2.202 +occupation.translate((510 - c)/2,0);
   2.203 +
   2.204 +
   2.205 +
   2.206 +
   2.207 +var oText = document.getElementById('Website');
   2.208 +var text_val = oText.value; 
   2.209 +
   2.210 +website = raphe.print(0, 0, text_val, raphe.getFont("HelveticaNeue", 700), 21);
   2.211 +website.attr('stroke', '#6a6a6a');
   2.212 +website.attr('fill', 'TRANSPARENT');
   2.213 +
   2.214 +var c = website.getBBox().width;
   2.215 +website.translate((317 - c)/2,0);
   2.216 +
   2.217 +website.translate(0, -490);
   2.218 +website.rotate(90,0,0);
   2.219 +}
   2.220 +
   2.221 +
   2.222 +if (style == "direct")
   2.223 +{
   2.224 +	
   2.225 +if(typeof alias != 'undefined' ){alias.remove();}
   2.226 +if(typeof email != 'undefined' ){email.remove();}
   2.227 +if(typeof occupation != 'undefined' ){occupation.remove();}
   2.228 +if(typeof company != 'undefined' ){company.remove();}
   2.229 +if(typeof phone != 'undefined' ){phone.remove();}
   2.230 +if(typeof website != 'undefined' ){website.remove();}
   2.231 +if(typeof lnn != 'undefined' ){lnn.remove();}
   2.232 +
   2.233 +
   2.234 +
   2.235 +var oText = document.getElementById('Name');
   2.236 +var text_val = oText.value; 
   2.237 +alias = raphe.print(37, 70, text_val, raphe.getFont('HelveticaNeue', 700), 65);
   2.238 +alias.attr('stroke', '#6a6a6a');
   2.239 +alias.attr('fill', 'none')
   2.240 +
   2.241 +
   2.242 +var oText = document.getElementById('Occupation');
   2.243 +var text_val = oText.value; 
   2.244 +occupation = raphe.print(37, 120, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.245 +occupation.attr('stroke', '#6a6a6a');
   2.246 +occupation.attr('fill', 'TRANSPARENT');
   2.247 +
   2.248 +
   2.249 +var oText = document.getElementById('Company');
   2.250 +var text_val = oText.value; 
   2.251 +company = raphe.print(37, 178, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.252 +company.attr('stroke', '#6a6a6a');
   2.253 +company.attr('fill', 'TRANSPARENT');
   2.254 +
   2.255 +
   2.256 +
   2.257 +var oText = document.getElementById('Phone');
   2.258 +var text_val = oText.value; 
   2.259 +phone = raphe.print(37, 210, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.260 +phone.attr('stroke', '#6a6a6a');
   2.261 +phone.attr('fill', 'TRANSPARENT');
   2.262 +
   2.263 +
   2.264 +var oText = document.getElementById('Email');
   2.265 +var text_val = oText.value; 
   2.266 +email = raphe.print(37, 240, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.267 +email.attr('stroke', '#6a6a6a');
   2.268 +email.attr('fill', 'TRANSPARENT');
   2.269 +
   2.270 +
   2.271 +var oText = document.getElementById('Website');
   2.272 +var text_val = oText.value; 
   2.273 +website = raphe.print(37, 270, text_val, raphe.getFont("HelveticaNeue", 700), 27);
   2.274 +website.attr('stroke', '#6a6a6a');
   2.275 +website.attr('fill', 'TRANSPARENT');
   2.276 +
   2.277 +lnn = raphe.path("M 350 165 L 512 165  M 350 173 L 512 173  M 350 181 L 512 181  M 350 189 L 512 189 M 350 197 L 512 197 M 350 213 L 512 213 M 350 205 L 512 205 M 350 221 L 512 221");
   2.278 +lnn.attr('stroke', '#6a6a6a');
   2.279 +
   2.280 +
   2.281 +
   2.282 +}
   2.283 +
   2.284 +
   2.285 +
   2.286 +
   2.287 +
   2.288 +}
   2.289 +
   2.290 +
   2.291 +
   2.292 +
   2.293 +
   2.294 +</script>
   2.295 +
   2.296 +
   2.297 +
   2.298 +<script language="javascript">
   2.299 +
   2.300 +
   2.301 +redraw("bold");
   2.302 +
   2.303 +</script>
   2.304 +
   2.305  </body>
   2.306  
   2.307  </html>
     3.1 --- a/buy.pl	Sun Jan 24 15:06:22 2010 -0500
     3.2 +++ b/buy.pl	Mon Jan 25 03:42:08 2010 -0500
     3.3 @@ -84,27 +84,59 @@
     3.4  {
     3.5  	
     3.6  $all = shift;
     3.7 -$all =~ m/_(.*)/;
     3.8 +$all =~ m/([^_]*)_(.*)/;
     3.9  
    3.10 -$materialcolor = $1;
    3.11 +$materialcolor = $2;
    3.12 +$style = $1;
    3.13 +#here is where we handle important drawing commands relating to the cards.
    3.14 +
    3.15  
    3.16  	
    3.17  $r =  <<HERE;
    3.18  <div id = "i_templates"><div class = 'ttyl'> <titletron>Select Style.</titletron></div>
    3.19  <div id = 'stupid'>
    3.20 -<input TYPE="image" src = "./images/templates/big_$materialcolor.jpg" 	onmouseover="pokedex(['args__big'],['pokedex']);" 	onclick="display(['template2'], ['display']); inputbox(['template2'], ['inputbox']);material(['template2'], ['materials']);" ID="template2" NAME="template2" VALUE="big_$materialcolor"        > <br>
    3.21 +
    3.22 +
    3.23 +<input TYPE="image" src = "./images/templates/big_$materialcolor.jpg" 	onmouseover="pokedex(['args__big'],['pokedex']);" 	onclick="display(['template2'], ['display']); inputbox(['template2'], ['inputbox']);material(['template2'], ['materials']);redraw('bold');" ID="template2" NAME="template2" VALUE="big_$materialcolor"        > <br>
    3.24 +
    3.25    
    3.26 -<input TYPE="image" src = "./images/templates/basic_$materialcolor.jpg"  onmouseover="pokedex(['args__basic'],['pokedex']);"	onclick="display(['template3'], ['display']); inputbox(['template3'], ['inputbox']);material(['template3'], ['materials']);" ID="template3" NAME="template3" VALUE="basic_$materialcolor"          ><br>
    3.27 -  
    3.28 -<input TYPE="image" src = "./images/templates/classic_$materialcolor.jpg"  onmouseover="pokedex(['args__classic'],['pokedex']);"	onclick="display(['template1'], ['display']); inputbox(['template1'], ['inputbox']);material(['template1'], ['materials']);" ID="template1" NAME="template1" VALUE="classic_$materialcolor"    ><br>
    3.29 +
    3.30 +<input TYPE="image" src = "./images/templates/basic_$materialcolor.jpg"  onmouseover="pokedex(['args__basic'],['pokedex']);"	onclick="display(['template3'], ['display']); inputbox(['template3'], ['inputbox']);material(['template3'], ['materials']);redraw('arrow');" ID="template3" NAME="template3" VALUE="basic_$materialcolor"          ><br>
    3.31 +
    3.32   
    3.33 -<input TYPE="image" src = "./images/templates/lines_$materialcolor.jpg"  onmouseover="pokedex(['args__lines'],['pokedex']);"	onclick="display(['template4'], ['display']); inputbox(['template4'], ['inputbox']);material(['template4'], ['materials']);" ID="template4" NAME="template4" VALUE="lines_$materialcolor"           > 
    3.34 +
    3.35 +<input TYPE="image" src = "./images/templates/classic_$materialcolor.jpg"  onmouseover="pokedex(['args__classic'],['pokedex']);"	onclick="display(['template1'], ['display']); inputbox(['template1'], ['inputbox']);material(['template1'], ['materials']);redraw('classic');" ID="template1" NAME="template1" VALUE="classic_$materialcolor"    ><br>
    3.36 +
    3.37 + 
    3.38 +
    3.39 +<input TYPE="image" src = "./images/templates/lines_$materialcolor.jpg"  onmouseover="pokedex(['args__lines'],['pokedex']);"	onclick="display(['template4'], ['display']); inputbox(['template4'], ['inputbox']);material(['template4'], ['materials']);redraw('direct');" ID="template4" NAME="template4" VALUE="lines_$materialcolor"           > 
    3.40 +
    3.41  	</div>
    3.42  	</div>
    3.43  
    3.44  HERE
    3.45  
    3.46  
    3.47 +%shankHash = 
    3.48 +(
    3.49 +
    3.50 +big => template2,  
    3.51 +basic => template3,
    3.52 +classic => template1,
    3.53 +lines  => template4
    3.54 +);
    3.55 +
    3.56 +$target = $shankHash{$style};
    3.57 +
    3.58 +
    3.59 +
    3.60 +
    3.61 +#$r =~ s/inputbox\(\['$target'\], \['inputbox'\]\)\;//;
    3.62 +
    3.63 +
    3.64 +
    3.65 +
    3.66 +
    3.67  return $r;
    3.68  }
    3.69  
    3.70 @@ -157,9 +189,23 @@
    3.71  	$all = shift;
    3.72  	
    3.73  	
    3.74 -	
    3.75 +	#~ 
    3.76 +	#~ $t = <<HERE;
    3.77 +	#~ <image src = "./images/display/PERL::PIC.jpg" 	onmouseover="pokedex(['args__PERL::PIC'],['pokedex']);">
    3.78 +	#~ 
    3.79 +	#~ <div id = overlay>
    3.80 +#~ 
    3.81 +#~ 
    3.82 +	#~ </div>
    3.83 +	#~ 
    3.84 +#~ HERE
    3.85 +#~ 
    3.86 +#~ 
    3.87 +#~ 
    3.88 +#~ $t =~ s/PERL::PIC/$all/g;
    3.89 +
    3.90  	$t = <<HERE;
    3.91 -	<image src = "./images/display/PERL::PIC.jpg" 	onmouseover="pokedex(['args__PERL::PIC'],['pokedex']);">
    3.92 +	<image src = "./images/display/blank.jpg" 	onmouseover="pokedex(['args__PERL::PIC'],['pokedex']);">
    3.93  	
    3.94  	<div id = overlay>
    3.95  
    3.96 @@ -167,12 +213,6 @@
    3.97  	</div>
    3.98  	
    3.99  HERE
   3.100 -
   3.101 -
   3.102 -
   3.103 -$t =~ s/PERL::PIC/$all/g;
   3.104 -
   3.105 -
   3.106  	
   3.107  	return $t;
   3.108  	
   3.109 @@ -197,13 +237,15 @@
   3.110  
   3.111  
   3.112  
   3.113 +
   3.114 +
   3.115  $a =~ s/PERL-REPLACE::TOP_MENU/$b/; #equivalent to <?php include("top_menu.html"); ?>, but in perl and with more memory problems :)
   3.116  $b = &material("void_acrylic_clear",1);
   3.117  $a =~ s/PERL-REPLACE::MATERIALS/$b/; #let's do it again!!! :)
   3.118  $b = &template("big_acrylic_clear");
   3.119  
   3.120 -#$a =~ s/PERL-REPLACE::TEMPLATES//; 
   3.121 -$a =~ s/PERL-REPLACE::TEMPLATES/$b/; #comment out one or the other!
   3.122 +
   3.123 +$a =~ s/PERL-REPLACE::TEMPLATES/$b/; 
   3.124  
   3.125  $b = &display("big_acrylic_clear");
   3.126  $a =~ s/PERL-REPLACE::DISPLAY/$b/;
     4.1 --- a/buycode.js	Sun Jan 24 15:06:22 2010 -0500
     4.2 +++ b/buycode.js	Mon Jan 25 03:42:08 2010 -0500
     4.3 @@ -74,6 +74,15 @@
     4.4    else des = des + ", " + val;
     4.5  }
     4.6  
     4.7 +function verify(obj1){
     4.8 + if (!obj1.accept.checked){
     4.9 +  alert ("Please approve the design & content.");
    4.10 +
    4.11 +  return false;
    4.12 + }
    4.13 +}
    4.14 +
    4.15 +
    4.16  function ReadForm (obj1, tst) { 
    4.17  	
    4.18  	
    4.19 @@ -81,11 +90,7 @@
    4.20  
    4.21  
    4.22  
    4.23 - if (!obj1.accept.checked){
    4.24 -  alert ("Please approve the design & content.");
    4.25 -  return false;
    4.26 - }
    4.27 - 
    4.28 +
    4.29   
    4.30   if(obj1.accept.checked)
    4.31   {vanish(['args__go'],['vanish']);}
    4.32 @@ -207,4 +212,11 @@
    4.33    obj1.item_name.value = des;
    4.34    obj1.amount.value = Dollar (amt);
    4.35    if (obj1.tot) obj1.tot.value = "$" + Dollar (amt);
    4.36 +  
    4.37 +   if (!obj1.accept.checked){
    4.38 +  
    4.39 +  return false;
    4.40 + }
    4.41 + 
    4.42 +  
    4.43  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/defaults/arrow-default.js	Mon Jan 25 03:42:08 2010 -0500
     5.3 @@ -0,0 +1,18 @@
     5.4 +if(typeof alias != 'undefined' && typeof email != 'undefined' ) 
     5.5 +{
     5.6 +alias.remove();
     5.7 +email.remove();
     5.8 +}
     5.9 +
    5.10 +alias = raphe.print(10, 150, 'Fuck', raphe.getFont('HelveticaNeue', 700), 75);
    5.11 +
    5.12 +
    5.13 +alias.attr('stroke', 'red');
    5.14 +alias.attr('fill', 'none');
    5.15 +
    5.16 +email = raphe.print(270, 270, 'ARROWWW bitches', raphe.getFont('HelveticaNeue', 700), 25);
    5.17 +
    5.18 +
    5.19 +email.attr('stroke', 'red');
    5.20 +email.attr('fill', 'none');
    5.21 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/defaults/bold-default.js	Mon Jan 25 03:42:08 2010 -0500
     6.3 @@ -0,0 +1,17 @@
     6.4 +if(typeof alias != 'undefined' && typeof email != 'undefined' ) 
     6.5 +{
     6.6 +alias.remove();
     6.7 +email.remove();
     6.8 +}
     6.9 +
    6.10 +alias = raphe.print(10, 150, 'James Bond', raphe.getFont('HelveticaNeue', 700), 75);
    6.11 +
    6.12 +
    6.13 +alias.attr('stroke', 'red');
    6.14 +alias.attr('fill', 'none');
    6.15 +
    6.16 +email = raphe.print(270, 270, 'jbond@mi6.co.uk', raphe.getFont('HelveticaNeue', 700), 25);
    6.17 +
    6.18 +
    6.19 +email.attr('stroke', 'red');
    6.20 +email.attr('fill', 'none');
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/defaults/classic-default.js	Mon Jan 25 03:42:08 2010 -0500
     7.3 @@ -0,0 +1,1 @@
     7.4 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/defaults/direct-default.js	Mon Jan 25 03:42:08 2010 -0500
     8.3 @@ -0,0 +1,1 @@
     8.4 +
     9.1 --- a/echo.pl	Sun Jan 24 15:06:22 2010 -0500
     9.2 +++ b/echo.pl	Mon Jan 25 03:42:08 2010 -0500
     9.3 @@ -13,7 +13,7 @@
     9.4  use Data::Dumper;
     9.5  $Data::Dumper::Indent = 1;
     9.6  use Storable;
     9.7 -
     9.8 +use SVG;
     9.9  
    9.10  my $q = new CGI;
    9.11  
    9.12 @@ -68,11 +68,12 @@
    9.13  my $svg = $_[0];
    9.14  
    9.15  my $destination = 'rlm@mit.edu';	
    9.16 -#~ $svg =~ s/</\&lt\;/g;
    9.17 -#~ return $svg;
    9.18  
    9.19  
    9.20 -$svg = &repair_file($svg);
    9.21 +
    9.22 +
    9.23 +$svg = &impose($svg);
    9.24 +
    9.25  
    9.26  
    9.27  
    9.28 @@ -87,6 +88,141 @@
    9.29  }
    9.30  
    9.31  
    9.32 +
    9.33 +sub impose
    9.34 +{
    9.35 +
    9.36 +#here $svg is a string which contains the properly formatted svg data for one card
    9.37 +#out purpose here is to take that one card, size it correctly, and make appropiate copies 
    9.38 +#so that our supplier can simply import the file and print.
    9.39 +
    9.40 +$sss =  $_[0];
    9.41 +$sss =~ s/^/\n\n\n/;
    9.42 +$sss =~ s/$/\n\n\n/;
    9.43 +# you fucking bitch!
    9.44 +$sss =~ s/Created wit........//;
    9.45 +
    9.46 +
    9.47 +# read XML file
    9.48 +my $xml = new XML::Simple;
    9.49 +my $data = $xml->XMLin($sss, ForceArray => 1);
    9.50 +
    9.51 +
    9.52 +my %data = %$data;
    9.53 +
    9.54 +my %juzz  = 
    9.55 +(
    9.56 +
    9.57 +path	=> $data{'path'},
    9.58 +rect 	=> $data{'rect'},
    9.59 +width	=>"16in" ,
    9.60 +height	=>"12in" ,
    9.61 +version	=>"1.1",
    9.62 +xmlns	=>"http://www.w3.org/2000/svg"
    9.63 +
    9.64 +);
    9.65 +
    9.66 +
    9.67 +
    9.68 +
    9.69 +#print Dumper(%juzz);
    9.70 +
    9.71 +
    9.72 +my $svg= SVG->new(width=>"18in",height=>"12in");
    9.73 +
    9.74 +#print Dumper($juzz{'path'}[2]);
    9.75 +#print "\n***************************\n";
    9.76 +#print Dumper($pathData);
    9.77 +
    9.78 +
    9.79 +
    9.80 +
    9.81 +my $base = "scale(0.6057),matrix(1 0 0 -1 0 317), rotate(180),translate(-514,-317)";
    9.82 +
    9.83 +
    9.84 +my @cardCollection;
    9.85 +
    9.86 +for $name(0..21)  #22 letters for 22 cards
    9.87 +{
    9.88 +	
    9.89 +	#calcuate the thing's place in the grid:
    9.90 +	
    9.91 +	$cardsToARow = 5;
    9.92 +	$cardsToAColumn =  5;
    9.93 +	
    9.94 +	my $row = int($name/$cardsToARow);  #  cards to a row 
    9.95 +	my $column = int($name %  $cardsToAColumn);
    9.96 +	
    9.97 +	$margin = 25;
    9.98 +	$cardWidth   =  514*0.6057;
    9.99 +	$cardHeight  = 	317*0.6057;
   9.100 +	
   9.101 +	
   9.102 +	$transX = 40 + ($margin + $cardWidth ) * $column;
   9.103 +	$transY = 40 + ($margin + $cardHeight) * $row;
   9.104 +	
   9.105 +	
   9.106 +	
   9.107 +	${"group_".$name} = 
   9.108 +	$svg->group(
   9.109 +    id    => "group_".$name,    
   9.110 +	transform => "translate($transX,$transY),"."$base"
   9.111 +	);
   9.112 +	
   9.113 +	push @cardCollection, ${"group_".$name};
   9.114 +}
   9.115 +
   9.116 +
   9.117 +
   9.118 +      
   9.119 +  
   9.120 +        
   9.121 +        
   9.122 +        
   9.123 +for ($i = 0; $i <= $#cardCollection; $i++)
   9.124 +{
   9.125 +
   9.126 +for $pathData(@{$juzz{'path'}})
   9.127 +{
   9.128 +$cardCollection[$i]->tag('path', %{$pathData});
   9.129 +}
   9.130 +
   9.131 +for $pathData(@{$juzz{'rect'}})
   9.132 +{
   9.133 +$cardCollection[$i]->tag('rect', %{$pathData});
   9.134 +}
   9.135 +
   9.136 +
   9.137 +}
   9.138 +
   9.139 +
   9.140 +
   9.141 +#my $tag = $svg->tag('path', $juzz{'path'});
   9.142 +
   9.143 +
   9.144 +#$tag = $svg->group(%attributes);
   9.145 +
   9.146 +
   9.147 +$output =  $svg->xmlify;
   9.148 +
   9.149 +
   9.150 +$killCopyrigt = <<HERE;
   9.151 +<!-- 
   9.152 +	Generated using the Perl SVG Module V2.49
   9.153 +	by Ronan Oger
   9.154 +	Info: http://www.roitsystems.com/
   9.155 + -->
   9.156 +HERE
   9.157 +
   9.158 +$output =~ s/$killCopyrigt/\n/;
   9.159 +
   9.160 +return $output;
   9.161 +
   9.162 +	
   9.163 +	
   9.164 +}
   9.165 +
   9.166 +
   9.167  sub repair_file
   9.168  {
   9.169  
    10.1 Binary file images/display/blank.jpg has changed
    11.1 --- a/log/error_log.log	Sun Jan 24 15:06:22 2010 -0500
    11.2 +++ b/log/error_log.log	Mon Jan 25 03:42:08 2010 -0500
    11.3 @@ -15,3 +15,49 @@
    11.4  [Sun Jan 24 10:39:05 2010] [error] [client 18.238.1.90] Problem with code: , referer: http://laserkard.rlmcintyre.com/echo.pl
    11.5  [Sun Jan 24 10:39:05 2010] [error] [client 18.238.1.90] not well-formed (invalid token) at line 4, column 85, byte 88 at /usr/lib/perl5/XML/Parser.pm line 187, referer: http://laserkard.rlmcintyre.com/echo.pl
    11.6  [Sun Jan 24 10:39:05 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/echo.pl
    11.7 +[Mon Jan 25 00:50:15 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico
    11.8 +[Mon Jan 25 00:50:18 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico
    11.9 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] Scalar found where operator expected at /home/rlm/Desktop/web/laserkard/buy.pl line 95, near "$1, referer: http://laserkard.rlmcintyre.com/
   11.10 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] #here is where we handle important drawing commands relating to the cards., referer: http://laserkard.rlmcintyre.com/
   11.11 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/
   11.12 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/
   11.13 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] \t, referer: http://laserkard.rlmcintyre.com/
   11.14 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] $r", referer: http://laserkard.rlmcintyre.com/
   11.15 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] \t(Missing semicolon on previous line?), referer: http://laserkard.rlmcintyre.com/
   11.16 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/buy.pl line 95, near "$1, referer: http://laserkard.rlmcintyre.com/
   11.17 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] #here is where we handle important drawing commands relating to the cards., referer: http://laserkard.rlmcintyre.com/
   11.18 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/
   11.19 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/
   11.20 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] \t, referer: http://laserkard.rlmcintyre.com/
   11.21 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] $r ", referer: http://laserkard.rlmcintyre.com/
   11.22 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/buy.pl aborted due to compilation errors., referer: http://laserkard.rlmcintyre.com/
   11.23 +[Mon Jan 25 00:52:36 2010] [error] [client 18.238.1.90] Premature end of script headers: buy.pl, referer: http://laserkard.rlmcintyre.com/
   11.24 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] Scalar found where operator expected at /home/rlm/Desktop/web/laserkard/buy.pl line 95, near "$1, referer: http://laserkard.rlmcintyre.com/contact.php
   11.25 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] #here is where we handle important drawing commands relating to the cards., referer: http://laserkard.rlmcintyre.com/contact.php
   11.26 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/contact.php
   11.27 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/contact.php
   11.28 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] \t, referer: http://laserkard.rlmcintyre.com/contact.php
   11.29 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] $r", referer: http://laserkard.rlmcintyre.com/contact.php
   11.30 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] \t(Missing semicolon on previous line?), referer: http://laserkard.rlmcintyre.com/contact.php
   11.31 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/buy.pl line 95, near "$1, referer: http://laserkard.rlmcintyre.com/contact.php
   11.32 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] #here is where we handle important drawing commands relating to the cards., referer: http://laserkard.rlmcintyre.com/contact.php
   11.33 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/contact.php
   11.34 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] , referer: http://laserkard.rlmcintyre.com/contact.php
   11.35 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] \t, referer: http://laserkard.rlmcintyre.com/contact.php
   11.36 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] $r ", referer: http://laserkard.rlmcintyre.com/contact.php
   11.37 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/buy.pl aborted due to compilation errors., referer: http://laserkard.rlmcintyre.com/contact.php
   11.38 +[Mon Jan 25 00:52:48 2010] [error] [client 18.238.1.90] Premature end of script headers: buy.pl, referer: http://laserkard.rlmcintyre.com/contact.php
   11.39 +[Mon Jan 25 00:53:50 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/big_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.40 +[Mon Jan 25 00:53:50 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/basic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.41 +[Mon Jan 25 00:53:50 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/classic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.42 +[Mon Jan 25 00:53:50 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/lines_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.43 +[Mon Jan 25 00:54:19 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/big_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.44 +[Mon Jan 25 00:54:19 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/lines_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.45 +[Mon Jan 25 00:54:19 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/basic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.46 +[Mon Jan 25 00:54:19 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/classic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.47 +[Mon Jan 25 00:54:52 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/basic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.48 +[Mon Jan 25 00:54:52 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/big_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.49 +[Mon Jan 25 00:54:52 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/classic_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.50 +[Mon Jan 25 00:54:52 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/images/templates/lines_big.jpg, referer: http://laserkard.rlmcintyre.com/buy.pl
   11.51 +[Mon Jan 25 01:02:37 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico
   11.52 +[Mon Jan 25 01:02:39 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico
    12.1 --- a/paypal/BASE.paylist	Sun Jan 24 15:06:22 2010 -0500
    12.2 +++ b/paypal/BASE.paylist	Mon Jan 25 03:42:08 2010 -0500
    12.3 @@ -1,13 +1,15 @@
    12.4  <div id = "i_inputbox">
    12.5  
    12.6 +
    12.7 +
    12.8  <div class = "ttyls"> <titletron>PERL::TITLE</titletron></div><br>
    12.9 -<div class = "descript"> PERL::DESC </div>
   12.10 +<div class = "descript">PERL::DESC </div>
   12.11  
   12.12  <!-- Start of Form -->
   12.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   12.14  <!-- Note: shopping_url also added to code -->
   12.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   12.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   12.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   12.18  <input type="hidden" name="add" value="1">
   12.19  <input type="hidden" name="cmd" value="_cart">
   12.20  <!--your email address goes here -->
    13.1 --- a/paypal/basic_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
    13.2 +++ b/paypal/basic_acrylic_clear.paylist	Mon Jan 25 03:42:08 2010 -0500
    13.3 @@ -1,13 +1,15 @@
    13.4  <div id = "i_inputbox">
    13.5  
    13.6 +
    13.7 +
    13.8  <div class = "ttyls"> <titletron>Clarity Series:<br> The Arrow Kard.</titletron></div><br>
    13.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   13.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   13.11  
   13.12  <!-- Start of Form -->
   13.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   13.14  <!-- Note: shopping_url also added to code -->
   13.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   13.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   13.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   13.18  <input type="hidden" name="add" value="1">
   13.19  <input type="hidden" name="cmd" value="_cart">
   13.20  <!--your email address goes here -->
   13.21 @@ -27,13 +29,13 @@
   13.22  <input type="hidden" name="baseamt" value="00">
   13.23  <input type="hidden" name="basedes" value="Clarity Series: The Arrow Kard">
   13.24  <!--   -->
   13.25 -<input type="hidden" name="baseon0" value = "Line 1 (James Bond)">
   13.26 +<input type="hidden" name="baseon0" value = "Name">
   13.27  <input type="hidden" name="baseos0">
   13.28 -<input type="hidden" name="baseon1" value = "Line 2 (MI6)">
   13.29 +<input type="hidden" name="baseon1" value = "Company">
   13.30  <input type="hidden" name="baseos1">
   13.31 -<input type="hidden" name="baseon2" value = "Line 3 (Secret Agent)">
   13.32 +<input type="hidden" name="baseon2" value = "Occupation">
   13.33  <input type="hidden" name="baseos2">
   13.34 -<input type="hidden" name="baseon3" value = "Line 4 (jbond@mi6.co.uk)">
   13.35 +<input type="hidden" name="baseon3" value = "Email">
   13.36  <input type="hidden" name="baseos3">
   13.37  <input type="hidden" name="baseon4" >
   13.38  <input type="hidden" name="baseos4">
   13.39 @@ -102,121 +104,29 @@
   13.40  
   13.41  <!-- Start of Text Input Fields -->
   13.42  <br>
   13.43 -Line 1 (James Bond):&nbsp;&nbsp;
   13.44 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   13.45 -onKeyUp="
   13.46 -tt.remove();
   13.47 -
   13.48 -var font_size = 30;
   13.49 -
   13.50 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   13.51 -tt.attr('stroke', '#f00');
   13.52 -tt.attr('fill', 'TRANSPARENT');
   13.53 -var c = tt.getBBox().width;
   13.54 -tt.translate((502 - c)/2,0);
   13.55 -
   13.56 -
   13.57 -
   13.58 -
   13.59 -
   13.60 -
   13.61 -//document.write( c );
   13.62 -
   13.63 -
   13.64 -
   13.65 -
   13.66 -
   13.67 -"
   13.68 +Name:&nbsp;&nbsp;
   13.69 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
   13.70  
   13.71  >
   13.72  <!--   -->
   13.73  <br>
   13.74  <br>
   13.75 -Line 2 (MI6):&nbsp;&nbsp;
   13.76 -<input type="text" id="Line 2 (MI6)" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
   13.77 -onKeyUp="
   13.78 -tt.remove();
   13.79 -
   13.80 -var font_size = 30;
   13.81 -
   13.82 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   13.83 -tt.attr('stroke', '#f00');
   13.84 -tt.attr('fill', 'TRANSPARENT');
   13.85 -var c = tt.getBBox().width;
   13.86 -tt.translate((502 - c)/2,0);
   13.87 -
   13.88 -
   13.89 -
   13.90 -
   13.91 -
   13.92 -
   13.93 -//document.write( c );
   13.94 -
   13.95 -
   13.96 -
   13.97 -
   13.98 -
   13.99 -"
  13.100 +Company:&nbsp;&nbsp;
  13.101 +<input type="text" id="Company" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
  13.102  
  13.103  >
  13.104  <!--   -->
  13.105  <br>
  13.106  <br>
  13.107 -Line 3 (Secret Agent):&nbsp;&nbsp;
  13.108 -<input type="text" id="Line 3 (Secret Agent)" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
  13.109 -onKeyUp="
  13.110 -tt.remove();
  13.111 -
  13.112 -var font_size = 30;
  13.113 -
  13.114 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  13.115 -tt.attr('stroke', '#f00');
  13.116 -tt.attr('fill', 'TRANSPARENT');
  13.117 -var c = tt.getBBox().width;
  13.118 -tt.translate((502 - c)/2,0);
  13.119 -
  13.120 -
  13.121 -
  13.122 -
  13.123 -
  13.124 -
  13.125 -//document.write( c );
  13.126 -
  13.127 -
  13.128 -
  13.129 -
  13.130 -
  13.131 -"
  13.132 +Occupation:&nbsp;&nbsp;
  13.133 +<input type="text" id="Occupation" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
  13.134  
  13.135  >
  13.136  <!--   -->
  13.137  <br>
  13.138  <br>
  13.139 -Line 4 (jbond@mi6.co.uk):&nbsp;&nbsp;
  13.140 -<input type="text" id="Line 4 (jbond@mi6.co.uk)" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
  13.141 -onKeyUp="
  13.142 -tt.remove();
  13.143 -
  13.144 -var font_size = 30;
  13.145 -
  13.146 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  13.147 -tt.attr('stroke', '#f00');
  13.148 -tt.attr('fill', 'TRANSPARENT');
  13.149 -var c = tt.getBBox().width;
  13.150 -tt.translate((502 - c)/2,0);
  13.151 -
  13.152 -
  13.153 -
  13.154 -
  13.155 -
  13.156 -
  13.157 -//document.write( c );
  13.158 -
  13.159 -
  13.160 -
  13.161 -
  13.162 -
  13.163 -"
  13.164 +Email:&nbsp;&nbsp;
  13.165 +<input type="text" id="Email" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
  13.166  
  13.167  >
  13.168  <!--   -->
    14.1 --- a/paypal/basic_acrylic_green.paylist	Sun Jan 24 15:06:22 2010 -0500
    14.2 +++ b/paypal/basic_acrylic_green.paylist	Mon Jan 25 03:42:08 2010 -0500
    14.3 @@ -1,13 +1,15 @@
    14.4  <div id = "i_inputbox">
    14.5  
    14.6 +
    14.7 +
    14.8  <div class = "ttyls"> <titletron>Vitality LaserKard Basic Style</titletron></div><br>
    14.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   14.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   14.11  
   14.12  <!-- Start of Form -->
   14.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   14.14  <!-- Note: shopping_url also added to code -->
   14.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   14.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   14.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   14.18  <input type="hidden" name="add" value="1">
   14.19  <input type="hidden" name="cmd" value="_cart">
   14.20  <!--your email address goes here -->
   14.21 @@ -103,120 +105,28 @@
   14.22  <!-- Start of Text Input Fields -->
   14.23  <br>
   14.24  Line 1:&nbsp;&nbsp;
   14.25 -<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   14.26 -onKeyUp="
   14.27 -tt.remove();
   14.28 -
   14.29 -var font_size = 30;
   14.30 -
   14.31 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   14.32 -tt.attr('stroke', '#f00');
   14.33 -tt.attr('fill', 'TRANSPARENT');
   14.34 -var c = tt.getBBox().width;
   14.35 -tt.translate((502 - c)/2,0);
   14.36 -
   14.37 -
   14.38 -
   14.39 -
   14.40 -
   14.41 -
   14.42 -//document.write( c );
   14.43 -
   14.44 -
   14.45 -
   14.46 -
   14.47 -
   14.48 -"
   14.49 +<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   14.50  
   14.51  >
   14.52  <!--   -->
   14.53  <br>
   14.54  <br>
   14.55  Line 2:&nbsp;&nbsp;
   14.56 -<input type="text" id="Line 2" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
   14.57 -onKeyUp="
   14.58 -tt.remove();
   14.59 -
   14.60 -var font_size = 30;
   14.61 -
   14.62 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   14.63 -tt.attr('stroke', '#f00');
   14.64 -tt.attr('fill', 'TRANSPARENT');
   14.65 -var c = tt.getBBox().width;
   14.66 -tt.translate((502 - c)/2,0);
   14.67 -
   14.68 -
   14.69 -
   14.70 -
   14.71 -
   14.72 -
   14.73 -//document.write( c );
   14.74 -
   14.75 -
   14.76 -
   14.77 -
   14.78 -
   14.79 -"
   14.80 +<input type="text" id="Line 2" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   14.81  
   14.82  >
   14.83  <!--   -->
   14.84  <br>
   14.85  <br>
   14.86  Line 3:&nbsp;&nbsp;
   14.87 -<input type="text" id="Line 3" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
   14.88 -onKeyUp="
   14.89 -tt.remove();
   14.90 -
   14.91 -var font_size = 30;
   14.92 -
   14.93 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   14.94 -tt.attr('stroke', '#f00');
   14.95 -tt.attr('fill', 'TRANSPARENT');
   14.96 -var c = tt.getBBox().width;
   14.97 -tt.translate((502 - c)/2,0);
   14.98 -
   14.99 -
  14.100 -
  14.101 -
  14.102 -
  14.103 -
  14.104 -//document.write( c );
  14.105 -
  14.106 -
  14.107 -
  14.108 -
  14.109 -
  14.110 -"
  14.111 +<input type="text" id="Line 3" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  14.112  
  14.113  >
  14.114  <!--   -->
  14.115  <br>
  14.116  <br>
  14.117  Line 4:&nbsp;&nbsp;
  14.118 -<input type="text" id="Line 4" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
  14.119 -onKeyUp="
  14.120 -tt.remove();
  14.121 -
  14.122 -var font_size = 30;
  14.123 -
  14.124 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  14.125 -tt.attr('stroke', '#f00');
  14.126 -tt.attr('fill', 'TRANSPARENT');
  14.127 -var c = tt.getBBox().width;
  14.128 -tt.translate((502 - c)/2,0);
  14.129 -
  14.130 -
  14.131 -
  14.132 -
  14.133 -
  14.134 -
  14.135 -//document.write( c );
  14.136 -
  14.137 -
  14.138 -
  14.139 -
  14.140 -
  14.141 -"
  14.142 +<input type="text" id="Line 4" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  14.143  
  14.144  >
  14.145  <!--   -->
    15.1 --- a/paypal/big_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
    15.2 +++ b/paypal/big_acrylic_clear.paylist	Mon Jan 25 03:42:08 2010 -0500
    15.3 @@ -1,13 +1,15 @@
    15.4  <div id = "i_inputbox">
    15.5  
    15.6 +
    15.7 +
    15.8  <div class = "ttyls"> <titletron>Clarity Series:<br> The Bold Kard.</titletron></div><br>
    15.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   15.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   15.11  
   15.12  <!-- Start of Form -->
   15.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   15.14  <!-- Note: shopping_url also added to code -->
   15.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   15.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   15.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   15.18  <input type="hidden" name="add" value="1">
   15.19  <input type="hidden" name="cmd" value="_cart">
   15.20  <!--your email address goes here -->
   15.21 @@ -27,9 +29,9 @@
   15.22  <input type="hidden" name="baseamt" value="00">
   15.23  <input type="hidden" name="basedes" value="Clarity Series: The Bold Kard">
   15.24  <!--   -->
   15.25 -<input type="hidden" name="baseon0" value = "Line 1 (James Bond)">
   15.26 +<input type="hidden" name="baseon0" value = "Name">
   15.27  <input type="hidden" name="baseos0">
   15.28 -<input type="hidden" name="baseon1" value = "Line 2 (jbond@mi6.co.uk)">
   15.29 +<input type="hidden" name="baseon1" value = "Email">
   15.30  <input type="hidden" name="baseos1">
   15.31  <input type="hidden" name="baseon2" >
   15.32  <input type="hidden" name="baseos2">
   15.33 @@ -102,61 +104,15 @@
   15.34  
   15.35  <!-- Start of Text Input Fields -->
   15.36  <br>
   15.37 -Line 1 (James Bond):&nbsp;&nbsp;
   15.38 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   15.39 -onKeyUp="
   15.40 -tt.remove();
   15.41 -
   15.42 -var font_size = 30;
   15.43 -
   15.44 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   15.45 -tt.attr('stroke', '#f00');
   15.46 -tt.attr('fill', 'TRANSPARENT');
   15.47 -var c = tt.getBBox().width;
   15.48 -tt.translate((502 - c)/2,0);
   15.49 -
   15.50 -
   15.51 -
   15.52 -
   15.53 -
   15.54 -
   15.55 -//document.write( c );
   15.56 -
   15.57 -
   15.58 -
   15.59 -
   15.60 -
   15.61 -"
   15.62 +Name:&nbsp;&nbsp;
   15.63 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('bold');"
   15.64  
   15.65  >
   15.66  <!--   -->
   15.67  <br>
   15.68  <br>
   15.69 -Line 2 (jbond@mi6.co.uk):&nbsp;&nbsp;
   15.70 -<input type="text" id="Line 2 (jbond@mi6.co.uk)" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
   15.71 -onKeyUp="
   15.72 -tt.remove();
   15.73 -
   15.74 -var font_size = 30;
   15.75 -
   15.76 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   15.77 -tt.attr('stroke', '#f00');
   15.78 -tt.attr('fill', 'TRANSPARENT');
   15.79 -var c = tt.getBBox().width;
   15.80 -tt.translate((502 - c)/2,0);
   15.81 -
   15.82 -
   15.83 -
   15.84 -
   15.85 -
   15.86 -
   15.87 -//document.write( c );
   15.88 -
   15.89 -
   15.90 -
   15.91 -
   15.92 -
   15.93 -"
   15.94 +Email:&nbsp;&nbsp;
   15.95 +<input type="text" id="Email" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('bold');"
   15.96  
   15.97  >
   15.98  <!--   -->
    16.1 --- a/paypal/big_acrylic_green.paylist	Sun Jan 24 15:06:22 2010 -0500
    16.2 +++ b/paypal/big_acrylic_green.paylist	Mon Jan 25 03:42:08 2010 -0500
    16.3 @@ -1,13 +1,15 @@
    16.4  <div id = "i_inputbox">
    16.5  
    16.6 +
    16.7 +
    16.8  <div class = "ttyls"> <titletron>Vitality LaserKard BIG Style</titletron></div><br>
    16.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   16.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   16.11  
   16.12  <!-- Start of Form -->
   16.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   16.14  <!-- Note: shopping_url also added to code -->
   16.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   16.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   16.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   16.18  <input type="hidden" name="add" value="1">
   16.19  <input type="hidden" name="cmd" value="_cart">
   16.20  <!--your email address goes here -->
   16.21 @@ -103,60 +105,14 @@
   16.22  <!-- Start of Text Input Fields -->
   16.23  <br>
   16.24  Line 1:&nbsp;&nbsp;
   16.25 -<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   16.26 -onKeyUp="
   16.27 -tt.remove();
   16.28 -
   16.29 -var font_size = 30;
   16.30 -
   16.31 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   16.32 -tt.attr('stroke', '#f00');
   16.33 -tt.attr('fill', 'TRANSPARENT');
   16.34 -var c = tt.getBBox().width;
   16.35 -tt.translate((502 - c)/2,0);
   16.36 -
   16.37 -
   16.38 -
   16.39 -
   16.40 -
   16.41 -
   16.42 -//document.write( c );
   16.43 -
   16.44 -
   16.45 -
   16.46 -
   16.47 -
   16.48 -"
   16.49 +<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   16.50  
   16.51  >
   16.52  <!--   -->
   16.53  <br>
   16.54  <br>
   16.55  Line 2:&nbsp;&nbsp;
   16.56 -<input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
   16.57 -onKeyUp="
   16.58 -tt.remove();
   16.59 -
   16.60 -var font_size = 30;
   16.61 -
   16.62 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   16.63 -tt.attr('stroke', '#f00');
   16.64 -tt.attr('fill', 'TRANSPARENT');
   16.65 -var c = tt.getBBox().width;
   16.66 -tt.translate((502 - c)/2,0);
   16.67 -
   16.68 -
   16.69 -
   16.70 -
   16.71 -
   16.72 -
   16.73 -//document.write( c );
   16.74 -
   16.75 -
   16.76 -
   16.77 -
   16.78 -
   16.79 -"
   16.80 +<input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   16.81  
   16.82  >
   16.83  <!--   -->
    17.1 --- a/paypal/classic_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
    17.2 +++ b/paypal/classic_acrylic_clear.paylist	Mon Jan 25 03:42:08 2010 -0500
    17.3 @@ -1,13 +1,15 @@
    17.4  <div id = "i_inputbox">
    17.5  
    17.6 +
    17.7 +
    17.8  <div class = "ttyls"> <titletron>Clarity Series:<br> The Classic Kard.</titletron></div><br>
    17.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   17.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   17.11  
   17.12  <!-- Start of Form -->
   17.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   17.14  <!-- Note: shopping_url also added to code -->
   17.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   17.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   17.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   17.18  <input type="hidden" name="add" value="1">
   17.19  <input type="hidden" name="cmd" value="_cart">
   17.20  <!--your email address goes here -->
   17.21 @@ -27,17 +29,17 @@
   17.22  <input type="hidden" name="baseamt" value="00">
   17.23  <input type="hidden" name="basedes" value="Clarity Series: The Classic Kard">
   17.24  <!--   -->
   17.25 -<input type="hidden" name="baseon0" value = "Line 1 (jbond@mi6.co.uk)">
   17.26 +<input type="hidden" name="baseon0" value = "Email">
   17.27  <input type="hidden" name="baseos0">
   17.28 -<input type="hidden" name="baseon1" value = "Line 2 (123.456.7890)">
   17.29 +<input type="hidden" name="baseon1" value = "Phone">
   17.30  <input type="hidden" name="baseos1">
   17.31 -<input type="hidden" name="baseon2" value = "Line 3 (James Bond)">
   17.32 +<input type="hidden" name="baseon2" value = "Name">
   17.33  <input type="hidden" name="baseos2">
   17.34 -<input type="hidden" name="baseon3" value = "Line 4 (MI6)">
   17.35 +<input type="hidden" name="baseon3" value = "Company">
   17.36  <input type="hidden" name="baseos3">
   17.37 -<input type="hidden" name="baseon4" value = "Line 5 (Secret Agent)">
   17.38 +<input type="hidden" name="baseon4" value = "Occupation">
   17.39  <input type="hidden" name="baseos4">
   17.40 -<input type="hidden" name="baseon5" value = "Side (http://www.jamesbond.com)">
   17.41 +<input type="hidden" name="baseon5" value = "Website">
   17.42  <input type="hidden" name="baseos5">
   17.43  <input type="hidden" name="baseon6" >
   17.44  <input type="hidden" name="baseos6">
   17.45 @@ -102,181 +104,43 @@
   17.46  
   17.47  <!-- Start of Text Input Fields -->
   17.48  <br>
   17.49 -Line 1 (jbond@mi6.co.uk):&nbsp;&nbsp;
   17.50 -<input type="text" id="Line 1 (jbond@mi6.co.uk)" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
   17.51 -onKeyUp="
   17.52 -tt.remove();
   17.53 -
   17.54 -var font_size = 30;
   17.55 -
   17.56 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   17.57 -tt.attr('stroke', '#f00');
   17.58 -tt.attr('fill', 'TRANSPARENT');
   17.59 -var c = tt.getBBox().width;
   17.60 -tt.translate((502 - c)/2,0);
   17.61 -
   17.62 -
   17.63 -
   17.64 -
   17.65 -
   17.66 -
   17.67 -//document.write( c );
   17.68 -
   17.69 -
   17.70 -
   17.71 -
   17.72 -
   17.73 -"
   17.74 +Email:&nbsp;&nbsp;
   17.75 +<input type="text" id="Email" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
   17.76  
   17.77  >
   17.78  <!--   -->
   17.79  <br>
   17.80  <br>
   17.81 -Line 2 (123.456.7890):&nbsp;&nbsp;
   17.82 -<input type="text" id="Line 2 (123.456.7890)" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 
   17.83 -onKeyUp="
   17.84 -tt.remove();
   17.85 -
   17.86 -var font_size = 30;
   17.87 -
   17.88 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   17.89 -tt.attr('stroke', '#f00');
   17.90 -tt.attr('fill', 'TRANSPARENT');
   17.91 -var c = tt.getBBox().width;
   17.92 -tt.translate((502 - c)/2,0);
   17.93 -
   17.94 -
   17.95 -
   17.96 -
   17.97 -
   17.98 -
   17.99 -//document.write( c );
  17.100 -
  17.101 -
  17.102 -
  17.103 -
  17.104 -
  17.105 -"
  17.106 +Phone:&nbsp;&nbsp;
  17.107 +<input type="text" id="Phone" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
  17.108  
  17.109  >
  17.110  <!--   -->
  17.111  <br>
  17.112  <br>
  17.113 -Line 3 (James Bond):&nbsp;&nbsp;
  17.114 -<input type="text" id="Line 3 (James Bond)" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
  17.115 -onKeyUp="
  17.116 -tt.remove();
  17.117 -
  17.118 -var font_size = 30;
  17.119 -
  17.120 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  17.121 -tt.attr('stroke', '#f00');
  17.122 -tt.attr('fill', 'TRANSPARENT');
  17.123 -var c = tt.getBBox().width;
  17.124 -tt.translate((502 - c)/2,0);
  17.125 -
  17.126 -
  17.127 -
  17.128 -
  17.129 -
  17.130 -
  17.131 -//document.write( c );
  17.132 -
  17.133 -
  17.134 -
  17.135 -
  17.136 -
  17.137 -"
  17.138 +Name:&nbsp;&nbsp;
  17.139 +<input type="text" id="Name" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
  17.140  
  17.141  >
  17.142  <!--   -->
  17.143  <br>
  17.144  <br>
  17.145 -Line 4 (MI6):&nbsp;&nbsp;
  17.146 -<input type="text" id="Line 4 (MI6)" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
  17.147 -onKeyUp="
  17.148 -tt.remove();
  17.149 -
  17.150 -var font_size = 30;
  17.151 -
  17.152 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  17.153 -tt.attr('stroke', '#f00');
  17.154 -tt.attr('fill', 'TRANSPARENT');
  17.155 -var c = tt.getBBox().width;
  17.156 -tt.translate((502 - c)/2,0);
  17.157 -
  17.158 -
  17.159 -
  17.160 -
  17.161 -
  17.162 -
  17.163 -//document.write( c );
  17.164 -
  17.165 -
  17.166 -
  17.167 -
  17.168 -
  17.169 -"
  17.170 +Company:&nbsp;&nbsp;
  17.171 +<input type="text" id="Company" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
  17.172  
  17.173  >
  17.174  <!--   -->
  17.175  <br>
  17.176  <br>
  17.177 -Line 5 (Secret Agent):&nbsp;&nbsp;
  17.178 -<input type="text" id="Line 5 (Secret Agent)" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
  17.179 -onKeyUp="
  17.180 -tt.remove();
  17.181 -
  17.182 -var font_size = 30;
  17.183 -
  17.184 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  17.185 -tt.attr('stroke', '#f00');
  17.186 -tt.attr('fill', 'TRANSPARENT');
  17.187 -var c = tt.getBBox().width;
  17.188 -tt.translate((502 - c)/2,0);
  17.189 -
  17.190 -
  17.191 -
  17.192 -
  17.193 -
  17.194 -
  17.195 -//document.write( c );
  17.196 -
  17.197 -
  17.198 -
  17.199 -
  17.200 -
  17.201 -"
  17.202 +Occupation:&nbsp;&nbsp;
  17.203 +<input type="text" id="Occupation" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
  17.204  
  17.205  >
  17.206  <!--   -->
  17.207  <br>
  17.208  <br>
  17.209 -Side (http://www.jamesbond.com):&nbsp;&nbsp;
  17.210 -<input type="text" id="Side (http://www.jamesbond.com)" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this)" 
  17.211 -onKeyUp="
  17.212 -tt.remove();
  17.213 -
  17.214 -var font_size = 30;
  17.215 -
  17.216 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  17.217 -tt.attr('stroke', '#f00');
  17.218 -tt.attr('fill', 'TRANSPARENT');
  17.219 -var c = tt.getBBox().width;
  17.220 -tt.translate((502 - c)/2,0);
  17.221 -
  17.222 -
  17.223 -
  17.224 -
  17.225 -
  17.226 -
  17.227 -//document.write( c );
  17.228 -
  17.229 -
  17.230 -
  17.231 -
  17.232 -
  17.233 -"
  17.234 +Website:&nbsp;&nbsp;
  17.235 +<input type="text" id="Website" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
  17.236  
  17.237  >
  17.238  <!--   -->
  17.239 @@ -286,6 +150,10 @@
  17.240  
  17.241  <!-- End of Text Input Fields -->
  17.242  
  17.243 +<br>
  17.244 +<input type     = "checkbox"       onclick  = "ReadForm (this.form, false);"        value    = "( +0.01 ^__^ )">
  17.245 +Add a penny! ^__^
  17.246 +<br>
  17.247  
  17.248  <br>
  17.249  Total Cost:&nbsp; &nbsp;
    18.1 --- a/paypal/classic_acrylic_green.paylist	Sun Jan 24 15:06:22 2010 -0500
    18.2 +++ b/paypal/classic_acrylic_green.paylist	Mon Jan 25 03:42:08 2010 -0500
    18.3 @@ -1,13 +1,15 @@
    18.4  <div id = "i_inputbox">
    18.5  
    18.6 +
    18.7 +
    18.8  <div class = "ttyls"> <titletron>Vitality LaserKard  Classic Style</titletron></div><br>
    18.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   18.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   18.11  
   18.12  <!-- Start of Form -->
   18.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   18.14  <!-- Note: shopping_url also added to code -->
   18.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   18.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   18.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   18.18  <input type="hidden" name="add" value="1">
   18.19  <input type="hidden" name="cmd" value="_cart">
   18.20  <!--your email address goes here -->
   18.21 @@ -103,180 +105,42 @@
   18.22  <!-- Start of Text Input Fields -->
   18.23  <br>
   18.24  Line 1:&nbsp;&nbsp;
   18.25 -<input type="text" id="Line 1" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
   18.26 -onKeyUp="
   18.27 -tt.remove();
   18.28 -
   18.29 -var font_size = 30;
   18.30 -
   18.31 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   18.32 -tt.attr('stroke', '#f00');
   18.33 -tt.attr('fill', 'TRANSPARENT');
   18.34 -var c = tt.getBBox().width;
   18.35 -tt.translate((502 - c)/2,0);
   18.36 -
   18.37 -
   18.38 -
   18.39 -
   18.40 -
   18.41 -
   18.42 -//document.write( c );
   18.43 -
   18.44 -
   18.45 -
   18.46 -
   18.47 -
   18.48 -"
   18.49 +<input type="text" id="Line 1" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   18.50  
   18.51  >
   18.52  <!--   -->
   18.53  <br>
   18.54  <br>
   18.55  Line 2:&nbsp;&nbsp;
   18.56 -<input type="text" id="Line 2" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 
   18.57 -onKeyUp="
   18.58 -tt.remove();
   18.59 -
   18.60 -var font_size = 30;
   18.61 -
   18.62 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   18.63 -tt.attr('stroke', '#f00');
   18.64 -tt.attr('fill', 'TRANSPARENT');
   18.65 -var c = tt.getBBox().width;
   18.66 -tt.translate((502 - c)/2,0);
   18.67 -
   18.68 -
   18.69 -
   18.70 -
   18.71 -
   18.72 -
   18.73 -//document.write( c );
   18.74 -
   18.75 -
   18.76 -
   18.77 -
   18.78 -
   18.79 -"
   18.80 +<input type="text" id="Line 2" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   18.81  
   18.82  >
   18.83  <!--   -->
   18.84  <br>
   18.85  <br>
   18.86  Line 3:&nbsp;&nbsp;
   18.87 -<input type="text" id="Line 3" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   18.88 -onKeyUp="
   18.89 -tt.remove();
   18.90 -
   18.91 -var font_size = 30;
   18.92 -
   18.93 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   18.94 -tt.attr('stroke', '#f00');
   18.95 -tt.attr('fill', 'TRANSPARENT');
   18.96 -var c = tt.getBBox().width;
   18.97 -tt.translate((502 - c)/2,0);
   18.98 -
   18.99 -
  18.100 -
  18.101 -
  18.102 -
  18.103 -
  18.104 -//document.write( c );
  18.105 -
  18.106 -
  18.107 -
  18.108 -
  18.109 -
  18.110 -"
  18.111 +<input type="text" id="Line 3" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  18.112  
  18.113  >
  18.114  <!--   -->
  18.115  <br>
  18.116  <br>
  18.117  Line 4:&nbsp;&nbsp;
  18.118 -<input type="text" id="Line 4" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
  18.119 -onKeyUp="
  18.120 -tt.remove();
  18.121 -
  18.122 -var font_size = 30;
  18.123 -
  18.124 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  18.125 -tt.attr('stroke', '#f00');
  18.126 -tt.attr('fill', 'TRANSPARENT');
  18.127 -var c = tt.getBBox().width;
  18.128 -tt.translate((502 - c)/2,0);
  18.129 -
  18.130 -
  18.131 -
  18.132 -
  18.133 -
  18.134 -
  18.135 -//document.write( c );
  18.136 -
  18.137 -
  18.138 -
  18.139 -
  18.140 -
  18.141 -"
  18.142 +<input type="text" id="Line 4" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  18.143  
  18.144  >
  18.145  <!--   -->
  18.146  <br>
  18.147  <br>
  18.148  Line 5:&nbsp;&nbsp;
  18.149 -<input type="text" id="Line 5" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
  18.150 -onKeyUp="
  18.151 -tt.remove();
  18.152 -
  18.153 -var font_size = 30;
  18.154 -
  18.155 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  18.156 -tt.attr('stroke', '#f00');
  18.157 -tt.attr('fill', 'TRANSPARENT');
  18.158 -var c = tt.getBBox().width;
  18.159 -tt.translate((502 - c)/2,0);
  18.160 -
  18.161 -
  18.162 -
  18.163 -
  18.164 -
  18.165 -
  18.166 -//document.write( c );
  18.167 -
  18.168 -
  18.169 -
  18.170 -
  18.171 -
  18.172 -"
  18.173 +<input type="text" id="Line 5" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  18.174  
  18.175  >
  18.176  <!--   -->
  18.177  <br>
  18.178  <br>
  18.179  Side:&nbsp;&nbsp;
  18.180 -<input type="text" id="Side" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this)" 
  18.181 -onKeyUp="
  18.182 -tt.remove();
  18.183 -
  18.184 -var font_size = 30;
  18.185 -
  18.186 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  18.187 -tt.attr('stroke', '#f00');
  18.188 -tt.attr('fill', 'TRANSPARENT');
  18.189 -var c = tt.getBBox().width;
  18.190 -tt.translate((502 - c)/2,0);
  18.191 -
  18.192 -
  18.193 -
  18.194 -
  18.195 -
  18.196 -
  18.197 -//document.write( c );
  18.198 -
  18.199 -
  18.200 -
  18.201 -
  18.202 -
  18.203 -"
  18.204 +<input type="text" id="Side" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  18.205  
  18.206  >
  18.207  <!--   -->
    19.1 --- a/paypal/generate_paylists.pm	Sun Jan 24 15:06:22 2010 -0500
    19.2 +++ b/paypal/generate_paylists.pm	Mon Jan 25 03:42:08 2010 -0500
    19.3 @@ -26,6 +26,7 @@
    19.4          DEFAULTS      => ['jbond@mi6.co.uk','123.456.7890','James Bond','MI6','Secret Agent','http://www.jamesbond.com'],
    19.5          @_,         # argument pair list goes here
    19.6      );
    19.7 +    $short_form = $args{SHORT_FORM};
    19.8      $prod_name = $args{PRODUCT_NAME};
    19.9      @defaults = @{$args{DEFAULTS}};
   19.10      $name = $args{NAME};
   19.11 @@ -135,36 +136,13 @@
   19.12  $start = <<OHYEAH;
   19.13  <br>
   19.14  PERL::OPT:&nbsp;&nbsp;
   19.15 -<input type="text" id="PERL::OPT" name="line_PERL::NUMb" size="20" value = "PERL::DEFAULT" ONFOCUS="clearDefault(this)" 
   19.16 -onKeyUp="
   19.17 -tt.remove();
   19.18 -
   19.19 -var font_size = 30;
   19.20 -
   19.21 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   19.22 -tt.attr('stroke', '#f00');
   19.23 -tt.attr('fill', 'TRANSPARENT');
   19.24 -var c = tt.getBBox().width;
   19.25 -tt.translate((502 - c)/2,0);
   19.26 -
   19.27 -
   19.28 -
   19.29 -
   19.30 -
   19.31 -
   19.32 -//document.write( c );
   19.33 -
   19.34 -
   19.35 -
   19.36 -
   19.37 -
   19.38 -"
   19.39 +<input type="text" id="PERL::OPT" name="line_PERL::NUMb" size="20" value = "PERL::DEFAULT" ONFOCUS="clearDefault(this);" onKeyUp="redraw('PERL::SHORT');"
   19.40  
   19.41  >
   19.42  <!--   -->
   19.43  <br>
   19.44  OHYEAH
   19.45 -
   19.46 +$start =~ s/PERL::SHORT/$short_form/;
   19.47  
   19.48  my $input = "";
   19.49  
    20.1 --- a/paypal/lines_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
    20.2 +++ b/paypal/lines_acrylic_clear.paylist	Mon Jan 25 03:42:08 2010 -0500
    20.3 @@ -1,13 +1,15 @@
    20.4  <div id = "i_inputbox">
    20.5  
    20.6 +
    20.7 +
    20.8  <div class = "ttyls"> <titletron>Clarity Series:<br> The Direct Kard.</titletron></div><br>
    20.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   20.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   20.11  
   20.12  <!-- Start of Form -->
   20.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   20.14  <!-- Note: shopping_url also added to code -->
   20.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   20.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   20.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   20.18  <input type="hidden" name="add" value="1">
   20.19  <input type="hidden" name="cmd" value="_cart">
   20.20  <!--your email address goes here -->
   20.21 @@ -27,17 +29,17 @@
   20.22  <input type="hidden" name="baseamt" value="00">
   20.23  <input type="hidden" name="basedes" value="Clarity Series: The Direct Kard">
   20.24  <!--   -->
   20.25 -<input type="hidden" name="baseon0" value = "Line 1 (James Bond)">
   20.26 +<input type="hidden" name="baseon0" value = "Name">
   20.27  <input type="hidden" name="baseos0">
   20.28 -<input type="hidden" name="baseon1" value = "Line 2 (Secret Agent)">
   20.29 +<input type="hidden" name="baseon1" value = "Occupation">
   20.30  <input type="hidden" name="baseos1">
   20.31 -<input type="hidden" name="baseon2" value = "Line 3 (MI6)">
   20.32 +<input type="hidden" name="baseon2" value = "Company">
   20.33  <input type="hidden" name="baseos2">
   20.34 -<input type="hidden" name="baseon3" value = "Line 4 (123.456.7890)">
   20.35 +<input type="hidden" name="baseon3" value = "Phone">
   20.36  <input type="hidden" name="baseos3">
   20.37 -<input type="hidden" name="baseon4" value = "Line 5 (jbond@domain.com)">
   20.38 +<input type="hidden" name="baseon4" value = "Email">
   20.39  <input type="hidden" name="baseos4">
   20.40 -<input type="hidden" name="baseon5" value = "Line 6 (www.domain.com)">
   20.41 +<input type="hidden" name="baseon5" value = "Website">
   20.42  <input type="hidden" name="baseos5">
   20.43  <input type="hidden" name="baseon6" >
   20.44  <input type="hidden" name="baseos6">
   20.45 @@ -102,181 +104,43 @@
   20.46  
   20.47  <!-- Start of Text Input Fields -->
   20.48  <br>
   20.49 -Line 1 (James Bond):&nbsp;&nbsp;
   20.50 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   20.51 -onKeyUp="
   20.52 -tt.remove();
   20.53 -
   20.54 -var font_size = 30;
   20.55 -
   20.56 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   20.57 -tt.attr('stroke', '#f00');
   20.58 -tt.attr('fill', 'TRANSPARENT');
   20.59 -var c = tt.getBBox().width;
   20.60 -tt.translate((502 - c)/2,0);
   20.61 -
   20.62 -
   20.63 -
   20.64 -
   20.65 -
   20.66 -
   20.67 -//document.write( c );
   20.68 -
   20.69 -
   20.70 -
   20.71 -
   20.72 -
   20.73 -"
   20.74 +Name:&nbsp;&nbsp;
   20.75 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   20.76  
   20.77  >
   20.78  <!--   -->
   20.79  <br>
   20.80  <br>
   20.81 -Line 2 (Secret Agent):&nbsp;&nbsp;
   20.82 -<input type="text" id="Line 2 (Secret Agent)" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
   20.83 -onKeyUp="
   20.84 -tt.remove();
   20.85 -
   20.86 -var font_size = 30;
   20.87 -
   20.88 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   20.89 -tt.attr('stroke', '#f00');
   20.90 -tt.attr('fill', 'TRANSPARENT');
   20.91 -var c = tt.getBBox().width;
   20.92 -tt.translate((502 - c)/2,0);
   20.93 -
   20.94 -
   20.95 -
   20.96 -
   20.97 -
   20.98 -
   20.99 -//document.write( c );
  20.100 -
  20.101 -
  20.102 -
  20.103 -
  20.104 -
  20.105 -"
  20.106 +Occupation:&nbsp;&nbsp;
  20.107 +<input type="text" id="Occupation" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
  20.108  
  20.109  >
  20.110  <!--   -->
  20.111  <br>
  20.112  <br>
  20.113 -Line 3 (MI6):&nbsp;&nbsp;
  20.114 -<input type="text" id="Line 3 (MI6)" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
  20.115 -onKeyUp="
  20.116 -tt.remove();
  20.117 -
  20.118 -var font_size = 30;
  20.119 -
  20.120 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  20.121 -tt.attr('stroke', '#f00');
  20.122 -tt.attr('fill', 'TRANSPARENT');
  20.123 -var c = tt.getBBox().width;
  20.124 -tt.translate((502 - c)/2,0);
  20.125 -
  20.126 -
  20.127 -
  20.128 -
  20.129 -
  20.130 -
  20.131 -//document.write( c );
  20.132 -
  20.133 -
  20.134 -
  20.135 -
  20.136 -
  20.137 -"
  20.138 +Company:&nbsp;&nbsp;
  20.139 +<input type="text" id="Company" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
  20.140  
  20.141  >
  20.142  <!--   -->
  20.143  <br>
  20.144  <br>
  20.145 -Line 4 (123.456.7890):&nbsp;&nbsp;
  20.146 -<input type="text" id="Line 4 (123.456.7890)" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 
  20.147 -onKeyUp="
  20.148 -tt.remove();
  20.149 -
  20.150 -var font_size = 30;
  20.151 -
  20.152 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  20.153 -tt.attr('stroke', '#f00');
  20.154 -tt.attr('fill', 'TRANSPARENT');
  20.155 -var c = tt.getBBox().width;
  20.156 -tt.translate((502 - c)/2,0);
  20.157 -
  20.158 -
  20.159 -
  20.160 -
  20.161 -
  20.162 -
  20.163 -//document.write( c );
  20.164 -
  20.165 -
  20.166 -
  20.167 -
  20.168 -
  20.169 -"
  20.170 +Phone:&nbsp;&nbsp;
  20.171 +<input type="text" id="Phone" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
  20.172  
  20.173  >
  20.174  <!--   -->
  20.175  <br>
  20.176  <br>
  20.177 -Line 5 (jbond@domain.com):&nbsp;&nbsp;
  20.178 -<input type="text" id="Line 5 (jbond@domain.com)" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)" 
  20.179 -onKeyUp="
  20.180 -tt.remove();
  20.181 -
  20.182 -var font_size = 30;
  20.183 -
  20.184 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  20.185 -tt.attr('stroke', '#f00');
  20.186 -tt.attr('fill', 'TRANSPARENT');
  20.187 -var c = tt.getBBox().width;
  20.188 -tt.translate((502 - c)/2,0);
  20.189 -
  20.190 -
  20.191 -
  20.192 -
  20.193 -
  20.194 -
  20.195 -//document.write( c );
  20.196 -
  20.197 -
  20.198 -
  20.199 -
  20.200 -
  20.201 -"
  20.202 +Email:&nbsp;&nbsp;
  20.203 +<input type="text" id="Email" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
  20.204  
  20.205  >
  20.206  <!--   -->
  20.207  <br>
  20.208  <br>
  20.209 -Line 6 (www.domain.com):&nbsp;&nbsp;
  20.210 -<input type="text" id="Line 6 (www.domain.com)" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this)" 
  20.211 -onKeyUp="
  20.212 -tt.remove();
  20.213 -
  20.214 -var font_size = 30;
  20.215 -
  20.216 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  20.217 -tt.attr('stroke', '#f00');
  20.218 -tt.attr('fill', 'TRANSPARENT');
  20.219 -var c = tt.getBBox().width;
  20.220 -tt.translate((502 - c)/2,0);
  20.221 -
  20.222 -
  20.223 -
  20.224 -
  20.225 -
  20.226 -
  20.227 -//document.write( c );
  20.228 -
  20.229 -
  20.230 -
  20.231 -
  20.232 -
  20.233 -"
  20.234 +Website:&nbsp;&nbsp;
  20.235 +<input type="text" id="Website" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
  20.236  
  20.237  >
  20.238  <!--   -->
    21.1 --- a/paypal/lines_acrylic_green.paylist	Sun Jan 24 15:06:22 2010 -0500
    21.2 +++ b/paypal/lines_acrylic_green.paylist	Mon Jan 25 03:42:08 2010 -0500
    21.3 @@ -1,13 +1,15 @@
    21.4  <div id = "i_inputbox">
    21.5  
    21.6 +
    21.7 +
    21.8  <div class = "ttyls"> <titletron>Vitality LaserKard  Lines Style</titletron></div><br>
    21.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div>
   21.10 +<div class = "descript">Laser-Etched Clear Acrylic </div>
   21.11  
   21.12  <!-- Start of Form -->
   21.13  <!-- Note: target="paypal" was replaced with the variable target="_self" -->
   21.14  <!-- Note: shopping_url also added to code -->
   21.15  <!-- These two changes allow better functionality with IE and Firefox --> 
   21.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
   21.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
   21.18  <input type="hidden" name="add" value="1">
   21.19  <input type="hidden" name="cmd" value="_cart">
   21.20  <!--your email address goes here -->
   21.21 @@ -103,180 +105,42 @@
   21.22  <!-- Start of Text Input Fields -->
   21.23  <br>
   21.24  Line 1:&nbsp;&nbsp;
   21.25 -<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
   21.26 -onKeyUp="
   21.27 -tt.remove();
   21.28 -
   21.29 -var font_size = 30;
   21.30 -
   21.31 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   21.32 -tt.attr('stroke', '#f00');
   21.33 -tt.attr('fill', 'TRANSPARENT');
   21.34 -var c = tt.getBBox().width;
   21.35 -tt.translate((502 - c)/2,0);
   21.36 -
   21.37 -
   21.38 -
   21.39 -
   21.40 -
   21.41 -
   21.42 -//document.write( c );
   21.43 -
   21.44 -
   21.45 -
   21.46 -
   21.47 -
   21.48 -"
   21.49 +<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   21.50  
   21.51  >
   21.52  <!--   -->
   21.53  <br>
   21.54  <br>
   21.55  Line 2:&nbsp;&nbsp;
   21.56 -<input type="text" id="Line 2" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
   21.57 -onKeyUp="
   21.58 -tt.remove();
   21.59 -
   21.60 -var font_size = 30;
   21.61 -
   21.62 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   21.63 -tt.attr('stroke', '#f00');
   21.64 -tt.attr('fill', 'TRANSPARENT');
   21.65 -var c = tt.getBBox().width;
   21.66 -tt.translate((502 - c)/2,0);
   21.67 -
   21.68 -
   21.69 -
   21.70 -
   21.71 -
   21.72 -
   21.73 -//document.write( c );
   21.74 -
   21.75 -
   21.76 -
   21.77 -
   21.78 -
   21.79 -"
   21.80 +<input type="text" id="Line 2" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
   21.81  
   21.82  >
   21.83  <!--   -->
   21.84  <br>
   21.85  <br>
   21.86  Line 3:&nbsp;&nbsp;
   21.87 -<input type="text" id="Line 3" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
   21.88 -onKeyUp="
   21.89 -tt.remove();
   21.90 -
   21.91 -var font_size = 30;
   21.92 -
   21.93 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   21.94 -tt.attr('stroke', '#f00');
   21.95 -tt.attr('fill', 'TRANSPARENT');
   21.96 -var c = tt.getBBox().width;
   21.97 -tt.translate((502 - c)/2,0);
   21.98 -
   21.99 -
  21.100 -
  21.101 -
  21.102 -
  21.103 -
  21.104 -//document.write( c );
  21.105 -
  21.106 -
  21.107 -
  21.108 -
  21.109 -
  21.110 -"
  21.111 +<input type="text" id="Line 3" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  21.112  
  21.113  >
  21.114  <!--   -->
  21.115  <br>
  21.116  <br>
  21.117  Line 4:&nbsp;&nbsp;
  21.118 -<input type="text" id="Line 4" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 
  21.119 -onKeyUp="
  21.120 -tt.remove();
  21.121 -
  21.122 -var font_size = 30;
  21.123 -
  21.124 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  21.125 -tt.attr('stroke', '#f00');
  21.126 -tt.attr('fill', 'TRANSPARENT');
  21.127 -var c = tt.getBBox().width;
  21.128 -tt.translate((502 - c)/2,0);
  21.129 -
  21.130 -
  21.131 -
  21.132 -
  21.133 -
  21.134 -
  21.135 -//document.write( c );
  21.136 -
  21.137 -
  21.138 -
  21.139 -
  21.140 -
  21.141 -"
  21.142 +<input type="text" id="Line 4" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  21.143  
  21.144  >
  21.145  <!--   -->
  21.146  <br>
  21.147  <br>
  21.148  Line 5:&nbsp;&nbsp;
  21.149 -<input type="text" id="Line 5" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)" 
  21.150 -onKeyUp="
  21.151 -tt.remove();
  21.152 -
  21.153 -var font_size = 30;
  21.154 -
  21.155 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  21.156 -tt.attr('stroke', '#f00');
  21.157 -tt.attr('fill', 'TRANSPARENT');
  21.158 -var c = tt.getBBox().width;
  21.159 -tt.translate((502 - c)/2,0);
  21.160 -
  21.161 -
  21.162 -
  21.163 -
  21.164 -
  21.165 -
  21.166 -//document.write( c );
  21.167 -
  21.168 -
  21.169 -
  21.170 -
  21.171 -
  21.172 -"
  21.173 +<input type="text" id="Line 5" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  21.174  
  21.175  >
  21.176  <!--   -->
  21.177  <br>
  21.178  <br>
  21.179  Line 6:&nbsp;&nbsp;
  21.180 -<input type="text" id="Line 6" name="line_6b" size="20" value = "http://www.domain.com" ONFOCUS="clearDefault(this)" 
  21.181 -onKeyUp="
  21.182 -tt.remove();
  21.183 -
  21.184 -var font_size = 30;
  21.185 -
  21.186 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
  21.187 -tt.attr('stroke', '#f00');
  21.188 -tt.attr('fill', 'TRANSPARENT');
  21.189 -var c = tt.getBBox().width;
  21.190 -tt.translate((502 - c)/2,0);
  21.191 -
  21.192 -
  21.193 -
  21.194 -
  21.195 -
  21.196 -
  21.197 -//document.write( c );
  21.198 -
  21.199 -
  21.200 -
  21.201 -
  21.202 -
  21.203 -"
  21.204 +<input type="text" id="Line 6" name="line_6b" size="20" value = "http://www.domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
  21.205  
  21.206  >
  21.207  <!--   -->
    22.1 --- a/paypal/make.pl	Sun Jan 24 15:06:22 2010 -0500
    22.2 +++ b/paypal/make.pl	Mon Jan 25 03:42:08 2010 -0500
    22.3 @@ -6,11 +6,13 @@
    22.4  (
    22.5  TITLE  => 'Clarity Series:<br> The Bold Kard.',
    22.6  PRODUCT_NAME => 'Clarity Series: The Bold Kard',
    22.7 +SHORT_FORM   =>  'bold',
    22.8 +
    22.9  DESC	=> 'Laser-Etched Clear Acrylic',
   22.10  
   22.11  NAME   => 'big_acrylic_clear', 
   22.12  
   22.13 -FIELDS      => ["Line 1 (James Bond)", "Line 2 (jbond\@mi6.co.uk)"],
   22.14 +FIELDS      => ["Name", "Email"],
   22.15  DEFAULTS      => ['James Bond','jbond@mi6.co.uk'],
   22.16  
   22.17  COSTS_NAMES   => ['40 cards &mdash; $125', '4 cards &mdash; $30'],
   22.18 @@ -27,10 +29,11 @@
   22.19  (
   22.20  TITLE  => 'Clarity Series:<br> The Arrow Kard.',
   22.21  PRODUCT_NAME => 'Clarity Series: The Arrow Kard',
   22.22 +SHORT_FORM   =>  'arrow',
   22.23  
   22.24  NAME   => 'basic_acrylic_clear', 
   22.25  
   22.26 -FIELDS      => ["Line 1 (James Bond)", "Line 2 (MI6)","Line 3 (Secret Agent)","Line 4 (jbond\@mi6.co.uk)"],
   22.27 +FIELDS      => ["Name", "Company","Occupation","Email"],
   22.28  DEFAULTS      => ['James Bond','MI6','Secret Agent','jbond@mi6.co.uk'],
   22.29  
   22.30  COSTS_NAMES   => ['40 cards &mdash; $125', '4 cards &mdash; $30'],
   22.31 @@ -48,17 +51,18 @@
   22.32  (
   22.33  TITLE  => 'Clarity Series:<br> The Classic Kard.',
   22.34  PRODUCT_NAME => 'Clarity Series: The Classic Kard',
   22.35 +SHORT_FORM   =>  'classic',
   22.36  
   22.37  NAME   => 'classic_acrylic_clear', 
   22.38  
   22.39 -FIELDS      => ["Line 1 (jbond\@mi6.co.uk)", "Line 2 (123.456.7890)","Line 3 (James Bond)","Line 4 (MI6)","Line 5 (Secret Agent)","Side (http://www.jamesbond.com)"],
   22.40 +FIELDS      => ["Email", "Phone","Name","Company","Occupation","Website"],
   22.41  DEFAULTS      => ['jbond@mi6.co.uk','123.456.7890','James Bond','MI6','Secret Agent','http://www.jamesbond.com'],
   22.42  
   22.43  COSTS_NAMES   => ['40 cards &mdash; $125', '4 cards &mdash; $30'],
   22.44  COSTS_CODE    => ['40 cards @125.00', '4 cards @30.00'],
   22.45  INITIAL_PRICE => '$125.00',
   22.46  
   22.47 -ADD_PENNY       => 0,
   22.48 +ADD_PENNY       => 1,
   22.49  );
   22.50  }
   22.51  
   22.52 @@ -70,10 +74,11 @@
   22.53  (
   22.54  TITLE  => 'Clarity Series:<br> The Direct Kard.',
   22.55  PRODUCT_NAME => 'Clarity Series: The Direct Kard',
   22.56 +SHORT_FORM   =>  'direct',
   22.57  
   22.58  NAME   => 'lines_acrylic_clear', 
   22.59  
   22.60 -FIELDS      => ["Line 1 (James Bond)", "Line 2 (Secret Agent)","Line 3 (MI6)","Line 4 (123.456.7890)","Line 5 (jbond\@domain.com)","Line 6 (www.domain.com)"],
   22.61 +FIELDS      => ["Name", "Occupation","Company","Phone","Email","Website"],
   22.62  DEFAULTS      => ['James Bond','Secret Agent','MI6','123.456.7890','jbond@domain.com','www.domain.com'],
   22.63  
   22.64  COSTS_NAMES   => ['40 cards &mdash; $125', '4 cards &mdash; $30'],