/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//																											   //
//										/* LAYOUT RELATED FUNCTIONS */										   //
//																											   //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	var site_path="http://www.dgreetings.com";		//online path
//	var site_path="http://localhost/dgreetings/dgreetings";	//local path

	document.write('<SCRIPT LANGUAGE="JavaScript" SRC="' + site_path + '/dg/php-bin/dates.php"></SCRIPT>');
	var _bHasRemoved=false;

//	header function
	function header(path)
	{
		if(path==null) path="./";
		document.write('<table width=779 border=0 align="center" cellpadding=0 cellspacing=0> <tr>   <td width=200 background="' + site_path + '/newimages/newhome/new-bg.gif" bgcolor="#FACF21"><a href="http://www.dgreetings.com"><img src="' + site_path + '/newimages/newhome/dgreeting-logo.gif" alt="Dgreetings.com" width=165 height="40" border="0"></a></td> <td width=40 align="center" background="' + site_path + '/newimages/newhome/new-bg.gif" bgcolor="#FACF21"><span class="home"><a href="http://www.dgreetings.com" class="home">HOME</a></span></td><td width=36 valign="top" background="' + site_path + '/newimages/newhome/new-bg.gif"><img src="' + site_path + '/newimages/newhome/new-bg1.gif" width=36 height="40"></td><td width=263 background="' + site_path + '/newimages/newhome/new-bg.gif"> <table border="0" cellspacing="2" cellpadding="0"> <tr> <form method="post" action="http://www.dgreetings.com/searchcards/search_greetingcard.jsp"> <td class="home">eCard Search</td><td><input name="search" class="txt-feld" size="20" maxlength="80"></td> <td><input name="image" type="image" src="' + site_path + '/newimages/newhome/search.jpg"> <input type="hidden" name="searchupon" value="all"> <input type="hidden" name="sitename" value="database"> </td></form> </tr></table></td><td width=246 align="center" background="' + site_path + '/newimages/newhome/new-bg.gif" class="allfree">All Our Cards Are Absolutely Free !!!</td> </table> ');
	}

//	LEFT PANEL
	function leftpanel(path)
	{
		if(path==null) path="./";
		document.write('<TABLE CELLPADDING=2 CELLSAPCING=2 BORDER=0 WIDTH=100 ALIGN=LEFT CLASS=LEFTPANELTABLE BGCOLOR=#FFF8CA>');
		document.write('</TABLE>');
	}

//	footer function
	function footer(path)
	{
		if(path==null) path="./";
		document.write('<style type="text/css">.bttomtext {	font-family: Arial, Helvetica, sans-serif;	font-size: 12px;	font-weight: bold;	color: #D60505;}.bttomtext:hover {	font-family: Arial, Helvetica, sans-serif;	font-size: 12px;	font-weight: bold;	color: #0519D6;}</style><table width=100% align=center cellpadding=0 cellspacing=0><tr><td align=center><a href="http://www.mapsofworld.com/" target=_blank><font size=3 color=red face=arial><b>World Map</b></font></a><br></td></tr><tr><td align=center><span class="bttomtext"><a href="http://www.dgreetings.com/feedback.html" class="bttomtext"><span class="bttomtext">Your Feedback</span></a>&nbsp;&nbsp; ||&nbsp;&nbsp; <a href="http://dgreetings.com/AddressBookReminder/addressbook_login.html" class="bttomtext"><span class="bttomtext">Address Book</span></a> &nbsp;&nbsp;|| &nbsp;&nbsp;<a href="mailto:webmaster@dgreetings.com" class="bttomtext"><span class="bttomtext">Contact Us</span></a> </span></td> </tr></table><HR size=1 width=75% color=gray><table border=0 align=center width=779 cellpadding="0" cellspacing="0" CLASS=BPTABLE><tr><td ALIGN=CENTER> <a class=bottompanellink href="' + site_path + '/birthday_cards/index.html" TITLE="Birthday Cards">Birthday Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/love_you_cards/index.html" TITLE="Love Cards">Love Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/miss_you_cards/index.html" TITLE="Miss You Cards">Miss You Cards</a> :  <a class=bottompanellink href="' + site_path + '/just_like_that_cards/good_morning/index.html" TITLE="Good Morning Cards">Good Morning Cards</a> :  <a class=bottompanellink href="' + site_path + '/goodnight/index.html" TITLE="Good Night Cards">Good Night Cards</a> :  <a class=bottompanellink href="' + site_path + '/anniversary/index.html" TITLE="Anniversary Cards">Anniversary Cards</a> :  <a class=bottompanellink href="' + site_path + '/everyday_cards/hello/index.html" TITLE="Say Hi Cards">Say Hi Cards</a> :  <a class=bottompanellink href="' + site_path + '/everyday_cards/thank_you/index.html" TITLE="Thank You Cards">Thank You Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/sorry_cards/index.html" TITLE="Sorry Cards">Sorry Cards</a> :  <a class=bottompanellink href="' + site_path + '/just_like_that_cards/invitation/index.html" TITLE="Invitations Cards">Invitations Cards</a> :  <a class=bottompanellink href="' + site_path + '/fun_sake_cards/fun/index.html" TITLE="Fun Cards">Fun Cards</a> :  <a class=bottompanellink href="' + site_path + '/everyday_cards/teddies/index.html" TITLE="Teddies Cards">Teddies Cards</a>  <a class=bottompanellink href="' + site_path + '/everyday_cards/get_well_soon/index.html" TITLE="Get Well Soon Cards">Get Well Soon Cards</a> :  <a class=bottompanellink href="' + site_path + '/everyday_cards/keep_in_touch/index.html" TITLE="Keep in Touch Cards">Keep in Touch Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/thinking_you_cards/index.html" TITLE="Thinking of You Cards">Thinking of You Cards</a> :  <a class=bottompanellink href="' + site_path + '/fun_sake_cards/smile/index.html" TITLE="Smile Cards">Smile Cards</a> :  <a class=bottompanellink href="' + site_path + '/everyday_cards/congrats/index.html" TITLE="Congrats Cards">Congrats Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/hate_you_cards/index.html" TITLE="Hate You Cards">Hate You Cards</a> :  <a class=bottompanellink href="' + site_path + '/fun_sake_cards/smile/index.html" TITLE="Smile Cards">Smile Cards</a> :  <a class=bottompanellink href="' + site_path + '/love_romance_cards/breakup_cards/index.html" TITLE="Break up Cards">Break up Cards</a> :  <a class=bottompanellink href="' + site_path + '/grand_cards/index.html" TITLE="Grand Cards">Grand Cards</a> : <a class=bottompanellink href="' + site_path + '/religion_cards/index.html" TITLE="Religous Cards">Religous Cards</a> <a class=bottompanellink href="' + site_path + '/independence_day_cards/index.html" TITLE="Independence Day Cards">Independence Day Cards</a> :  <a class=bottompanellink href="' + site_path + '/sports_cards/index.html" TITLE="Sports Cards">Sports Cards</a> :  <a class=bottompanellink href="' + site_path + '/pet_animals_cards/index.html" TITLE="Pets & Animals Cards">Pets & Animals Cards</a> :  <a class=bottompanellink href="' + site_path + '/atwork_cards/index.html" TITLE="At Work Cards">At Work Cards</a></td></tr> </table><table width=100% align=center class=bptable cellpadding=0 cellspacing=0><tr><td align=center><HR size=1 width=75% color=gray><FONT COLOR="black">Copyright &copy; 1999-2008 <a href="http://www.dgreetings.com">Dgreetings.com</a> All rights reserved!<br>Website Development Company: <a href="http://www.infobase.co.in" target=_blank>Compare Infobase Limited</a> </FONT></td></tr></table>');
	}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//																											   //
//									/*CARD RELATEED FUNCTIONS*/												   //		
//																											   //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function sendNow()
{
	var today = new Date(); //Friday March 13, 2009
	var year = today.getYear();
	if (year < 1000)
		year+=1900;
	var day = today.getDay();
	var month = today.getMonth();
	var daym=today.getDate();
	if (daym<10)
		daym="0"+daym;
	var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	
	sendDate = dayarray[day] + " " + montharray[month] + " " + daym + ", " + year;

	if(formValidation()){
		document.pForm.sendToday.value = sendDate;
		document.pForm.action = site_path + '/dg/php-bin/dgsnow.php';
		document.pForm.submit();
	}
}

function sendCel()
{
	var today = new Date(); //Friday March 13, 2009
	var year = today.getYear();
	if (year < 1000)
		year+=1900;
	var day = today.getDay();
	var month = today.getMonth();
	var daym=today.getDate();
	if (daym<10)
		daym="0"+daym;
	var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	
	sendDate = dayarray[day] + " " + montharray[month] + " " + daym + ", " + year;
	
	document.pForm.sendToday.value = sendDate;
	document.pForm.action = site_path + '/celebrity/bday_cal.jsp';
	document.pForm.submit();
	
}

function sendPostDated()
{
	if(formValidation()){
		document.pForm.action = site_path + '/dg/php-bin/dgcsp.php';
		document.pForm.submit();
	}
}

function showAndComposeCard(thumbnail, cardimage, width, height, type, category, backgroundimage, returnurl)
{
	document.write('<a name=top></a><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=1 ALIGN=CENTER WIDTH=779>');
	document.write('<FORM NAME="pForm" METHOD=POST>');
	document.write('<INPUT TYPE="hidden" name="card_image" value="'+cardimage+'">');
	document.write('<INPUT TYPE="hidden" name="thumbnail" value="'+thumbnail+'">');
	document.write('<INPUT TYPE="hidden" name="width" value="'+width+'">');
	document.write('<INPUT TYPE="hidden" name="height" value="'+height+'">');
	document.write('<INPUT TYPE="hidden" name="card_type" value="'+type+'">');
	document.write('<INPUT TYPE="hidden" name="card_category" value="'+category+'">');
	document.write('<INPUT TYPE="hidden" name="return_url" value="'+returnurl+'">');
	document.write('<INPUT TYPE="hidden" name="referer" value="'+window.location+'">');
	
	document.write('<TR><TD VALIGN=TOP><A NAME="top"></A>');
	document.write('<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=100% ALIGN=CENTER BACKGROUND="'+backgroundimage+'" ID="td1" CLASS=CARDTABLE>');
	document.write('<TR><TD ID="TODIV" ALIGN=LEFT CLASS=MESSAGE STYLE="padding-left:10px"><font face="arial" size="2">Dear &lt;recipient name&gt;,</font></TD></TR>');
	document.write('<TR><TD VALIGN=MIDDLE>');
	document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 bordercolor="green" ALIGN=CENTER>');
	document.write('<TR>');
	document.write('<TD HEIGHT=80 align=left>');
	document.write('&nbsp;');
	document.write('</td>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD  CLASS=tborder>');

	if (type.toUpperCase()=="POST CARD"||type.toUpperCase()=="ANIMATION CARD"||type.toUpperCase()=="GRAND CARD" || type.toUpperCase()=="POSTCARD"||type.toUpperCase()=="ANIMATIONCARD"||type.toUpperCase()=="GRANDCARD" || type.toUpperCase()=="POST" || type.toUpperCase()=="ANIMATION" || type.toUpperCase()=="CUTE CARD" || type.toUpperCase()=="CUTECARD" || type.toUpperCase()=="ANIMATED CARD" ||type.toUpperCase()=="GRAND" )
	{
		document.write('<IMG SRC="'+cardimage+'" BORDER="0" ALT="">');
	}else{
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=DGREETINGS WIDTH='+width+' HEIGHT='+height+'>');
		document.write('<PARAM NAME=movie VALUE="'+cardimage+'">');
		document.write('<PARAM NAME=quality VALUE=high>');
		document.write('<PARAM NAME=bgcolor VALUE=#ffffff>');
		document.write('<EMBED src="'+cardimage+'" quality=high bgcolor=#CCCCCC WIDTH='+width+' HEIGHT='+height+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
		document.write('</EMBED>');
		document.write('</OBJECT>');
	}
	document.write('</td>');
	document.write('</TR>');
	document.write('</TABLE>');
	document.write('</td></tr><tr><td height="20"></td></tr>');
	document.write('<TR><TD ID=MESSAGEDIV CLASS=MESSAGE ALIGN=CENTER>');
	document.write('<BR>Your message will appear here.<BR>');
	document.write('Write as much as you\'d like -- your message space is unlimited.');
	document.write('</td></TR>');
	document.write('<TR><TD STYLE="padding-right:10px" CLASS=MESSAGE ID=FOOTERDIV ALIGN=RIGHT></TD></TR>');
	document.write('<TR><TD ID=FROMDIV CLASS=MESSAGE STYLE="padding-right:10px" ALIGN=RIGHT><BR><BR></TD></TR>');
	document.write('<TR><TD ID="PUBLISHERDIV" CLASS="MESSAGE" STYLE="padding-right:10px" ALIGN=RIGHT>				<font face=arial size=1>© &nbsp; Copyright:dgreetings.com</font></TD>		</TR>');
	document.write('</TABLE>');
	document.write('</TD></TR>');
	//CARD TABLE ENDS HERE 

	//SHOW HIDE BUTTONS
	document.write('<TR><TD>');
	document.write('<TABLE border=0 WIDTH=100% CELLSPACING=5 BGCOLOR="#FFF8CA" ALIGN=CENTER>');
	document.write('<TR><TD ALIGN=RIGHT><INPUT TYPE="BUTTON" VALUE="Choose Another Card" ONCLICK="location=\''+returnurl+'\';" CLASS=BTN></TD>');
	document.write('<TD><INPUT TYPE="BUTTON" NAME="SHOWHIDEBTN" VALUE="Show Customize Options" ONCLICK="changeCustomizeOptions();" CLASS=BTN></TD>');
	document.write('<TD><INPUT TYPE="BUTTON" NAME="CEL" VALUE="Send card to Celebrities" ONCLICK="sendCel();" CLASS=BTN></TD>');
	document.write('</TR>');
	document.write('</TABLE>');
	document.write('</TD></TR>');
	//SHOW HIDE BUTTONS END HERE

	document.write('<!-- =========== Customize Options Table Placed in this Row =============== -->');

	document.write('<TR ID=OPTIONSPART STYLE=display:none>');
	document.write('<TD width="100%" align="center">');

	//CUSTOMIZE CARD TABLE STARTS HERE
	document.write('<TABLE CELLPADDING=2 CELLSPACING=0 BORDER=1 ALIGN=CENTER WIDTH=100% STYLE="border: 1 solid #FFB010;">');
	document.write('<TR><TD BGCOLOR="#FFB010" ALIGN=CENTER><H4>Customize your card</H4> [ Please note that these are optional features and all recommended choices are pre-selected. ]</td></TR>');

	document.write('<TR><TD>');
	document.write('<TABLE WIDTH=100% CELLPADDING=2 CELLSPACING=0 BORDER=0>');
	document.write('<TR><TD BGCOLOR="#FFF8C8" WIDTH=95%><B>BACKGROUND</b> [<a href="javascript:void(0);" onClick="window.open(\'../dg/help/background.html\', \'dGreetings\',\'width=500,height=100,scrollbars=0,left=150,top=80\')">Help</a>]</td><TD WIDTH=5%><A HREF="#TOP" ID=BOOKMARK>[TOP]</A></TD></TR>');
	document.write('<TR><TD COLSPAN=2>');
	//BackGround Options Table Starts Here
	document.write('<TABLE CELLSPACING=0 CELLPADDING=1 CLASS=OPTIONSTABLE BORDER=1 WIDTH=100%>');
	document.write('<TR><TD><IMG SRC="'+backgroundimage+'" WIDTH="25" HEIGHT="25" BORDER="1"><BR><INPUT TYPE=RADIO NAME=BG VALUE="'+backgroundimage+'" onClick="javascript:ChangeBG(\''+backgroundimage+'\');" CHECKED></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/2.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/2.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/2.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/3.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/3.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/3.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/4.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/4.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/4.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/5.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/5.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/5.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/6.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/6.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/6.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/7.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/7.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/7.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/8.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/8.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/8.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/9.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/9.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/9.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/10.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/10.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/10.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/11.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/11.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/11.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/12.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/12.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/12.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/13.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/13.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/13.gif\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/14.gif" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/14.gif" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/14.gif\');"></td>');
	document.write('</TR>');

	document.write('<TR><TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/01.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/01.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/01.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/02.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/02.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/02.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/03.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/03.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/03.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/04.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/04.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/04.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/05.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/05.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/05.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/06.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/06.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/06.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/07.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/07.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/07.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/08.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/08.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/08.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/09.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/09.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/09.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/10.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/10.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/10.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/11.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/11.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/11.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/12.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/12.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/12.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/13.jpg" WIDTH="27" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/13.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/13.jpg\');"></td>');
	document.write('<TD><IMG SRC="' + site_path + '/newimages/options/backgrounds/14.jpg" WIDTH="25" HEIGHT="25" BORDER="1" ALT=""><BR><INPUT TYPE=RADIO NAME=BG VALUE="' + site_path + '/newimages/options/backgrounds/14.jpg" onClick="javascript:ChangeBG(\'' + site_path + '/newimages/options/backgrounds/14.jpg\');"></td>');
	document.write('</TR>');
	document.write('</TABLE>');
	document.write('</td></TR>');
	//BackGround Options Table Ends Here

	document.write('<TR><TD BGCOLOR="#FFF8C8" WIDTH=95%><B>FONT COLOR</b> [<a href="javascript:void(0);" onClick="window.open(\'../dg/help/font-color.html\', \'dGreetings\',\'width=500,height=100,scrollbars=0,left=150,top=80\')">Help</a>]</td><TD WIDTH=5%><A HREF="#TOP" ID=BOOKMARK>[TOP]</A></TD></TR>');
	document.write('<TR><TD COLSPAN=2>');
	//Font Color Options Table Starts Here
	document.write('<table border="1" cellpadding="1" cellspacing="2" class=colorstable WIDTH=100% align=center>');
	document.write('<TR>');
	document.write('<td bgcolor="#000000"><input type=radio value="#000000" name=tcolor onClick="javascript:ChangeFontColor(\'#000000\');" CHECKED></td>');
	document.write('<td bgcolor="#f0f8ff"><input type=radio value="#f0f8ff" name=tcolor onClick="javascript:ChangeFontColor(\'#f0f8ff\');"></td>');
	document.write('<td bgcolor="#faebd7"><input type=radio value="#faebd7" name=tcolor onClick="javascript:ChangeFontColor(\'#faebd7\');"></td>');
	document.write('<td bgcolor="#00ffff"><input type=radio value="#00ffff" name=tcolor onClick="javascript:ChangeFontColor(\'#00ffff\');"></td>');
	document.write('<td bgcolor="#7fffd4"><input type=radio value="#7fffd4" name=tcolor onClick="javascript:ChangeFontColor(\'#7fffd4\');"></td>');
	document.write('<td bgcolor="#f0ffff"><input type=radio value="#f0ffff" name=tcolor onClick="javascript:ChangeFontColor(\'#f0ffff\');"></td>');
	document.write('<td bgcolor="#f5f5dc"><input type=radio value="#f5f5dc" name=tcolor onClick="javascript:ChangeFontColor(\'#f5f5dc\');"></td>');
	document.write('<td bgcolor="#ffe4c4"><input type=radio value="#ffe4c4" name=tcolor onClick="javascript:ChangeFontColor(\'#ffe4c4\');"></td>');
	document.write('									');
	document.write('<td bgcolor="#ffebcd"><input type=radio value="#ffebcd" name=tcolor onClick="javascript:ChangeFontColor(\'#ffebcd\');"></td>');
	document.write('<td bgcolor="#0000ff"><input type=radio value="#0000ff" name=tcolor onClick="javascript:ChangeFontColor(\'#0000ff\');"></td>');
	document.write('<td bgcolor="#9acd32"><input type=radio value="#9acd32" name=tcolor onClick="javascript:ChangeFontColor(\'#9acd32\');"></td>');
	document.write('<td bgcolor="#8a2be2"><input type=radio value="#8a2be2" name=tcolor onClick="javascript:ChangeFontColor(\'#8a2be2\');"></td>');
	document.write('<td bgcolor="#a52a2a"><input type=radio value="#a52a2a" name=tcolor onClick="javascript:ChangeFontColor(\'#a52a2a\');"></td>');
	document.write('<td bgcolor="#deb887"><input type=radio value="#deb887" name=tcolor onClick="javascript:ChangeFontColor(\'#deb887\');"></td>');
	document.write('<td bgcolor="#5f9ea0"><input type=radio value="#5f9ea0" name=tcolor onClick="javascript:ChangeFontColor(\'#5f9ea0\');"></td>');
	document.write('<td bgcolor="#7fff00"><input type=radio value="#7fff00" name=tcolor onClick="javascript:ChangeFontColor(\'#7fff00\');"></td>');
	document.write('<td bgcolor="#d2691e"><input type=radio value="#d2691e" name=tcolor onClick="javascript:ChangeFontColor(\'#d2691e\');"></td>');
	document.write('<td bgcolor="#ff7f50"><input type=radio value="#ff7f50" name=tcolor onClick="javascript:ChangeFontColor(\'#ff7f50\');"></td>');
	document.write('<td bgcolor="#6495ed"><input type=radio value="#6495ed" name=tcolor onClick="javascript:ChangeFontColor(\'#6495ed\');"></td>');
	document.write('<td bgcolor="#fff8dc"><input type=radio value="#fff8dc" name=tcolor onClick="javascript:ChangeFontColor(\'#fff8dc\');"></td>');
	document.write('<td bgcolor="#00008b"><input type=radio value="#00008b" name=tcolor onClick="javascript:ChangeFontColor(\'#00008b\');"></td>');
	document.write('<td bgcolor="#008b8b"><input type=radio value="#008b8b" name=tcolor onClick="javascript:ChangeFontColor(\'#008b8b\');"></td>');
	document.write('<td bgcolor="#b8860b"><input type=radio value="#b8860b" name=tcolor onClick="javascript:ChangeFontColor(\'#b8860b\');"></td>');
	document.write('<td bgcolor="#a9a9a9"><input type=radio value="#a9a9a9" name=tcolor onClick="javascript:ChangeFontColor(\'#a9a9a9\');"></td>');
	document.write('<td bgcolor="#006400"><input type=radio value="#006400" name=tcolor onClick="javascript:ChangeFontColor(\'#006400\');"></td>');
	document.write('<td bgcolor="#9acd32"><input type=radio value="#9acd32" name=tcolor onClick="javascript:ChangeFontColor(\'#9acd32\');"></td>');
	document.write('<td bgcolor="#00ffff"><input type=radio value="#00ffff" name=tcolor onClick="javascript:ChangeFontColor(\'#00ffff\');"></td>');
	document.write('<td bgcolor="#f08080"><input type=radio value="#f08080" name=tcolor onClick="javascript:ChangeFontColor(\'#f08080\');"></td>');
	document.write('</TR>');
	
	document.write('<TR><td bgcolor="#bdb76b"><input type=radio value="#bdb76b" name=tcolor onClick="javascript:ChangeFontColor(\'#bdb76b\');"></td>');
	document.write('<td bgcolor="#8b008b"><input type=radio value="#8b008b" name=tcolor onClick="javascript:ChangeFontColor(\'#8b008b\');"></td>');
	document.write('<td bgcolor="#556b2f"><input type=radio value="#556b2f" name=tcolor onClick="javascript:ChangeFontColor(\'#556b2f\');"></td>');
	document.write('<td bgcolor="#ff8c00"><input type=radio value="#ff8c00" name=tcolor onClick="javascript:ChangeFontColor(\'#ff8c00\');"></td>');
	document.write('<td bgcolor="#9932cc"><input type=radio value="#9932cc" name=tcolor onClick="javascript:ChangeFontColor(\'#9932cc\');"></td>');
	document.write('<td bgcolor="#8b0000"><input type=radio value="#8b0000" name=tcolor onClick="javascript:ChangeFontColor(\'#8b0000\');"></td>');
	document.write('<td bgcolor="#e9967a"><input type=radio value="#e9967a" name=tcolor onClick="javascript:ChangeFontColor(\'#e9967a\');"></td>');
	document.write('<td bgcolor="#8fbc8f"><input type=radio value="#8fbc8f" name=tcolor onClick="javascript:ChangeFontColor(\'#8fbc8f\');"></td>');
	document.write('<td bgcolor="#483d8b"><input type=radio value="#483d8b" name=tcolor onClick="javascript:ChangeFontColor(\'#483d8b\');"></td>');
	document.write('<td bgcolor="#2f4f4f"><input type=radio value="#2f4f4f" name=tcolor onClick="javascript:ChangeFontColor(\'#2f4f4f\');"></td>');
	document.write('<td bgcolor="#00ced1"><input type=radio value="#00ced1" name=tcolor onClick="javascript:ChangeFontColor(\'#00ced1\');"></td>');
	document.write('<td bgcolor="#9400d3"><input type=radio value="#9400d3" name=tcolor onClick="javascript:ChangeFontColor(\'#9400d3\');"></td>');
	document.write('<td bgcolor="#ff1493"><input type=radio value="#ff1493" name=tcolor onClick="javascript:ChangeFontColor(\'#ff1493\');"></td>');
	document.write('<td bgcolor="#00bfbf"><input type=radio value="#00bfbf" name=tcolor onClick="javascript:ChangeFontColor(\'#00bfbf\');"></td>');
	document.write('<td bgcolor="#696969"><input type=radio value="#696969" name=tcolor onClick="javascript:ChangeFontColor(\'#696969\');"></td>');
	document.write('<td bgcolor="#fffaf0"><input type=radio value="#fffaf0" name=tcolor onClick="javascript:ChangeFontColor(\'#fffaf0\');"></td>');
	document.write('<td bgcolor="#228b22"><input type=radio value="#228b22" name=tcolor onClick="javascript:ChangeFontColor(\'#228b22\');"></td>');
	document.write('<td bgcolor="#ff00ff"><input type=radio value="#ff00ff" name=tcolor onClick="javascript:ChangeFontColor(\'#ff00ff\');"></td>');
	document.write('<td bgcolor="#dcdcdc"><input type=radio value="#dcdcdc" name=tcolor onClick="javascript:ChangeFontColor(\'#dcdcdc\');"></td>');
	document.write('<td bgcolor="#f8f8ff"><input type=radio value="#f8f8ff" name=tcolor onClick="javascript:ChangeFontColor(\'#f8f8ff\');"></td>');
	document.write('<td bgcolor="#ffd700"><input type=radio value="#ffd700" name=tcolor onClick="javascript:ChangeFontColor(\'#ffd700\');"></td>');
	document.write('<td bgcolor="#daa520"><input type=radio value="#daa520" name=tcolor onClick="javascript:ChangeFontColor(\'#daa520\');"></td>');
	document.write('<td bgcolor="#808080"><input type=radio value="#808080" name=tcolor onClick="javascript:ChangeFontColor(\'#808080\');"></td>');
	document.write('<td bgcolor="#008000"><input type=radio value="#008000" name=tcolor onClick="javascript:ChangeFontColor(\'#008000\');"></td>');
	document.write('<td bgcolor="#adff2f"><input type=radio value="#adff2f" name=tcolor onClick="javascript:ChangeFontColor(\'#adff2f\');"></td>');
	document.write('<td bgcolor="#ffffff"><input type=radio value="#ffffff" name=tcolor onClick="javascript:ChangeFontColor(\'#ffffff\');"></td>');
	document.write('<td bgcolor="#f5f5f5"><input type=radio value="#f5f5f5" name=tcolor onClick="javascript:ChangeFontColor(\'#f5f5f5\');"></td>');
	document.write('<td bgcolor="#ffff00"><input type=radio value="#ffff00" name=tcolor onClick="javascript:ChangeFontColor(\'#ffff00\');"></td>');
	document.write('</TR>');
	document.write('</table>');
	//Font Color Options Table Ends Here

	document.write('</td></TR>');
	document.write('<TR><TD BGCOLOR="#FFF8C8" WIDTH=95%><B>FONT STYLE</b> [<a href="javascript:void(0);" onClick="window.open(\'../dg/help/font-style.html\', \'dGreetings\',\'width=500,height=100,scrollbars=0,left=150,top=80\')">Help</a>]</td><TD WIDTH=5%><A HREF="#TOP" ID=BOOKMARK>[TOP]</A></TD></TR>');
	document.write('<TR><TD COLSPAN=2>');

	//Font Style Options Table starts Here
	document.write('<table border="1" cellpadding="1" cellspacing="2" class=fontstable WIDTH=100% align=center>');
	document.write('<TR><TD><input type=radio name=tface value="Arial" onClick="javascript:ChangeFontFace(\'Arial\');" CHECKED><FONT FACE="ARIAL">Arial</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Verdana" onClick="javascript:ChangeFontFace(\'Verdana\');"><FONT FACE="VERDANA">Verdana</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Tahoma" onClick="javascript:ChangeFontFace(\'Tahoma\');"><FONT FACE="TAHOMA">Tahoma</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Cursive" onClick="javascript:ChangeFontFace(\'Cursive\');"><FONT FACE="CURSIVE">Cursive</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Monospace" onClick="javascript:ChangeFontFace(\'Monospace\');"><FONT FACE="Monospace">Monospace</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Courier" onClick="javascript:ChangeFontFace(\'Courier\');"><FONT FACE="COURIER">Courier</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Times New Roman" onClick="javascript:ChangeFontFace(\'Times New Roman\');"><FONT FACE="TIMES NEW ROMAN">Times New Roman</FONT></TD>');
	document.write('</TR>');

	document.write('<TR>');
	document.write('<TD><input type=radio name=tface value="Bookman Old Style" onClick="javascript:ChangeFontFace(\'Bookman Old Style\');"><FONT FACE="BOOKMAN OLD STYLE">Bookman old style</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Century Gothic" onClick="javascript:ChangeFontFace(\'Century Gothic\');"><FONT FACE="CENTURY GOTHIC">Century Gothic</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Comic Sans MS" onClick="javascript:ChangeFontFace(\'Comic Sans MS\');"><FONT FACE="COMIC SANS MS">Comic sans ms</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Garamond" onClick="javascript:ChangeFontFace(\'Garamond\');"><FONT FACE="GARAMOND">Garamond</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Impact" onClick="javascript:ChangeFontFace(\'Impact\');"><FONT FACE="IMPACT">Impact</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Marigold" onClick="javascript:ChangeFontFace(\'Marigold\');"><FONT FACE="MARIGOLD" size=2>Marigold</FONT></TD>');
	document.write('<TD><input type=radio name=tface value="Trebechet MS" onClick="javascript:ChangeFontFace(\'Trebechet MS\');"><FONT FACE="TREBUCHET MS">Trebuchet ms</FONT></TD>');
	document.write('</TR>');
	document.write('</table>');
	//Font Style Options Table Ends Here

	document.write('</td>');
	document.write('</TR>');
	document.write('<TR><TD BGCOLOR="#FFF8C8" WIDTH=95%><B>FONT SIZE</b> [<a href="javascript:void(0);" onClick="window.open(\'../dg/help/font-size.html\', \'dGreetings\',\'width=500,height=100,scrollbars=0,left=150,top=80\')">Help</a>]</td><TD WIDTH=5%><A HREF="#TOP" ID=BOOKMARK>[TOP]</A></Td></TR>');
	document.write('<TR><TD COLSPAN=2>');

	//Font Size Options Table Ends Here
	document.write('<table border="1" cellpadding="1" cellspacing="2" class=sizestable WIDTH=100% align=center>');
	document.write('										');
	document.write('<TR>');
	document.write('<TD><FONT SIZE="7">[7]</FONT><BR>Extra Large</TD>');
	document.write('<TD><FONT SIZE="6">[6]</FONT><BR>Large</TD>');
	document.write('<TD><FONT SIZE="5">[5]</FONT><BR>Medium</TD>');
	document.write('<TD><FONT SIZE="3">[3]</FONT><BR>Small</TD>');
	document.write('<TD><FONT SIZE="2">[2]</FONT><BR>Tiny</TD>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD><input type=radio name=tsize value=7 onClick="javascript:ChangeFontSize(\'7\');"></TD>');
	document.write('<TD><input type=radio name=tsize value=6 onClick="javascript:ChangeFontSize(\'6\');"></TD>');
	document.write('<TD><input type=radio name=tsize value=5 onClick="javascript:ChangeFontSize(\'5\');" CHECKED></TD>');
	document.write('<TD><input type=radio name=tsize value=3 onClick="javascript:ChangeFontSize(\'3\');"></TD>');
	document.write('<TD><input type=radio name=tsize value=2 onClick="javascript:ChangeFontSize(\'2\');"></TD>');
	document.write('</TR>');
	document.write('										');
	document.write('									');
	document.write('</table>');
	//Font Size Options Table Ends Here

	document.write('</td>');
	document.write('</TR>');
	document.write('</TABLE>');
	document.write('</td>');
	document.write('</TR>');
	document.write('<TR>');
	document.write('<TD>');

	document.write('<TABLE WIDTH=100% CELLSPACING=5 BGCOLOR="#FFF8CA" ALIGN=CENTER>');
	document.write('<TR>');
	document.write('<TD ALIGN=RIGHT><INPUT TYPE="BUTTON" VALUE="Choose Another Card" ONCLICK="location=\'/dg/index.php\';" CLASS=BTN></TD>');
	document.write('<TD><INPUT TYPE="BUTTON" NAME="SHOWHIDEBTN" VALUE="HIDE Customize Options" ONCLICK="changeCustomizeOptions();" CLASS=BTN></TD>');
	document.write('</TR>');
	document.write('</TABLE>');
	document.write('</TD>');
	document.write('</TR>');
	document.write('</TABLE>');
	//CUSTOMIZE CARD TABLE ENDS HERE
}

function prestable()
{
	document.write('<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=2 ALIGN=center>');
	document.write('<tr>');
	document.write('<td>');
	document.write('<table border=0 cellspacing=1 cellpadding=0 bgcolor=#FFB010 width="100%" align="center">');
	document.write('<tr>');
	document.write('<td bgcolor=#FFB010 height=19 align=left>');
	document.write('<font color=#FFFFFF face=Verdana size=3><b>Personalize Your eCard</b><font face=verdana size=1 color=#FFFFFF> Just fill in the fields below</font>');
	document.write('</td></tr>');
	document.write('<tr><td valign=top bgcolor=#ffffff>');
	document.write('<table border=0 bordercolor=#FFB010 width=100% cellspacing=2 cellpadding=2>');
	document.write('<tr>');
	document.write('<td width=100% bordercolor=#FFF8CA bgcolor=#FFF8CA colspan=2><b>Sender\'s Detail</b></td></tr>');
	document.write('<tr>');
	document.write('<td colspan="2"><b>From:</b></td></tr>');
	document.write('<tr>');
	document.write('<td width=50% valign=top><b>Name:</b> <input type=text name=sname size=25 maxlength=255></b></td>');
	document.write('<td width=50% valign=top><b>Email:</b> <input type=text name=semail size=25></b></td></tr>');
	document.write('<tr>');
	document.write('<td width=100% bordercolor=#FFF8CA bgcolor=#FFF8CA colspan=2><b>Recipient\'s Detail</b></td></tr>');
	document.write('<tr><td colspan=2 bgcolor=#FFFFFF>				<b>Number of recipients</b>: <select name=no_of_recipients onChange="changeMultiple();">');
	document.write('<option value=1>1</option>		<option value=2>2</option>		<option value=3>3</option>	<option value=4>4</option>		<option value=5>5</option>		<option value=6>6</option>	<option value=7>7</option>		<option value=8>8</option>		<option value=9>9</option>	<option value=10>10</option></select>');
							
	document.write('[ <font style="font-weight: normal;"><i>Send this eCard upto 10 people</i>. </font>]&nbsp;&nbsp;&nbsp; [ <a href="javascript:void(0);" onClick="window.open(\'../dg/help/recipients.html\', \'dGreetings\',\'width=550,height=275,scrollbars=0,left=150,top=80\')">Help</a> ]</td></tr>');

	document.write('<tr>');
	document.write('<td colspan="2"><b>To:</b></td></tr>');
	document.write('<tr id=rname1>');
	document.write('<td valign=top><b>(1) Name:</b> <input type=text name=rname1 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail1 size=25 value=""></td></tr>');
	document.write('<tr id=rname2 style=display:none>');
	document.write('<td valign=top><b>(2) Name:</b> <input type=text name=rname2 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail2 size=25 value=""></td></tr>');
	document.write('<tr id=rname3 style=display:none>');
	document.write('<td valign=top><b>(3) Name:</b> <input type=text name=rname3 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail3 size=25 value=""></td></tr>');
	document.write('<tr id=rname4 style=display:none>');
	document.write('<td valign=top><b>(4) Name:</b> <input type=text name=rname4 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail4 size=25 value=""></td></tr>');
	document.write('<tr id=rname5 style=display:none>');
	document.write('<td valign=top><b>(5) Name:</b> <input type=text name=rname5 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail5 size=25 value=""></td></tr>');
	document.write('<tr id=rname6 style=display:none>');
	document.write('<td valign=top><b>(6) Name:</b> <input type=text name=rname6 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail6 size=25 value=""></td></tr>');
	document.write('<tr id=rname7 style=display:none>');
	document.write('<td valign=top><b>(7) Name:</b> <input type=text name=rname7 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail7 size=25 value=""></td></tr>');
	document.write('<tr id=rname8 style=display:none>');
	document.write('<td valign=top><b>(8) Name:</b> <input type=text name=rname8 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail8 size=25 value=""></td></tr>');
	document.write('<tr id=rname9 style=display:none>');
	document.write('<td valign=top><b>(9) Name:</b> <input type=text name=rname9 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail9 size=25 value=""></td></tr>');
	document.write('<tr id=rname10 style=display:none>');
	document.write('<td valign=top><b>(10) Name:</b> <input type=text name=rname10 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail10 size=25 value=""></td></tr>');
	document.write('<tr id=rname11 style=display:none>');
	document.write('<td valign=top><b>(11) Name:</b> <input type=text name=rname11 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail11 size=25 value=""></td></tr>');
	document.write('<tr id=rname12 style=display:none>');
	document.write('<td valign=top><b>(12) Name:</b> <input type=text name=rname12 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail12 size=25 value=""></td></tr>');
	document.write('<tr id=rname13 style=display:none>');
	document.write('<td valign=top><b>(13) Name:</b> <input type=text name=rname13 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail13 size=25 value=""></td></tr>');
	document.write('<tr id=rname14 style=display:none>');
	document.write('<td valign=top><b>(14) Name:</b> <input type=text name=rname14 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail14 size=25 value=""></td></tr>');
	document.write('<tr id=rname15 style=display:none>');
	document.write('<td valign=top><b>(15) Name:</b> <input type=text name=rname15 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail15 size=25 value=""></td></tr>');
	document.write('<tr id=rname16 style=display:none>');
	document.write('<td valign=top><b>(16) Name:</b> <input type=text name=rname16 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail16 size=25 value=""></td></tr>');
	document.write('<tr id=rname17 style=display:none>');
	document.write('<td valign=top><b>(17) Name:</b> <input type=text name=rname17 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail17 size=25 value=""></td></tr>');
	document.write('<tr id=rname18 style=display:none>');
	document.write('<td valign=top><b>(18) Name:</b> <input type=text name=rname18 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail18 size=25 value=""></td></tr>');
	document.write('<tr id=rname19 style=display:none>');
	document.write('<td valign=top><b>(19) Name:</b> <input type=text name=rname19 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail19 size=25 value=""></td></tr>');
	document.write('<tr id=rname20 style=display:none>');
	document.write('<td valign=top><b>(20) Name:</b> <input type=text name=rname20 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail20 size=25 value=""></td></tr>');
	document.write('<tr id=rname21 style=display:none>');
	document.write('<td valign=top><b>(21) Name:</b> <input type=text name=rname21 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail21 size=25 value=""></td></tr>');
	document.write('<tr id=rname22 style=display:none>');
	document.write('<td valign=top><b>(22) Name:</b> <input type=text name=rname22 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail22 size=25 value=""></td></tr>');
	document.write('<tr id=rname23 style=display:none>');
	document.write('<td valign=top><b>(23) Name:</b> <input type=text name=rname23 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail23 size=25 value=""></td></tr>');
	document.write('<tr id=rname24 style=display:none>');
	document.write('<td valign=top><b>(24) Name:</b> <input type=text name=rname24 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail24 size=25 value=""></td></tr>');
	document.write('<tr id=rname25 style=display:none>');
	document.write('<td valign=top><b>(25) Name:</b> <input type=text name=rname25 size=25 value=""></td>');
	document.write('<td valign=top><b>Email:</b> <input type=text name=remail25 size=25 value=""></td></tr>');
	document.write('</table>');
	document.write('</td></tr>						');
	document.write('<tr><td align=center valign=top bgcolor=#ffffff>	');
	document.write('<table border=0 width=100% cellspacing=2 cellpadding=2 bordercolor=#FFB010 align=center>');
	document.write('<tr><td colspan=2 bgcolor=#FFF8CA><b>MESSAGE:</b></td></tr>');
	document.write('<tr><td WIDTH=55% valign=top>');
	document.write('<b>Card Header</b> eg: Dear Friend; <font color="000080" face="verdana" size="1">[ <a href="javascript:void(0);" onClick="window.open(\'../dg/help/header.html\', \'dGreetings\',\'width=450,height=185,scrollbars=0,left=150,top=80\')">Help</a> ]<br>');
	document.write('<TEXTAREA name=header COLS=40 ROWS=3 onKeyup="window.document.all.TODIV.innerHTML=replaceAll(this.value,\'\\n\',\'<br>\');" OnBlur="window.document.getElementById(\'TODIV\').innerHTML=replaceAll(this.value,\'\\n\',\'<br>\');">Dear [recipient name],</TEXTAREA></td>');
	document.write('<TD><b>Card Footer</b> eg: love, John <font color="000080" face="verdana" size="1">[ <a href="javascript:void(0);" onClick="window.open(\'../dg/help/footer.html\', \'dGreetings\',\'width=450,height=140,scrollbars=0,left=150,top=80\')">Help</a> ] <br>');
	document.write('<TEXTAREA name=footer COLS=40 ROWS=3 	ONKEYUP="window.document.getElementById(\'FOOTERDIV\').innerHTML=replaceAll(this.value,\'\\n\',\'<br>\');"></TEXTAREA>');	
	document.write('</td></tr>');
	document.write('<tr><td valign=top COLSPAN=2>');
	document.write('<b>Personal Message</b>&nbsp;eg: Happy Birthday ! <font color="000080" face="verdana" size="1">[ <a href="javascript:void(0);" onClick="window.open(\'../dg/help/message.html\', \'dreetings\',\'width=525,height=520,scrollbars=0,left=150,top=20\')">Help</a> ]');
	document.write('</td></tr>');
	document.write('<tr><td valign=top COLSPAN=2 align="center">');
	document.write('<textarea name=message id=message rows=10 cols=84 onKeyup="window.document.getElementById(\'MESSAGEDIV\').innerHTML=replaceAll(this.value,\'\\n\',\'<br>\');" //OnBlur="updateCard();" //onChange="updateCard();" onClick="removeMessage();">Your message will appear here.Write as much as you\'d like -- your message space is unlimited. </textarea>');
	document.write('</td></tr>');
	document.write('<tr><td valign=top COLSPAN=2 align="center">');
	document.write('<b> Enter the Number : </b>&nbsp;&nbsp;<input type=text name="image_value" size=15 value="">&nbsp;&nbsp;<img src="http://www.dgreetings.com/captcha.php">');
	document.write('</td></tr>');
	document.write('</table>');
	document.write('</td></tr>');
	document.write('</table>');
	document.write('</td></tr>');
	document.write('<TR><TD ALIGN=center>');
	document.write('<INPUT TYPE=button onclick="window.location=\''+window.location+'#top\'" class=BTN VALUE="Preview The Card"> <INPUT TYPE=hidden name="sendToday"><INPUT TYPE=button VALUE="Send Now" CLASS=BTN onClick="sendNow();"><BR></TD></TR>');
	document.write('<TR><TD height="5"></TD></TR>');
	document.write('<TR><TD ALIGN=LEFT style="border-top:solid 1px #FFB010; border-bottom:solid 1px #FFB010; border-left:solid 1px #FFB010; border-right:solid 1px #FFB010;"><br>');
	document.write('<B>Send on : </B>');

	showDeliveryDates();
	
	document.write('<INPUT TYPE=button VALUE="Send on Chosen Date" CLASS=BTN  onClick="sendPostDated();">&nbsp;&nbsp;&nbsp;<font color="000080" face="verdana" size="1">[ <a href="javascript:void(0);" onClick="window.open(\'../dg/help/delivery-date.html\', \'dGreetings\',\'width=450,height=185,scrollbars=0,left=150,top=80\')">Help</a> ]<br><br></TD></TR>');
	document.write('<TR><TD height="5"></TD></TR>');
	document.write('</TABLE>');
	document.write('</FORM><!-- FORM TABLE ENDS HERE -->');
	window.document.pForm.message.select();
}

function removeMessage(){
	if (!_bHasRemoved){
		window.document.pForm.message.value="";
		window.document.getElementById('MESSAGEDIV').innerHTML="";
		_bHasRemoved=!_bHasRemoved;
	}
}

function changeMultiple(){
	var no_of_recipients = window.document.pForm.no_of_recipients.options[window.document.pForm.no_of_recipients.selectedIndex].value;
	
	for(i=2; i<=no_of_recipients; i++){
		window.document.getElementById("rname"+i).style.display="block";
	}
	for(j=i;j<=25;j++){
		window.document.getElementById("rname"+j).style.display="none";
	}
}

function changeCustomizeOptions(btn){
	if (window.document.getElementById('OPTIONSPART').style.display!='block'){
		window.document.getElementById('OPTIONSPART').style.display='block';
		window.document.pForm.SHOWHIDEBTN[0].value="Hide Customize Options";
		window.document.pForm.SHOWHIDEBTN[1].value="Hide Customize Options";
	}else{
		window.document.getElementById('OPTIONSPART').style.display='none';
		window.document.pForm.SHOWHIDEBTN[0].value="Show Customize Options";
		window.document.pForm.SHOWHIDEBTN[1].value="Show Customize Options";
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function ChangeBG(img){
	document.getElementById("td1").setAttribute("background",img);
}

function ChangeFontColor(clr){
	window.document.getElementById('MESSAGEDIV').style.color=clr;
	window.document.getElementById('TODIV').style.color=clr;
	window.document.getElementById('FROMDIV').style.color=clr;
	window.document.getElementById('FOOTERDIV').style.color=clr;
	window.document.getElementById('PUBLISHERDIV').style.color=clr;
}

function ChangeFontFace(fc)
{
	window.document.getElementById('MESSAGEDIV').style.fontFamily = fc;
	window.document.getElementById('FROMDIV').style.fontFamily = fc;
	window.document.getElementById('TODIV').style.fontFamily = fc;
	window.document.getElementById('FOOTERDIV').style.fontFamily =fc;
	window.document.getElementById('PUBLISHERDIV').style.fontFamily =fc;

}
function ChangeFontSize(sz){
	if(sz == 7){sz="xx-large";} 
	if(sz == 6){sz="x-large";} 
	if(sz == 5){sz="large";} 
	if(sz == 3){sz="medium";} 
	if(sz == 2){sz="x-small";} 
	window.document.getElementById('MESSAGEDIV').style.fontSize= sz;
}

function updateCard(){				///////////// function discarded

	//GET AND APPLY THE BACKGROUND COLOR..........................
	for (var i=0;i<window.document.pForm.BG.length;i++){
		if (window.document.pForm.BG[i].checked){
			bg = window.document.pForm.BG[i].value;
			break;
		}
	}
	//GET AND APPLY THE FONT COLOR................................
	for (var i=0;i<window.document.pForm.tcolor.length;i++){
		if (window.document.pForm.tcolor[i].checked){
			clr= window.document.pForm.tcolor[i].value;
			break;
		}
	}
	//GET AND APPLY THE FONT-STYLE................................
	for (var i=0;i<window.document.pForm.tface.length;i++){
		if (window.document.pForm.tface[i].checked){
			fnt= window.document.pForm.tface[i].value;
			break;
		}
	}
	//GET AND APPLY THE FONT-SIZE.................................
	for (var i=0;i<window.document.pForm.tsize.length;i++){
		if (window.document.pForm.tsize[i].checked){
			siz= window.document.pForm.tsize[i].value;
			break;
		}
	}

	ChangeBG(bg);	
	ChangeFontColor(clr);
	ChangeFontFace(fnt);
	ChangeFontSize(siz);

	a="<recipient name>";
	e="&lt;recipient name&gt;";

	window.document.all.TODIV.innerHTML=replaceAll(window.document.pForm.header.value.replace(a,e),'\n','<br>');	//window.document.all("TODIV").innerText=replaceAll(window.document.pForm.header.value.replace(a,e),'\n','<br>');

	window.document.all.FOOTERDIV.innerHTML=replaceAll(window.document.pForm.footer.value,'\n','<br>')
	window.document.all.MESSAGEDIV.innerHTML=replaceAll(window.document.pForm.message.value,'\n','<BR>');
	
	for(i=2; i<=window.document.pForm.no_of_recipients.value; i++){
		document.getElementById("rname"+i).style.display="block";
	}
}

//////////////////////////////////////// Form Validations ///////////////////////////////////////////

function formValidation(){
	//alert("called");
	var sname = document.pForm.sname.value;
	var semail = document.pForm.semail.value;
	var rname1 = document.pForm.rname1.value;
	var remail1 = document.pForm.remail1.value;
	var header = document.pForm.header.value;
	var footer = document.pForm.footer.value;
	var image_value = document.pForm.image_value.value;

	var flag = false;
	
	if(sname == ""){
		alert("Please Enter Sender's Name");
		document.pForm.sname.focus();
	}
	else if(semail == ""){
		alert("Please Enter Sender's Email");
		document.pForm.semail.focus();
	}
	else if(rname1 == ""){
		alert("Please Enter atleast one Recipient's Name");
		document.pForm.rname1.focus();
	}
	else if(remail1 == ""){
		alert("Please Enter atleast one Recipient's Email");
		document.pForm.remail1.focus();
	}
	else if(image_value == ""){
		alert("Please Enter the Image's Value");
		document.pForm.image_value.focus();
	}
	else{
		flag = true;
	}
	return flag;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//																														  //
//												COMMON LIBRARY FUNCTIONS												  //
//																														  //	
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//function to trim the given string
function trimAll(str){
	var l=0;
	var r=str.length;
	while((ch=str.charAt(l++)) == ' ');
	while((ch=str.charAt(--r)) == ' ');
	return(l>r)?"":str.substring(l-1,r+1);
}

function isValidEmail(sFieldValue){
	var REmail=/^\S+\@[\w-]+\.[\w\.-]+$/ ;
	var str=sFieldValue;
	if(!str.match(REmail)){
		return false;
	}else{
		return true;
	}
}

function replaceAll(_sstr,_sfindWhat, _sreplaceWith)
{

	var _sTemp=new String();
	for ( var i=0; i<_sstr.length; i++){
		if ( _sstr.charAt(i)==_sfindWhat)
			_sTemp += _sreplaceWith;
		else
			_sTemp += _sstr.charAt(i);
	}
	return _sTemp;
}


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//																													   //			
//												BANNER REALTED FUNCTIONS											   //
//																													   //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function showBanner(){
//do changes here for right side banner..........
var bannerimage	= site_path + "/newimages/banners/apr/banner01.jpg";
var width		= 150;
var height		= 400;
var url			= "http://www.theydeserveit.com";

//do not change here ...........................
document.write('<TABLE WIDTH=150 CELLPADDING=0 CELLSPACING=0 ALIGN=CENTER>');
document.write('<TR>');
document.write('	<TD><A HREF="'+url+'" TARGET=_blank><IMG SRC="'+bannerimage+'" ALT="" WIDTH="'+width+'" HEIGHT="'+height+'" BORDER=0></A></TD>');
document.write('</TR>');
document.write('</TABLE>');
}

function check_unique_emails()
{
	frm = document.pForm;
	var num = Number(frm.no_of_recipients.value);
	var flag_mult_emails = 0;
	var param_vali = "";

	for(var k=1; k <= num; k++) 
	{
		var obj1 = eval("document.pForm.remail" + k);
		//alert(obj1);
		if(obj1)
		{
			param_vali = param_vali + ", " + obj1.value + "";

			x=obj1.value;
			emailArr = x.split(',');

			//alert('exist' + k)
			if(k==1 && emailArr.length>1)
			{
				flag_mult_emails=1;
			}

			if(k>1)
			{
				flag_mult_emails=1;
			}
		}// end if object exist
		else
		{
			param_vali = param_vali + ", ";
		}

	}//outer loop for all recipients objects

	if(param_vali!="")
	{
		param_vali = param_vali.substring(2);
	}

	//alert(param_vali);

	if(flag_mult_emails==1)
	{

		if(noRepeatEmail(num))
		{ 
			return true;
		}
		else
		{
			return false;
		}
	}
	else
	{
		return true;
	}

}

//////////////////////////////////////////

function noRepeatEmail(num)
{
//alert('called repeat')
	var flag=0;
	var all_arrays=new Array();

	for (j=0; j <= num ; j++) 
	{
		
		var obj1 = eval("document.pForm.remail" + j);
		if(obj1)
		{

			//if(!isBlank(obj1.value))
			if (trimAll(obj1.value).length>0)
			{
				emailArr=obj1.value.split(",");
				all_arrays=all_arrays.concat(emailArr);
			}
		}
	}
	
	for (j=0; j < all_arrays.length; j++) 
	{
		var val1 = all_arrays[j];
		for (jj=0; jj < all_arrays.length ; jj++) 
		{
			if(j!=jj)
			{
				var val2 = all_arrays[jj];
				if(val1==val2)
				{
					flag=1;
				}
			}

		} 	 //end for
		
	}

	if (flag==1)
	{
		alert("Please Ensure That You Have Entered All Different Emails.");
		return false;
	}
	else //no Defferent Emails
	{		
		return true;
	}
			
}

//////////////////////////////////////////////////////////////////////////////////////////

function middleAdsfooter1()
{
	//*************************************DISPLAY OF INTERNAL LINKS *******************************
	document.write('<style type="text/css">.tblboder {	border: 1px solid #333333;}.advtext {	font-family: Arial, Helvetica, sans-serif;	font-size: 9px;</style><center><table width="200" height="265" border="0" cellpadding="0" cellspacing="4" class="tblboder">      <tr align="center" bgcolor="#F1E7CF">        <td colspan="2"><font color="navy" size="2" face=arial><b>Send Quick Cards</b></font></td>      </tr><tr align="center">     <td><a href="http://www.dgreetings.com/birthday/birthday-general46.html"><img src="http://www.dgreetings.com/newimages/birthday/birthday_justforhim_1384.gif" width="70" height="70" alt="Birthday Card" border="1" style="border-color:#FFDC00"></a></td>         <td><a href="http://www.dgreetings.com/anniversary/anniversary89.htm"><img src="http://www.dgreetings.com/newimages/anniversary/thumnail-ann-2.jpg" width="70" height="70" alt="Anniversary Card" border="1" style="border-color:#FFDC00"></a></td>      </tr>      <tr align="center">  <td><a href="http://www.dgreetings.com/birthday/birthday-general46.html"><font color="navy" size="1" face=verdana>Birthday Card</font></a></td>   <td><a href="http://www.dgreetings.com/anniversary/anniversary89.htm"><font color="navy" size="1" face=verdana>Anniversary Card</font></a></td>     </tr><tr align="center">      <td><a href="http://www.dgreetings.com/thanksgiving/thanks-giving84.html"><img src="http://dgreetings.com/newimages/thanksgiving/thanksgiving%20poem_778th.gif" width="70" height="70" alt="Thanksgiving Card" border="1" style="border-color:#FFDC00"></a></td><td><a href="http://www.dgreetings.com/teachers-appreciation-day/teacherappd21.htm"><img src="http://www.dgreetings.com/newimages/teacherappreciationday/teachers-appreciation-day_9.gif" width="70" height="70" alt="Teachers Appreciation Day" border="1" style="border-color:#FFDC00"></a></td>  </tr>      <tr align="center"><td><a href="http://www.dgreetings.com/thanksgiving/thanks-giving84.html"><font color="navy" size="1" face=verdana>Thanksgiving Card</font></a></td>  <td><a href="http://www.dgreetings.com/teachers-appreciation-day/teacherappd21.htm"><font color="navy" size="1" face=verdana>Teachers Appreciation Day</font></a></td>     </tr>                    <tr align="center">   <td colspan="2" height="1" bgcolor="#666666"></td>   </tr>  <tr>  <td align=center valign="bottom"><A HREF="http://www.dgreetings.com/feedback.html"><img src="http://www.dgreetings.com/newimages/home/yourf.gif" width=78 height=23 border=0 alt=""></A>   <td align=center><A HREF="MAILTO:webmaster@dgreetings.com"><img src="http://www.dgreetings.com/newimages/home/contact.gif" width=54 height=23 border=0 alt=""></A></td> </tr></table></center>')
}

function middleAdsfooter()
{
	//*************************************DISPLAY OF INTERNAL LINKS *******************************
	document.write('<style type="text/css">.tblboder {	border: 1px solid #333333;}.advtext {	font-family: Arial, Helvetica, sans-serif;	font-size: 9px;</style><center><table width="200" height="265" border="0" cellpadding="0" cellspacing="4" class="tblboder">      <tr align="center" bgcolor="#F1E7CF">        <td colspan="2"><font color="navy" size="2" face=arial><b>Send Quick Cards</b></font></td>      </tr><tr align="center">     <td><a href="http://www.dgreetings.com/birthday/birthday-general46.html"><img src="http://www.dgreetings.com/newimages/birthday/birthday_justforhim_1384.gif" width="70" height="70" alt="Birthday Card" border="1" style="border-color:#FFDC00"></a></td>         <td><a href="http://www.dgreetings.com/anniversary/anniversary89.htm"><img src="http://www.dgreetings.com/newimages/anniversary/thumnail-ann-2.jpg" width="70" height="70" alt="Anniversary Card" border="1" style="border-color:#FFDC00"></a></td>      </tr>      <tr align="center">  <td><a href="http://www.dgreetings.com/birthday/birthday-general46.html"><font color="navy" size="1" face=verdana>Birthday Card</font></a></td>   <td><a href="http://www.dgreetings.com/anniversary/anniversary89.htm"><font color="navy" size="1" face=verdana>Anniversary Card</font></a></td>     </tr><tr align="center">      <td><a href="http://www.dgreetings.com/thanksgiving/thanks-giving84.html"><img src="http://dgreetings.com/newimages/thanksgiving/thanksgiving%20poem_778th.gif" width="70" height="70" alt="Thanksgiving Card" border="1" style="border-color:#FFDC00"></a></td><td><a href="http://www.dgreetings.com/teachers-appreciation-day/teacherappd21.htm"><img src="http://www.dgreetings.com/newimages/teacherappreciationday/teachers-appreciation-day_9.gif" width="70" height="70" alt="Teachers Appreciation Day" border="1" style="border-color:#FFDC00"></a></td>  </tr>      <tr align="center"><td><a href="http://www.dgreetings.com/thanksgiving/thanks-giving84.html"><font color="navy" size="1" face=verdana>Thanksgiving Card</font></a></td>  <td><a href="http://www.dgreetings.com/teachers-appreciation-day/teacherappd21.htm"><font color="navy" size="1" face=verdana>Teachers Appreciation Day</font></a></td>     </tr>                    <tr align="center">   <td colspan="2" height="1" bgcolor="#666666"></td>   </tr>  <tr>  <td align=center valign="bottom"><A HREF="http://www.dgreetings.com/feedback.html"><img src="http://www.dgreetings.com/newimages/home/yourf.gif" width=78 height=23 border=0 alt=""></A>   <td align=center><A HREF="MAILTO:webmaster@dgreetings.com"><img src="http://www.dgreetings.com/newimages/home/contact.gif" width=54 height=23 border=0 alt=""></A></td> </tr></table></center>');
}