// JavaScript Document
var hDate1 = new Date();
var hDate2 = new Date('2010/02/21');
if (hDate1 < hDate2)
{
	
	var holidayHTML = '<div style="margin:0 auto; width:990px;">';
	holidayHTML += '<div style="border:1px solid #EF3724; border-bottom:2px solid #EF3724;">';
	holidayHTML += '<div style="width:100%; line-height:150%;">';
	holidayHTML += '<div style="padding:10px; display:none; background:url('+ imageDomain +'images/AnnouncementBg.jpg) bottom right no-repeat;" id="holidayInfo">';
	
	holidayHTML += '<div style="text-indent:40px; background:url('+ imageDomain +'images/AnnouncementBgSmall.jpg) no-repeat;">';
	holidayHTML += 'Thank you for your business in 2009.  The Chinese Lunar New Year 2010 is starting on Feb 14.  Almost all factories will be closed for 2 - 3 weeks, starting Feb 8. <br />';
	holidayHTML += '<br />';
	holidayHTML += 'With the vacations, <strong><font color="#FF0000">we will not be able to process any order between Feb 11 to Feb 21</font></strong><br />';
	holidayHTML += '<br />';
	holidayHTML += 'We apologize for any inconvenience, and we thank you ahead for your understanding.<br />';
	holidayHTML += '<br />';
	// holidayHTML += 'Please also kindly note that <strong><font color="#FF0000">our office will be closed for the holiday between Feb 11 to Feb 21</font></strong>. <br />';
	// holidayHTML += '<br />';
	holidayHTML += 'At Citronid, we appreciate your business.  We hope that we can help to grow your business in the prosperous New Year.<br />   ';
	holidayHTML += '</div>';
	
	/*
	holidayHTML += '<div style="border-bottom:1px dashed #EF3724; font-size:1px; line-height:1px; height:1px; margin:12px 0px;"></div>';
	holidayHTML += '<div><strong>Discount E-coupon for Chinese Lunar New Year 2010</strong></div>';
	holidayHTML += '<br />';
	holidayHTML += '<strong><font color="#FF0000">US$10 off any US$300 Purchase</font></strong> <br />';
	holidayHTML += 'Get US$10 off any purchase of US$300 or more when you enter coupon code during checkout. <br />';
	holidayHTML += 'Coupon code: <strong>C878-FD0A-2621-83C4</strong> <br />';
	holidayHTML += 'Expires: Jan 31 2010<br />';
	holidayHTML += '<br />';
	holidayHTML += '<strong><font color="#FF0000">US$20 off any US$500 Purchase </font></strong><br />';
	holidayHTML += 'Get US$20 off any purchase of US$500 or more when you enter coupon code during checkout. <br />';
	holidayHTML += 'Coupon code: <strong>91E3-3060-F37A-D58A</strong> <br />';
	holidayHTML += 'Expires: Jan 31 2010';
	*/
	
	holidayHTML += '<div style="border-bottom:1px dashed #EF3724; font-size:1px; line-height:1px; height:1px; margin:8px 0px;"></div>';
	
	
	holidayHTML += '<div>&raquo; <a href="javascript:void(0);" onclick="view_holiday();"><strong>Show Summary</strong></a></div>';
	holidayHTML += '</div>';
	
	
	holidayHTML += '<div style="padding-left:55px; height:32px; line-height:32px; display:block; background:url('+ imageDomain +'images/AnnouncementBgSmall.jpg) 10px 2px #FFF no-repeat;" id="holiday">';
	holidayHTML += '<div style="margin-right:10px; background:url('+ imageDomain +'images/AnnouncementBgSmall.jpg) right no-repeat;"><strong><font color="#000000">The Chinese Lunar New Year 2010 is starting on Feb. 14. We will not be able to process any order between Feb 11 to Feb 21. </font> &nbsp; &nbsp; &raquo; <a href="javascript:void(0);" onclick="view_holiday();">Show All</a>.</strong></div>';
	holidayHTML += '</div>';
	
	
	holidayHTML += '</div></div></div>';


	document.write(holidayHTML);
}


function view_holiday()
{
	var o = document.getElementById('holiday');
	var info = document.getElementById('holidayInfo');
	if (o.style.display == 'block')
	{
		o.style.display = 'none';
		info.style.display = 'block';
	}
	else
	{
		o.style.display = 'block';
		info.style.display = 'none';
	}
}
