
//-------------------------beginning of don't right-click code
//-------------------------this will block all images all files

function right(e) {
  if (e && e.which && (e.which == 3 || e.which == 2)) return false;
  else if (window.event && (event.button == 2 || event.button == 3)) {
    alert('Sorry. Private copyright protected graphics. Do not take.');
    return false;
  }
  return true;
}
function nocontextmenu() {
   alert('Sorry. Private copyright protected graphics. Do not take.'); return false
}
document.onmousedown=right;
if (window.captureEvents) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
document.oncontextmenu = nocontextmenu;
document.onmousedown = right;
document.onmouseup = right;


//-------------------------end of don't right-click code

var jsfileisloaded = "true";

function contactform(){
document.write('<FORM action="claussenartcgi/contact.cgi" method="post">');
document.write('<CENTER>');
document.write('<table  border=0 align="center" cellpadding=2 cellspacing=0>');
document.write('	<tr><td class="formtext" WIDTH="150">Name <B>*</B></td>');
document.write('		<td class="formtext"><input type="text" size=32 name="name"></td></tr>');
document.write('	<tr><td class="formtext">Street Address</td>');
document.write('	<td class="formtext">');
document.write('		<input type="text" size=32 name="address"></td></tr> ');
document.write('	<tr>');
document.write('	<td class="formtext">City, State and Zip</td>');
document.write('		</td>');
document.write('	<td class="formtext"><input type="text" size=32 name="citystate"></td></tr>'); 
document.write('	<tr>');
document.write('	<td class="formtext">Phone</td>');
document.write('	<td class="formtext"><input type="text" size=32 name="phone"></td></tr> ');
document.write('	<tr>');
document.write('	<td class="formtext">E-mail <B>*</B></td>');
document.write('	<td class="formtext"><input type="text" size=32 name="email"></td></tr> ');
document.write('	<tr><td></td>');
document.write('		<td  align="left">* Required<BR><BR></td></tr>');
document.write('	<tr><td class="formtext2" colspan=2>Please Check Any Interests You Have</td></tr>');
document.write('	<tr><td  class="formtext" colspan=2><OL><OL><OL><OL>');
document.write('<input type="checkbox" 	name="custom">Custom Art Work<BR>');
document.write('<input type="checkbox" 	name="Aportraits">Animal Portraits<BR>');
document.write('<input type="checkbox" 	name="Pportraits">People Portraits<BR>');
document.write('<input type="checkbox" 	name="glass">Glass<BR>');
document.write('<input type="checkbox" name="porcelain" >Porcelain<BR>');
document.write('<input type="checkbox" name="oil">Oil Painting<BR>');
document.write('<input type="checkbox" name="watercolor">Watercolor<BR>');
document.write('<input type="checkbox" name="sketches">Sketches<BR>');
document.write('<INPUT TYPE="text" NAME="inforequest" title="customer id" class="infox">');
document.write('<input type="checkbox" name="mailinglist">Mailing List</OL>');
document.write('</OL></OL></OL></td></tr>');
document.write('	<tr>');
document.write('	<td class="formtext2" colspan=2><BR>How Did You Hear About Us?</th></tr>');
document.write('	<tr><td class="formtext2" colspan=2 ><textarea name="refer" cols=45 rows=2></textarea></td></tr>');
document.write('	<tr><td class="formtext2" colspan=2>Please enter any other questions or comments.</td></tr>');
document.write('	<tr><td class="formtext2" colspan=2><textarea name="comments" cols=45 rows=4 ></textarea></td></tr>');
document.write('	<tr>');
document.write('	<td class="formtext2" colspan=2 ALIGN="CENTER"><input type="submit" value="Send E-Mail">&nbsp;&nbsp;<input type="reset"><INPUT TYPE="Hidden" NAME="x" VALUE="yz"></td></tr>');
document.write('</table>');
document.write('</CENTER></DIV>');
document.write('	<BR>');
document.write('	</FORM>');
}

if (jsfileisloaded) SetJSCookie();

 
function giclee_line(title, size, 
					priceGiclee, pricePrint, itemnumber, 
					imagename1, imagename2){
document.write('<TR><TD ROWSPAN="3">');
document.write('<A HREF="claussenartcgi/images.cgi?x='+imagename2+'"><IMG SRC="images/products/'+imagename1+'" border = 0></A></TD>');
document.write('<TD><B>'+title+'</B></TD><TD>&nbsp;</TD></TR>');
document.write('<TR VALIGN="top"><TD>Giclee: $'+priceGiclee);
if(size){
document.write('<br>Size: '+size);
}

document.write('</TD><TD>');
paypalbutton(title, "Giclee", size, priceGiclee, "");
document.write('<TR VALIGN="top"><TD>Print: $'+pricePrint+'</TD><TD>');
paypalbutton(title, "Print", "8-1/2x11", pricePrint, "");
document.write('</TD></TR>');
}
 

function paypalbutton(title, item, size, price, itemnumber){
document.write('<form TARGET="paypal" ACTION="https://www.paypal.com/cgi-bin/webscr" METHOD="post">');
document.write('<input TYPE="hidden" NAME="cmd" VALUE="_cart">');
document.write('<input TYPE="hidden" NAME="business" VALUE="gldn-ret@pacbell.net">');
document.write('<input TYPE="hidden" NAME="item_name" VALUE="'+title+' ('+item+' '+size+')">');
document.write('<input TYPE="hidden" NAME="item_number" VALUE="'+itemnumber+'">');
document.write('<input TYPE="hidden" NAME="amount" VALUE="'+price+'">');
document.write('<input TYPE="hidden" NAME="no_note" VALUE="1">');
document.write('<input TYPE="hidden" NAME="currency_code" VALUE="USD">');
document.write('<input TYPE="hidden" NAME="lc" VALUE="US">');

document.write(' <input type="image" src="images/addtocart.gif" border="0" name="submit" alt="Make payments with PayPal -its fast, free and secure!">');
document.write('<img alt="" border="0" src="images/addtocart.gif" width="1" height="1">');

document.write('<input TYPE="hidden" NAME="add" VALUE="1">');
document.write('</form>');
}
function viewcart(){
document.write('<TR><TD align="center" colspan=3><form name="_xclick" target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">');
document.write('<input type="hidden" name="cmd" value="_cart">');
document.write('<input type="hidden" name="business" value="gldn-ret@pacbell.net">');
document.write('<input type="image" src="https://www.paypal.com/images/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - its fast, free and secure!">');
document.write('<input type="hidden" name="display" value="1">');
document.write('</form></TD></TR>');
}

function htmlstart(){
var str='';
str+='<!DOCTYPE HTML PUBLIC "-\/\/W3C\/\/DTD HTML 3.2 Final\/\/EN">';
str+='<HTML>';
str+='<HEAD>';
str+='<TITLE>Debbie Claussen Art - Order<\/TITLE>';
str+='<META NAME="Generator" CONTENT="Cold Fusion Studio">';
str+='<META NAME="Author" CONTENT="Mary Alward of iWebTown Web Design">';
str+='<META NAME="Keywords" CONTENT="painting, art, porcelain, glass,watercolor, golden retriever, portraits, animal portraits, oil, oil painting, custom, watercolor, lamp, tile, sink, mug, plate, ornament, gifts, Alameda, CA, california, Alameda County, ceramics, Debbie Claussen Art ">';
str+='<META NAME="Description" CONTENT="Debbie Claussen Art offers custom oil or watercolor portraits and custom hand painted, ceramic and glass products such as lamps, tile, sinks, mugs, cups, ornaments, and display plates.">';
str+='<script language="javascript" src="sniffer.js">';
str+='\/\/Top Navigational Bar III v3.4.1 (By BrotherCake @ cake@brothercake.net)';
str+='\/\/Permission granted\/modified by Dynamicdrive.com to include script in archive';
str+='\/\/For this and 100\'s more DHTML scripts, visit http:\/\/www.dynamicdrive.com';
str+='<\/script>';
str+='<script language="javascript1.2" src="custom.js"><\/script>';
str+='<script language="javascript1.2" src="style.js"><\/script>';
str+='<link rel=stylesheet href="claussen.css" type="text\/css">';
str+='<script language="javascript" src="claussen.js"><\/script>';
str+='<\/head>';
str+='<body>';
document.write(str);

}

function htmlend(){
var str='';
str+='<\/body>';
str+='<\/html>';
document.write(str);
}
function validateForm(){
    var form_object = document.forms.orderform;
        if(form_object.elements.firstname.value == ''){
        alert('You must enter your first name.');
        return false;
    } else if(form_object.elements.lastname.value == ''){
        alert('You must enter your last name.');
        return false;
    } else if(form_object.elements.address.value == ''){
        alert('You must enter your address.');
        return false;
	} else if(form_object.elements.city.value == ''){
        alert('You must enter your city.');
        return false;
	}  else if(form_object.elements.state.value == ''
	 || form_object.elements.state.value == 'Select State'
	){
        alert('You must enter your state.');
        return false;
	}  else if(form_object.elements.zip.value == ''){
        alert('You must enter your zip code.');
        return false;
	}  else if(form_object.elements.country.value == ''){
        alert('You must enter your country.');
        return false;
	}  else if(form_object.elements.phone.value == ''){
        alert('You must enter your phone.');
        return false;
	}  else if(form_object.elements.email.value == ''){
        alert('You must enter your email.');
        return false;
	}  else if(form_object.elements.lastname.value == ''){
        alert('You must enter your last name!');
        return false;
	} 
 return true;
}


function testpageloading(){
htmlstart;
pagetitle("xxx\n\r");
htmlend();
}


function displayorder(){
	htmlstart;
	if(!validateForm()){return;}
	var form_object = document.forms.orderform;
	var orderstring = "<center>Order Information</CENTER><BR>";
	// below - do not remove the *1 in the calculations.  The line fails
	// if it is removed.  I dont know why.  Saw an math example online
	// and decided to try it to make the math work. 
	var totalamount = (form_object.elements.amt1.value * 1) + (form_object.elements.amt2.value * 1) + (form_object.elements.amt3.value * 1) + (form_object.elements.amt4.value * 1) + (form_object.elements.amt5.value * 1);
	var tax = totalamount * ".0825";
	tax = tax.toFixed(2);
	var shipping = "0";
	if(totalamount > "0" && totalamount < "9.99"){shipping = "3.00";}
	else if(totalamount < "49.99"){shipping = "5.00";}
	else if(totalamount < "99.99"){shipping = "8.00";}
	else if(totalamount < "199.99"){shipping = "12.00";}
	else if(totalamount > "200.00"){shipping = "15.00";}
	
	totalamount = totalamount.toFixed(2);
	
	var grandtotal = (totalamount * 1) + (tax * 1)  + (shipping * 1);
	grandtotal = grandtotal.toFixed(2);
	//grandtotal = grandtotal.toFixed(2);
	// var shipping = 0;
	 
	var amt1 = (form_object.elements.amt1.value * 1);
	amt1 = amt1.toFixed(2);
	var amt2 = (form_object.elements.amt2.value * 1);
	amt2 = amt2.toFixed(2);
	var amt3 = (form_object.elements.amt3.value * 1);
	amt3 = amt3.toFixed(2);
	var amt4 = (form_object.elements.amt4.value * 1);
	amt4 = amt4.toFixed(2);
	var amt5 = (form_object.elements.amt5.value * 1);
	amt5 = amt5.toFixed(2);
	
	
orderstring = 	"<center><big><b>Debbie Claussen Art Order Form</B></big><BR><BR>" +
				"Mail this order form to:<BR><BR>" + 
				"Debbie Claussen Art<BR>" + 
				"140 Overhill Road<BR>Orinda, CA 94563<BR>925-254-0815<BR>" + 
"</CENTER>" +
				"<center><table WIDTH='80%'><TR><TD>" + 
				form_object.elements.firstname.value + " " +
				form_object.elements.lastname.value + "<BR>" +
				form_object.elements.address.value + "<BR>" +
				form_object.elements.city.value + ", " +
				form_object.elements.state.value + "  " +
				form_object.elements.zip.value + "&nbsp;&nbsp;" +
				form_object.elements.country.value + "<BR>"  +
				form_object.elements.email.value + "<BR>" +
				form_object.elements.phone.value + "<BR><BR>" + "Comments: " +
				form_object.elements.comments.value + "<BR><BR>" + 
				"<b>Order Information<BR><BR></B>" + 
				"</td></tr></table>" + 
				"<table WIDTH='80%'>" + 
				
				"<TR><TD WIDTH='10%' NOWRAP>Item 1</TD>" +
				"<TD WIDTH='30%'>" + form_object.elements.cat1.value + "</TD>" +
				"<TD WIDTH='40%'>" + form_object.elements.descr1.value + "</TD>" +
				"<TD WIDTH='10%'>" + form_object.elements.size1.value + "</TD>" +
				"<TD WIDTH='10%' ALIGN='RIGHT' >" + amt1 + "</TD></TR>" +
				"<TR><TD>Item 2</TD>" +
				"<TD>" + form_object.elements.cat2.value  + "</TD>" +
				"<TD>" + form_object.elements.descr2.value  + "</TD>" +
				"<TD>" + form_object.elements.size2.value  + "</TD>" +
				"<TD ALIGN='RIGHT' >" + amt2 + "</TD></TR>" +
				"<TR><TD>Item 3</TD>" +
				"<TD>" + form_object.elements.cat3.value + "</TD>" +
				"<TD>" + form_object.elements.descr3.value + "</TD>" +
				"<TD>" + form_object.elements.size3.value  + "</TD>" +
				"<TD ALIGN='RIGHT' >" + amt3 + "</TD></TR>" +
				"<TR><TD>Item 4</TD>" +
				"<TD>" + form_object.elements.cat4.value  + "</TD>" +
				"<TD>" + form_object.elements.descr4.value  + "</TD>" +
				"<TD>" + form_object.elements.size4.value  + "</TD>" +
				"<TD ALIGN='RIGHT' >" + amt4 + "</TD></TR>" +
				"<TR><TD>Item 5</TD>" +
				"<TD>" + form_object.elements.cat5.value  + "</TD>" +
				"<TD>" + form_object.elements.descr5.value  + "</TD>" +
				"<TD>" + form_object.elements.size5.value  + "</TD>" +
				"<TD ALIGN='RIGHT' >" + amt5 + "</TD></TR>" +
				"<tr><td COLSPAN='5'><HR></TD></TR>" +
				"<TR><TD COLSPAN=3>Sub-Total: </TD>" +
				"<TD ALIGN='RIGHT' COLSPAN=2>$" + totalamount + "</TD></TR>" +
				"<TR><TD COLSPAN=3>Tax: </TD>" + 
				"<TD ALIGN='RIGHT' COLSPAN=2>" + tax + "</TD></TR>" +
				"<TR><TD COLSPAN=3>Shipping: </TD>" +
				"<TD ALIGN='RIGHT' COLSPAN=2>" + shipping + "</TD></TR>" +
				"<TR><TD COLSPAN=3>Total Amount: </TD>" + 
				"<TD ALIGN='RIGHT' COLSPAN=2>$" + grandtotal + "</TD></TR>" +
				"<tr><td COLSPAN='5'><HR></TD></TR>" +
				"</TABLE>" + 
				"<table WIDTH='80%'>" + 
				"<TR><TD COLSPAN='2'>If you choose to use your credit card, please put your information below.</TD></TR>" + 
				"<TR><TD>Credit Card Type:</TD>" + 
				"    <TD>______________________________</TD></TR>" + 
				"<TR><TD>Name on Credit Card:</TD>" + 
				"    <TD>______________________________</TD></TR>" + 
				"<TR><TD>Expiration Date:</TD>" + 
				"    <TD>______________________</TD></TR>" + 
				"</TABLE>" + 
				
				"<BR><BR>End of Order</center></FONT>";
	
	orderstring += "\n\r";
	document.write(orderstring); 

 if (window.print) { 
 	document.write('<center><form><input type=button name=print value="Print This Page!" onClick="javascript:window.print()"></form></center>'); } 

}


function orderform(name_address_info){
document.write('<FORM action="claussenartcgi/orderprintable.cgi" method="post"  name="orderform">');
document.write('<center><TABLE STYLE="page-break-before:always" class="printtable">');
document.write('<TR><TD COLSPAN="2" ALIGN="CENTER">'+name_address_info+'</TD></TR>');
document.write('<INPUT TYPE="Hidden" NAME="name_address_info" VALUE="'+name_address_info+'">');
document.write('<TR><TD class="formtext">First Name</TD> ');
document.write('	    <TD  class="formtext"><input type="text"  name="firstname"></TD></TR>');
document.write('	<TR><TD class="formtext">Last Name</TD> ');
document.write('	    <TD class="formtext"><input type="text" name="lastname"></TD></TR>');
document.write('	<TR><TD class="formtext">Address</TD>');
document.write('	    <TD class="formtext"><input type="text" size=35  name="address"></TD></TR> ');
document.write('	<TR><TD class="formtext">City</TD>');
document.write('	    <TD class="formtext"><input type="text" size=35  name="city"></TD></TR> ');
document.write('	<TR><TD class="formtext">State</TD>');
document.write('	    <TD class="formtext">');
document.write('		<SELECT NAME="state">');
document.write('<OPTION>Select State');
document.write('<OPTION>AL Alabama ');
document.write('<OPTION>AK Alaska ');
document.write('<OPTION>AZ Arizona ');
document.write('<OPTION>AR Arkansas ');
document.write('<OPTION>CA California ');
document.write('<OPTION>CO Colorado ');
document.write('<OPTION>CT Connecticut ');
document.write('<OPTION>DE Delaware ');
document.write('<OPTION>FL Florida ');
document.write('<OPTION>GA Georgia ');
document.write('<OPTION>HI Hawaii ');
document.write('<OPTION>ID Idaho ');
document.write('<OPTION>IL Illinois ');
document.write('<OPTION>IN Indiana ');
document.write('<OPTION>IA Iowa ');
document.write('<OPTION>KS Kansas ');
document.write('<OPTION>KY Kentucky ');
document.write('<OPTION>LA Louisiana ');
document.write('<OPTION>ME Maine ');
document.write('<OPTION>MD Maryland ');
document.write('<OPTION>MA Massachusetts ');
document.write('<OPTION>MI Michigan ');
document.write('<OPTION>MN Minnesota ');
document.write('<OPTION>MS Mississippi ');
document.write('<OPTION>MO Missouri ');
document.write('<OPTION>MT Montana ');
document.write('<OPTION>NE Nebraska ');
document.write('<OPTION>NV Nevada ');
document.write('<OPTION>NH New Hampshire ');
document.write('<OPTION>NJ New Jersey ');
document.write('<OPTION>NM New Mexico ');
document.write('<OPTION>NY New York ');
document.write('<OPTION>NC North Carolina ');
document.write('<OPTION>ND North Dakota ');
document.write('<OPTION>OH Ohio ');
document.write('<OPTION>OK Oklahoma ');
document.write('<OPTION>OR Oregon ');
document.write('<OPTION>PA Pennsylvania ');
document.write('<OPTION>RI Rhode Island ');
document.write('<OPTION>SC South Carolina ');
document.write('<OPTION>SD South Dakota '); 
document.write('<OPTION>TN Tennessee '); 
document.write('<OPTION>TX Texas '); 
document.write('<OPTION>UT Utah ');
document.write('<OPTION>VT Vermon ');
document.write('<OPTION>VA Virginia '); 
document.write('<OPTION>WA Washington ');
document.write('<OPTION>WV West Virginia ');
document.write('<OPTION>WI Wisconsin ');
document.write('<OPTION>WY Wyoming');
document.write('</select>');
document.write('</TD></TR>');
document.write('	<TR><TD class="formtext">Zip Code</TD>');
document.write('		<TD class="formtext"><input type="text" name="zip"></TD></TR>');
document.write('	<TR><TD class="formtext">Country</TD>');
document.write('		<TD class="formtext"><input type="text" name="country"></TD></TR>');
document.write('	<TR><TD class="formtext">Home Phone</TD>');
document.write('		<TD class="formtext"><input type="text"  name="phone"></TD></TR>');
document.write('		<TR><TD class="formtext">Email</TD>');
document.write('		<TD class="formtext"><input type="text" size=35  name="email"></TD></TR>');
document.write('<TR valign="top"><td COLSPAN="2" ALIGN="CENTER"><B>Comments</B><BR><textarea name="comments" cols=50 rows=3></textarea></TD></TR>');
document.write('</TABLE>');
document.write('<BR>');
document.write('<TABLE  BORDER="1" BORDERCOLOR="#C0C0C0" CELLPADDING="6" CLASS="shippingtable">');
document.write('<CAPTION><B>Shipping Charges</B></CAPTION>');
document.write('<TR><TD COLSPAN="2" ALIGN="CENTER">');
document.write('<!-- the shipping values are passed to the cgi program below in hidden fields. ');
document.write('	if changed here, change also in hidden fields shippingranges and shipping amounts -->');
document.write('	<TR><TD ALIGN="RIGHT">$0.01 - 9.99</TD> ');
document.write('		<TD ALIGN="RIGHT">$3.00</TD></TR>');
document.write('	<TR><TD ALIGN="RIGHT">$10.00 - 49.99</TD>  ');
document.write('		<TD ALIGN="RIGHT">$5.00</TD></TR>');
document.write('	<TR><TD ALIGN="RIGHT">$50.00 - 99.99</TD>');  
document.write('		<TD ALIGN="RIGHT">  $8.00 </TD></TR>');
document.write('	<TR><TD ALIGN="RIGHT">$100.00 - 199.99</TD>  ');
document.write('		<TD ALIGN="RIGHT">  $12.00 </TD></TR>');
document.write('	<TR><TD ALIGN="RIGHT">&nbsp;&nbsp;&nbsp;$200.00 and over</TD>  ');
document.write('		<TD ALIGN="RIGHT">&nbsp;$15.00 </TD></TR>');
document.write('</TABLE>');
document.write('<BR>');
document.write('<INPUT TYPE="Hidden" NAME="shippingranges" VALUE="0 10 50 100 200">');
document.write('<INPUT TYPE="Hidden" NAME="shippingamounts" VALUE="3 5 8 12 15">');
document.write('<TABLE WIDTH="500"   BORDER="1" BORDERCOLOR="#C0C0C0" CELLPADDING="3" CLASS="shippingtable">');
document.write('		<CAPTION><B>Products Ordered</B></CAPTION>');
document.write('		<TR>');
document.write('			<TD class="orderformhead">#</TD>');
document.write('			<TD class="orderformhead">Category</TD>');
document.write('			<TD class="orderformhead">Description</TD>');
document.write('			<TD class="orderformhead">Size</TD>');
document.write('			<TD class="orderformhead">Amount</TD>');
document.write('		</TR>');
document.write('<TR><TD class="formtext">1</TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="cat1" SIZE="16"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="descr1" SIZE="26"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="size1" SIZE="4"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="amt1" SIZE="4"></TD></TR>');
document.write('<TR><TD class="formtext">2</TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="cat2" SIZE="16"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="descr2" SIZE="26"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="size2" SIZE="4"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="amt2" SIZE="4"></TD></TR>');
document.write('<TR><TD class="formtext">3</TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="cat3" SIZE="16"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="descr3" SIZE="26"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="size3" SIZE="4"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="amt3" SIZE="4"></TD></TR>');
document.write('<TR><TD class="formtext">4</TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="cat4" SIZE="16"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="descr4" SIZE="26"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="size4" SIZE="4"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="amt4" SIZE="4"></TD></TR>');
document.write('<TR><TD class="formtext">5</TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="cat5" SIZE="16"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="descr5" SIZE="26"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="size5" SIZE="4"></TD>');
document.write('	<TD><INPUT TYPE="Text" NAME="amt5" SIZE="4"></TD></TR>');
document.write('<TR><TD colspan=3 class="formtext">Sales Tax&nbsp;&nbsp;(California 9.25%)</TD><TD>&nbsp;</TD></TR>');
document.write('<TR><TD colspan=3 class="formtext">Shipping and Handling Charges</TD><TD>&nbsp;</TD></TR>');
document.write('<TR><TD COLSPAN="3" class="formtext">Total</TD><TD>&nbsp;</TD></TR>');
document.write('	<INPUT TYPE="text" NAME="inforequest" title="customer number" class="infox">');
document.write('</TABLE>');
document.write('<BR>');
document.write('<DIV ALIGN="center"><INPUT TYPE="Submit" VALUE="Display Printable Order (With Tax and Shipping)";><BR><INPUT TYPE="Reset">');

document.write('</center></FORM>');



}


function emailaddress(){
document.write('<A HREF="mailto:gldn-ret@pacbell.net"><FONT SIZE="-1">gldn-ret@pacbell.net</FONT></A>');
}

function giclee(title, thumbnail, cgiimage){
document.write('<TD class="giclee"><A HREF="claussenartcgi/images.cgi?x='+cgiimage+'"><IMG SRC="images/products/'+thumbnail+'" WIDTH=150 HEIGHT=210 BORDER=0 ALT=""></A></TD>');
}


function pagetitle(title,title2){
document.write('<A NAME="topofpage">&nbsp;</A><P align="center" class="pagetitle">'+title+'</P>');
if(title2){
  document.write('<P align="center" class="pagetitle2">'+title2+'</P>');
}}


function bannerhead(pagetitle){
document.write('<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0" VALIGN="TOP" BGCOLOR="#000000" BORDER="0">');
document.write('<TR><TD HEIGHT="150" ALIGN="CENTER"><TABLE WIDTH="750"  CELLSPACING="0" CELLPADDING="0" VALIGN="TOP" BGCOLOR="#000000" BORDER="0"> <!--  center table -->');
document.write('<TR><TD BACKGROUND="images/banner.jpg" HEIGHT="150"><IMG SRC="images/banner-right.gif" WIDTH=326 HEIGHT=120 BORDER=0 ALIGN="RIGHT" ALT=""></TD></TR>');
document.write('<TR><TD HEIGHT="30"></TD></TR></TABLE></TD></TR>');
document.write('<TR><TD ALIGN="CENTER" BACKGROUND="images/backgroundfill.gif"><TABLE WIDTH="750"  CELLSPACING="0" CELLPADDING="0" VALIGN="TOP" BGCOLOR="#000000" BORDER="0"><!--  center table -->');
}


// HOME   ABOUT US   ORIGINALS   PRODUCTS   GICLEES   COMMISSIONS   ORDERS   LINKS   CONTACT  #511b14
function navleft(buttonused){
document.write('<TR VALIGN="TOP"><td width="140" bgcolor="#afa97f" valign="top" BGCOLOR="#afa97f" BACKGROUND="images/navbackground2.jpg" ALIGN="CENTER"><BR><TABLE  cellpadding="0" CELLSPACING="0" BORDER="0" WIDTH="140">');
buttonleft("Home","index.html",buttonused,"button_daydreaming2.gif");
buttonleft("About Us","about.html",buttonused,"button_sweetroll.gif");
buttonleft("Gallery","gallery.html",buttonused,"button_2classics.gif");
buttonleft("Products","products.html",buttonused,"button_filipe.gif");
buttonleft("Giclees","giclees.html",buttonused,"button_nicholas.gif");
buttonleft("Commissions","animals.html",buttonused,"button_jack.gif");
buttonleft("Orders","order.html",buttonused,"button_morn_stretch.gif");
buttonleft("Links","links.html",buttonused,"button_rainbow_end.gif");
buttonleft("Contact","contact.html",buttonused,"button_NSEW.gif");



document.write('	</TABLE></TD><TD BGCOLOR="#FFFFFF" WIDTH="610"><!-- begin main content area here -->');
}


function buttonleft(buttontitle,htmltitle,buttonused,imagename){
document.write('<TR><TD ALIGN="CENTER" CLASS="buttonleft" WIDTH="140">');
document.write('<A HREF="');
document.write(htmltitle);
document.write('" style="font-size: 10px; color:#000000;a.hover:#FF0066" class="class1">'+buttontitle+'<BR><IMG SRC="images/'+imagename+'" WIDTH=140 HEIGHT=120 BORDER="0"><BR>');
document.write('</A></TD></TR>');
}


function banner_nav_title(title){
bannerhead("");
navleft("");
pagetitle(title);
}

function bottomnav(){
document.write('<BR><CENTER>'); 
document.write('<TABLE border=0  cellpadding=0 cellspacing=0>');  
document.write('<TR>'); 
document.write('<TD CLASS="navtext" ALIGN="CENTER"><A HREF="index.html">home</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="about.html">about the artist</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="gallery.html">gallery</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="products.html">products</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="giclees.html">giclees</A><BR><A HREF="animals.html">commissions</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="order.html">order</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="links.html">links</A><IMG SRC="images/vertline.gif"  BORDER=0 ALT="" WIDTH=21 HEIGHT=9><A HREF="contact.html">contact us</A></TD>'); 
document.write('<TR><TD CLASS="copyright"><BR>All images &copy; Debbie Claussen Art</TD></TR>'); 
document.write('<TR><TD CLASS="copyright" ALIGN="CENTER"><BR><A href="http://www.iwebtown.com"><IMG src="images/logoiwebtown.gif" border="0" alt="" WIDTH=112 HEIGHT=62></A></TD></TR>'); 
document.write('</TABLE>'); 
document.write('</CENTER>'); 
document.write('</TD></TR> <!-- end of main content area -->'); 
document.write('</TABLE></TD></TR>   <!-- end of 750px wide center table -->'); 
document.write('</TABLE> <!-- 100% wide main table -->'); 
}

// -------------------------------------








function cantclickit() {
alert ("Private graphics.  Don't not take.");
}


function watermark(){
if (document.all)
document.body.style.cssText="background:#FFFFFF url(images/candles_small.jpg)no-repeat fixed center center"
}


function helpalert(message) {
alert (message);

}

function test(message){
document.write(message);
}

function printpage() {
window.print();  
}

function printthispage(message){
document.write("<center><form><input type=button "+"value=\""+message+"\" onClick=\"printpage()\"></form></center>");
}


function backgroundcolorpicker(){

document.write('<FONT SIZE="-1" COLOR="#CCCCCC">Change Background Color to:</FONT> ');
document.write('<a href="#" onmouseover="javascript:get_color(4)"><IMG SRC="../BGwhite.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(0)"><IMG SRC="../BGlavendar.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(2)"><IMG SRC="../BGltblue.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(8)"><IMG SRC="../BGbeige.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(7)"><IMG SRC="../BGgreen.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(1)"><IMG SRC="../BGpurple.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(6)"><IMG SRC="../BGdarkblue.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(3)"><IMG SRC="../BGgrey.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
document.write('<a href="#" onmouseover="javascript:get_color(5)"><IMG SRC="../BGblack.jpg" WIDTH=14 HEIGHT=14 BORDER=0></a> ');
}


function get_color2test(color_num){
document.bgColor=color_num;
}


function backgroundcolorpicker2test(){

	document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR>');
	document.write('<TD><FONT SIZE="-1" COLOR="#CCCCCC">Change Background Color to:</FONT> </TD>');
document.write('<TD BGCOLOR="#CCCCFF" width=15 height=15><a href="#" onmouseover="javascript:get_color(0)" border="0"  CLASS="acolor"><IMG SRC="../../images/trans15x15.gif" WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></a></TD> ');
document.write('</TR></TABLE>');
}




function get_color(color_num)
{

var now_color=color_num;
var my_color= new Array(5)
  my_color[0]="#CCCCFF";
  my_color[1]="#6600CC";
  my_color[2]="#99CCCC";
  my_color[3]="#666666";
  my_color[4]="white";
  my_color[5]="black";
  my_color[6]="#000099";
  my_color[7]="#669966";
  my_color[8]="#a59c7b";
document.bgColor=my_color[now_color];
}


function checkjs(){
if (jsfileisloaded) SetJSCookie();}

function SetJSCookie(){
document.cookie = 'whatsupwithjs=jsisrunning; domain=www.claussenart.com; path=/';
}
	