function header()
{
document.write("<body background='images/jacquard.gif' topmargin='0' style='font-family: Papyrus' class='Papyrus' id='Papyrus'>")
document.write("<div align='center'><table border='0' width='900' id='table_header'><tr><td id='logo' align='center'><a href='index.html'><img border='0' src='images/jfdlogo.gif' width='469' height='80' alt='Jacquelyn Fields Designs'></a></td></tr>")
document.write("<tr><td align='center'><img border='0' src='images/words.gif' width='707' height='40'></td></tr><tr><td id='construction'></td></tr></table></div>")
//upgrade note
//document.getElementById("construction").innerHTML = "<font face='Papyrus' size='2'><div style='position: absolute; width: 520px; height: 250px; z-index: 1; right: 10px; top: 10px; background-color:white; visibility:visible' id='upgrade'><table border='0' bgcolor='#FFFFD9' width='520' height='220'><tr><td id='info1' valign='top'></td></tr><tr><td id='info2'></td></tr></table></div></font>";
//document.getElementById("info1").innerHTML = "<p align='right'>close<img border='0' width='15' height='15'src='images/close.jpg' onclick='closelayer()'></p>"
//document.getElementById("info2").innerHTML = "<p align='center'>The web-site is in a process of upgrading and redesigning.</p><p align='center'>New features are:</p><p align='center'>clear design | easy navigation | on-line order | on-line secure payment through<a target='_blank' href='http://www.paypal.com'>Paypal</a></p><p align='center'><b>NOTE</b>: on-line ordering and payment is not available yet<br>please, contact me if you want to place an order or if you have any questions</p><p align='center'>Thank you!";
}


//close layer
//----------------------------------------------------------------------------------------------------------------------
	function closelayer()
	{
		if (document.all["upgrade"].style.visibility == "hidden")
		{
		document.all["upgrade"].style.visibility = "visible";
		}
		else
		{
		document.all["upgrade"].style.visibility = "hidden";
		}
	}
//upgrade note end


function shoppingCartButton()
{
document.write("<form name='shoppingCart' 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='jackie@jackiefieldsdesigns.com'>")
document.write("<input type='hidden' name='page_style' value='Jackie'>")
document.write("<input type='image' src='images/menu_07_out.gif' id='viewcart' alt='Shopping Cart' border='0' width='160' height='54' onmouseover=document.getElementById('viewcart').src='images/menu_07_in.gif' onmouseout=document.getElementById('viewcart').src='images/menu_07_out.gif'>")
document.write("<input type='hidden' name='display' value='1'></form>")
}


function footer()
{
document.write("<p align='center'><font size='2'>&nbsp;Jacquelyn Fields Designs<br>Oak Park, Illinois<br>Phone: 773.405.1112<br><u><a href='mailto:jackie@jackiefieldsdesigns.com' title='send an e-mail'><font color='black'>e-mail Jackie</font></a></u></p>");
document.write("<p align='center'><a href='http://www.activemeter.com/' target='_blank'><img  src='http://am1.activemeter.com/webtracker/track.html?method=track&pid=42578&java=0' alt='Free Hit Counter' border='0'></a><br>visits to this site</p>");
document.write("<font color='black' size=2><p align=center><font color='black'>Copyright&copy; Jacquelyn Fields Designs 2008<br></font>Website designed by <a href='mailto:tbrestnichki@gmail.com?subject=web-design'>TeoBr</a></p></font>");
}


function newWindow(newContent)
{
winContent = window.open(newContent, 'nextWin', 'left=100, top=50, width=950, height=750, toolbar=no, scrollbars=yes, resizable=no')
}

// end of common javascript
// root javascript


function orderOnline()
{
		document.getElementById("order1").innerHTML = "<font style='cursor: pointer' onclick=orderOnline() color='#800000'><b>Online order</b></font> | <font style='cursor: pointer' onclick=shipping()><b>Shipping</b></font> | <font style='cursor: pointer' onclick=delivery()><b>Delivery time</b></font> | <font style='cursor: pointer' onclick=returnPolicy()><b>Returns &amp; Refunds</b></font>";
		document.getElementById("order2").innerHTML = "<p align='center'>We now accept Visa, MasterCard, American Express or Discover<table border='0' cellpadding='10' cellspacing='0' align='center'><tr><td align='center'></td></tr><tr><td align='center'><a target='_blank' href='https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside'><img  src='https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif' border='0' alt='Payment Methods'></a></td></tr></table><p>Now you can order many items online by using the PayPal option. When finalizing your purchase, you will be directed to PayPal for secure checkout, which gives you a choice of payment methods - use your Visa, MasterCard, American Express or Discover, or sign-up for PayPal account and never again use your actual credit card - it's all up to you.<p>If you are interested in other items, or wholesales inquires, please <a href='mailto:jackie@jackiefieldsdesigns.com'>email me</a>.<p><b>Please note:</b> Because most of these items are limited edition pieces, it is possible that the exact pictured lining may no longer be available. If this is the case, I will try to use a similar fabric to maintain the 'feel' of the piece.<p>&nbsp;<p align='center'><a href='http://www.paypal.com/' target='_blank'><img border='0' src='images/paypal_logo.gif' width='110' height='30'></a><br>The world's most-loved and secure way to pay and get paid.</p><p align='center'><a target='_blank' href='https://personal.paypal.com/cgi-bin/marketingweb?cmd=_render-content&content_ID=marketing_us/Sign_Up_for_PayPal'>How PayPal Works</a></p><p align='center'><a target='_blank' href='https://cms.paypal.com/us/cgi-bin/marketingweb?cmd=_render-content&fli=true&content_ID=ua/BuyerProtComp_full&locale.x=en_US#13.%20Protection%20for%20Buyers.'>PayPal Buyer Complaint Policy</a></p>";
}



/*
function orderPDF()
{
		document.getElementById("order1").innerHTML = "<font style='cursor: pointer' onclick=orderOnline()><b>Online order</b></font> | <font style='cursor: pointer' onclick=orderPDF() color='#800000'><b>Order by PDF Form</b></font> | <font style='cursor: pointer' onclick=shipping()><b>Shipping</b></font> | <font style='cursor: pointer' onclick=delivery()><b>Delivery time</b></font> | <font style='cursor: pointer' onclick=returnPolicy()><b>Returns &amp; Refunds</b></font>";
		document.getElementById("order2").innerHTML = "<p align='left'>To place an order by e-mail/mail, please, complete the following steps:<p align='left'>1. Be sure that you have Adobe Reader 9 installed on your computer. If you do not, please <a target='_blank' href='http://www.download.com/Adobe-Reader/3000-2378_4-10000062.html'>click here to install</a>.<br>2. Download the order form in <a target='_blank' href='orderform.pdf'>pdf format</a><br>3. Fill out the order form by typing in the information, making sure to complete all necessary fields.<br>4. When you are finished, click on &quot;Save A Copy&quot; in the upper left. Please rename the file with your last name and the date and send this file in an email to Jackie at <a href='mailto:jfields973@sbcglobal.net?subject=Order'>jfields973@sbcglobal.net</a><p>If you need pricing information before making a purchase, please e-mail me and I will send you a price list.<br>For wholesale inquiries please contact me to discuss the minimum for ordering, pricing, delivery, and payment information.<p align='left'><b>Please note: </b> Because most of these items are limited edition pieces, it is possible that the exact lining that is pictured may no longer be available. If this is the case, I will try to use a similar fabric or will email you the current choices available.";
}
*/


function shipping()
{
		document.getElementById("order1").innerHTML = "<font style='cursor: pointer' onclick=orderOnline()><b>Online order</b></font> | <font style='cursor: pointer' onclick=shipping() color='#800000'><b>Shipping</b></font> | <font style='cursor: pointer' onclick=delivery()><b>Delivery time</b></font> | <font style='cursor: pointer' onclick=returnPolicy()><b>Returns &amp; Refunds</b></font>";
		document.getElementById("order2").innerHTML = "<p align='center'><font color='#800000'><b>FREE</b> Shipping for a limited time - from now until the Spring.</p></font><p align='left'>We can ship anywhere in the United States. Orders usually take about 3 weeks to ship, but it is possible to do a &quot;rush shipping&quot; if an item is in stock. Overnight shipping is approximately $34.00 and second day is $22.00.<br>Any orders shipped outside of Illinois will NOT be charged the 9.25% sales tax.<br>All items are sent gift wrapped free of charge. To personalize the gift, a card is included on beautiful stationary.";
}


function delivery()
{
		document.getElementById("order1").innerHTML = "<font style='cursor: pointer' onclick=orderOnline()><b>Online order</b></font> | <font style='cursor: pointer' onclick=shipping()><b>Shipping</b></font> | <font style='cursor: pointer' onclick=delivery() color='#800000'><b>Delivery time</b></font> | <font style='cursor: pointer' onclick=returnPolicy()><b>Returns &amp; Refunds</b></font>";
		document.getElementById("order2").innerHTML = "Since many items are custom made, blankets usually take in between 2 - 4 weeks for delivery.";

}


function returnPolicy()
{
		document.getElementById("order1").innerHTML = "<font style='cursor: pointer' onclick=orderOnline()><b>Online order</b></font> | <font style='cursor: pointer' onclick=shipping()><b>Shipping</b></font> | <font style='cursor: pointer' onclick=delivery()><b>Delivery time</b></font> | <font style='cursor: pointer' onclick=returnPolicy() color='#800000'><b>Returns &amp; Refunds</b></font>";
		document.getElementById("order2").innerHTML = "There are no returns or refunds for personalized pieces, since these are made to order.<p>For all other items, I will accept returns and refund your purchase if I am notified within 2 weeks of the delivery date. <font color='#800000'> A 10% restocking fee will be deducted from the refund.</font>";

}
