//last modified  on 17/04/2000 at 11:00 a.m
//st patricks day

//----------login password--------

	function confirm2(username,password){
if(username!="" && password!=""){
	      return true;
	}
	else {
	alert("Username and/or Password \n\t\tcan not be empty.");
	return false;
	}
}

//ads2 = new Array('<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.indianvisit.com"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/home/new/indianvisit.gif" width="307" height="50" border="1" alt="Indianvisit.com"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307"><PARAM NAME="link" VALUE="http://www.power2youth.com/home.jsp"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/home/new/power2youthbanner.gif" width="307" height="50" border="1" alt="Power2youth.com"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.craftsinindia.com"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/home/new/crafts.gif" width="307" height="50" border="1" alt="Craftsinindia.com"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.123chinesenewyear.com/index.html"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/chinese1.gif" width="307" height="50" border="1" alt="123chinesenewyear.com"></APPLET>');

//ads2 = new Array('<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.dgreetings.com/navratri/index.html"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/navratri.gif" width="307" height="50" border="1" alt="Send Navaratri Cards"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.dgreetings.com/aprilfool/index.html"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/aprilfool.gif" width="307" height="50" border="1" alt="Send April Fool&acute;s day Cards"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.123baisakhi.com"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/baisakhi1.gif" width="307" height="50" border="1" alt="Send Baisakhi Cards"></APPLET>');
ads2 = new Array('<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.mapsofindia.com"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/maps.gif" width="307" height="50" border="1" alt="mapsofindia.com"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="307" ><PARAM NAME="link" VALUE="http://www.123independenceday.com"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/123independenceday.gif" width="307" height="50" border="1" alt="123independenceday.com"></APPLET>');
function randomb() {
 adIX2 = Math.round(Math.random()*(ads2.length-1));
 document.write(ads2[adIX2]);
}
ads = new Array('<a href="http://www.dgreetings.com/indianrep_ic/index.html" ><img src="http://www.dgreetings.com/newimages/banners/republicbanner.gif" width="307" height="50" border="1" alt="Send Republic Day cards"></a>');
function outsider() {
 //adIX = Math.round(Math.random()*(ads.length-1));
//document.write(ads[adIX]);
}



//----------end of login password--------


//-------function login starts--------

function login()
{
document.write('<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=100% border=0 align="left">')
               
document.write('<tr valign="top">')
document.write('<td width="170">')

document.write('<table cellpadding="2" cellspacing="0" border="0" height="115" width="165" align="left">')
document.write('<tr>')
document.write('<td><div align="center"><form  name="sir12" method="post" action="http://www.dgreetings.com/dserv/login1" onSubmit="return confirm2(username.value,password.value)">')
document.write('<br><table cellpadding="0" cellspacing="0" border="0" height=10><tr valign="bottom">')
document.write('<td><b><font color="#0028C0"  size="1" face="tahoma">&nbsp;Login&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;</font></b></td><td><input name="username" size="10" maxlength="30"></td></tr><tr valign="bottom"><td><b><font face="tahoma" color="#0028C0" size="1"><b>&nbsp;Password :</b>&nbsp;</font></b></td>')
document.write('<td><input type="password" name="password" size="10" maxlength="30"></td>')
document.write('</tr>')


document.write('<tr valign="bottom">')
document.write('<td colspan=2 align="right">')
document.write('<input class="one" type="submit" value="Submit" name="B1">')
document.write('<input class="one" type="reset" value="Reset" name="B2">')
document.write('</td>')
document.write('</tr>')
document.write('<tr valign="top">')
document.write('<td colspan=2 align="middle"> &nbsp;<A href="http://www.dgreetings.com/logpaswd/signup.html"><font face="arial" size="-2"><b><u>New User</u></b></font></A>&nbsp;&nbsp;<A href="http://www.dgreetings.com/logpaswd/forgotpwd.html"><font face="arial" size="-2"><b><u>Forgot Password</u></b></font></A><br><A href="http://www.dgreetings.com/forms/whysign.htm"><font face="arial" size="-2"><b><u>Why Sign Up ?</u></b></font></A><br>')
document.write('<br><font size="1" color="red" face="tahoma"><b>*Over 15,000 Cards available*</b></font></td>')
document.write('</tr></table></form></div></td></tr>')
document.write('</table>')


}
//-----function login ends-------

//---search engine------


function search()
{
document.write('<FORM ACTION="http://www.dgreetings.com/cgi-bin/search.pl" METHOD="post" name="sir"><table border="0" width="150">')

document.write('<tr><td align="left">')
document.write('<INPUT TYPE="hidden" NAME="searchupon" VALUE="all">')
document.write('<INPUT TYPE="hidden" NAME="sitename" VALUE="database">')

document.write('<font size="1" face="arial" color="#000080" ><B>Search This Site</B></font><br>')

document.write('<INPUT NAME="keywords" SIZE="12" MAXLENGTH="80">')
document.write('<INPUT TYPE="image" SRC="http://www.dgreetings.com/newimages/go1.gif" border="0" valign="bottom">')
document.write('</td></tr></table></form>')
}


//----search engine ends-------


 //-------function for good morning sorting modified on 18/5/2000 
 
function urtrap()
{
	ur= document.URL;
	ar=ur.split("/");
	category=ar[ar.length-2];
	arr=ar[ar.length-1];
	x=arr.split(".");
	len = x[0].length;
	y = x[0].substring(len-2,len);
	z=eval(y);
}

function numbergoodloop()
{
	document.write('<a href="good01.htm"><B>1</B></a>&nbsp &nbsp');
		
	for(var i=2;i<20;i++) 
	{
		if ((i>0) && (i<=9))
		{
			j='0'+i;
		}
		else
		{
			j=i;
		}
		document.write('<a href="http://www.dgreetings.com/goodmorning/good'+j+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');
	}
}

function gnext()
{
	numbergoodloop();
	abc=z+1;
	document.write('<a href="http://www.dgreetings.com/goodmorning/good'+(abc)+'.htm"><b>Next</b></a>&gt;&gt;&nbsp &nbsp');
}

function lnext()
{
	numbergoodloop();	
	abc=z+1;
	az='0'+abc;
	document.write('<a href="http://www.dgreetings.com/goodmorning/good'+(az)+'.htm"><b>Next</b></a>&gt;&gt;&nbsp&nbsp');
}

function gpre()
{
	abc=z-1;
	document.write('&lt;&lt;<a href="http://www.dgreetings.com/goodmorning/good'+(abc)+'.htm"><b>Previous</b></a>&nbsp &nbsp');
}

function lpre()
{
	abc=z-1;
	az='0'+abc;
	document.write('&lt;&lt;<a href="http://www.dgreetings.com/goodmorning/good'+(az)+'.htm"><b>Previous</b></a>&nbsp 							&nbsp');
}

function numbergood(){
document.write('<BR><center>');
    urtrap();
			if (z<19) 
			{
				if(z<9)
				{
					if(z>1)
					{	
					lpre();
					lnext();
					}	
					else
					{
						lnext();
					}	
				}							
				else
				{
					lpre();
					gnext();
				}
			}
			else
			{
			gpre();
			numbergoodloop();
			}
				
	document.write('</center></BR>');
}
//----end of good morning number sorting------


// function for 4thjuly(American Independence Day) index page sorting modified on 3/6/2000 

//function for looping to show of no. of index pages the category have.
//using 'function urtrap ()' written above
function numberloop()
{
	document.write('<a href="index01.htm"><B>1</B></a>&nbsp &nbsp');
		urtrap();
		
	for(var i=2;i<8;i++) 
	{	
		document.write('<a href="http://www.dgreetings.com/'+category+'/index0'+i+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');
	}
}

// TO move to next index page
function next()
{
	numberloop();
	abc=z+1;
	document.write('<a href="http://www.dgreetings.com/'+category+'/index0'+(abc)+'.htm"><b>Next</b></a>&gt;&gt;&nbsp &nbsp');
}

//to move to previous index page
function pre()
{
	urtrap();
	abc=z-1;
	document.write('&lt;&lt;<a href="http://www.dgreetings.com/'+category+'/index0'+(abc)+'.htm"><b>Previous</b></a>&nbsp &nbsp');
}

// function for linking of index pages
function number4thjuly(){
document.write('<BR><center>');
    urtrap();
			if (z<7) 
			{
					if(z>1)
					{	
					pre();
					next();
					}	
					else
					{
						next();
					}	
			}
			else
			{
			pre();
			numberloop();
			}
				
	document.write('</center></BR>');
}
//end of function 

			//----end of 4thjuly(American Independence Day) index page number sorting------


function smile(){

var cookiestring=document.cookie;
/*var condition=false;
prompt("the cookiestring",cookiestring);
	condition=cookiestring.substring(5,9);
	prompt("condition1",condition);
	if(cookiestring==""){alert("blank");}
if(condition){
	//alert("entered");
	document.cookie="flag=true";
	var cookiestring=document.cookie;

						}
prompt("",condition);*/
if(cookiestring==""){
 open("http://www.dgreetings.com/forms/link.html","win","menubar=0,location=yes,status=yes,directories=no,toolbar=yes,scrollbars=yes,height=90,width=570,resizable=yes,alwaysRaised=yes,left=0,top=0")
document.cookie="flag=true";
}
}

//*********no of pages for valentine category****************
function numbervale(){

document.write('<BR><center>');
document.write('<a href="index.html"><B>1</B></a>&nbsp &nbsp');
	for(var i=2;i<7;i++) {
		document.write('<a href="http://www.dgreetings.com/valentine/index'+i+'.html"><b>'+i+'</b></a>&nbsp &nbsp');

		}
document.write('</center><BR>');
}
//*********no of pages for goodmorning category****************
function oldnumbergood(){

document.write('<BR><center>');

document.write('<a href="good1.htm"><B>1</B></a>&nbsp &nbsp');
	for(var i=2;i<20;i++) {
document.write('<a href="http://www.dgreetings.com/goodmorning/good'+i+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');

		}
	document.write('<a href="good11.htm"><b>NEXT</b></a>&nbsp &nbsp');
	document.write('</center><BR>');
}

function numbergood1(){

document.write('<BR><center>');
document.write('<a href="good1.htm"><b>BACK</b></a>&nbsp &nbsp');
document.write('<a href="good11.htm"><B>11</B></a>&nbsp &nbsp');
	for(var i=12;i<20;i++) {
document.write('<a href="http://www.dgreetings.com/goodmorning/good'+i+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');

		}
		
		document.write('</center><BR>');
}

function numberholi(){

document.write('<BR><center>');
document.write('<a href="holi1.htm"><B>1</B></a>&nbsp &nbsp');
	for(var i=2;i<9;i++) {
document.write('<a href="http://www.dgreetings.com/holi/holi'+i+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');

		}
document.write('</center><BR>');
}


//******function to display the categories on the left side of the page****
function category(){
document.write('<table cellspacing=0 cellpadding=0 width=100% bgcolor="#A8F4FF" border=0 height=300><tr><td valign=top>');
search();
//document.write('<A HREF="http://www.dgreetings.com/bestcards/index.html"><img src="http://www.dgreetings.com/newimages/dgreet_gifs/chairman.gif" width="91" height="30" border="0" alt="Chairmans Selection"></A><br><br>');
document.write('<table cellspacing=0 cellpadding=0 width=100% border=0 >');
//document.write('<A HREF="http://www.dgreetings.com/wallpapers/2001calendars/index.html">2001 Calendars</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New"><br>');


//document.write('<BR><A HREF="http://www.dgreetings.com/healthday/index.html">World Health Day</A>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/birthday_cards/index.html"><font size="2" face="arial" color="#0028C0">Birthday Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/couple_cards/index.html"><font size="2" face="arial" color="#0028C0">Couple Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/everyday_cards/index.html"><font size="2" face="arial" color="#0028C0">Everyday Cards</font></A></td></tr><tr><td height=4></td></tr>');
//document.write('<tr bgcolor="#00A4C0"><td align="left"><A HREF="http://www.dgreetings.com/event_cards/index.html"><font size="2" face="arial" color="#0028C0">Event Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/fun_sake_cards/index.html"><font size="2" face="arial" color="#0028C0">Fun Sake Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/grand_cards/index.html"><font size="2" face="arial" color="#0028C0">Grand Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/independence_day_cards/index.html"><font size="2" face="arial" color="#0028C0">Independence Day Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/just_like_that_cards/index.html"><font size="2" face="arial" color="#0028C0">Just Like That Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/kids_zone_cards/index.html"><font size="2" face="arial" color="#0028C0">Kids Zone Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/love_romance_cards/index.html"><font size="2" face="arial" color="#0028C0">Love Romance Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/pet_animal_cards/index.html"><font size="2" face="arial" color="#0028C0">Pet Animal Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/seasonal_cards/index.html"><font size="2" face="arial" color="#0028C0">Seasonal Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/sports_cards/index.html"><font size="2" face="arial" color="#0028C0">Sports Cards</font></A></td></tr><tr><td height=4></td></tr>');
document.write('<tr bgcolor="#0FEDFF"><td align="left"><A HREF="http://www.dgreetings.com/support_cards/index.html"><font size="2" face="arial" color="#0028C0">Support Cards</font></A></td></tr><tr><td height=4></td></tr><tr><td>')
//amazon();
document.write('</td></tr>');

document.write('</table></td></tr></table>');

}


/*function categoryold(){
document.write('<table cellspacing=0 cellpadding=0 width=100% bgcolor="#90E9FE" border=0 height=1200><tr><td valign=top>');
search();

document.write('<A HREF="http://www.dgreetings.com/anniversary/index.html">Anniversary</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/4thjuly/index.html">American Independence</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/racial/index.html">Anti-Racism Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/aprilfool/index.html">April Fool\'s Day</A>');
document.write('<br><A HREF="http://www.dgreetings.com/atwork/index.html">Atwork</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/baisakhi/index.html">Baisakhi</A>');
document.write('<br><A HREF="http://www.dgreetings.com/friendsday/index.html">Best Friend\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/bhaidooj/index.html">Bhaiya Dooj</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/birthday/index.html">Birthday</A>');
document.write('<br><A HREF="http://www.dgreetings.com/budhajayanti/index.html">Buddha Jayanti</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/eventcalender/index.html">Calendar</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/canadaday/index.html">Canada Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/icbookday/index.html">Children\'sBookDay</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/congrats/index.html">Congrats</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/chtree/index.html">Christmas Tree</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/christmas/index.html">Christmas </A>');
document.write('<br><A HREF="http://www.dgreetings.com/digital/index.html">Digital</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/diwali/index.html">Diwali</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/doctors/index.html">Doctor\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/dragonboat/index.html">DragonBoatFestival</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/durgapooja/index.html">Durga Puja</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/dusshera/index.html">Dusshera</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/earth/index.html">Earth\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/easter/index.html">Easter</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/eatingday/index.html">Eating Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/eid/index.html">Eid</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/employeeday/index.html">Employee  Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/engagement/index.html">Engagement</A>');
document.write('<br><A HREF="http://www.dgreetings.com/environment/index.html">Environment Day</A>');

document.write('<BR><A HREF="http://www.dgreetings.com/events&holidays/index.html">Events & Holidays</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/examination/index.html">Examination</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/farewell/index.html">Farewell</A>');
document.write('<br><A HREF="http://www.dgreetings.com/fatherday/index.html">Father\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/flash/index.html">Flash Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/foods&drinks/index.html">Food & Drinks</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/friend/index.html">Friend</A>');
document.write('<br><A HREF="http://www.dgreetings.com/friendshipcards/index.html">Friendship Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/funcards/index.html">Fun Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/gandhijayanti/index.html">Gandhi Jayanti</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/ganesha/index.html">Ganesha Chaturthi</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/generalcards/index.html">General Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/getwellsoon/index.html">Get Well Soon</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/goodfriday/index.html">Good Friday</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/goodluck/index.html">Good Luck</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/goodmorning/index.html">Good Morning</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/graduate/index.html">Graduation</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/gudipadwa/index.html">Gudi Padwa</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/gurunanakbday/index.html">Gurunanak Birthday</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/guyfawkesday/index.html">Guy Fawkes day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/hannukah/index.html">Hannukah Cards</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/hanuman/index.html">Hanuman Jayanti</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/hiroshimaday/index.html">Hiroshima Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/holi/index.html">Holi Utsav</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/holocaust/index.html">Holocaust  Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/hotdog/index.html">HotDog Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/incometax/index.html">Income Tax Day </A>');
document.write('<BR><A HREF="http://www.dgreetings.com/15august/index.html">Indian Independence</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/information/index.html">Information Day </A>');
document.write('<BR><A HREF="http://www.dgreetings.com/applet/index.html">Java Applet </A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/juggler/index.html">Juggler Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/karwachauth/index.html">Karwa Chauth</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/kidsday/index.html">Kid\'s Day </A>');
document.write('<BR><A HREF="http://www.dgreetings.com/kidszone/index.html">Kids Zone</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/labourday/index.html">Labour Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/usaliberty/index.html">Liberty Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/love/index.html">Love</A>');

document.write('<BR><A HREF="http://www.dgreetings.com/mahavirjayanti/index.html">Mahavir Jayanti</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/ownholiday/index.html">Make UR Holiday</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/usamem/index.html">Memorial Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/missyou/index.html">Miss You</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/monsoon/indexani.html">Monsoon</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/moods/index.html">Moods</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/mothersday/index.html">Mother\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/soundcards/index.html">Musical Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/nauroze/index.html">Nauroze Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/navratri/index.html">Navratri</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/newborn/index.html">New Born</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/newjobs/index.html">New Jobs</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/nosmoking/index.html">No Smoking</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/onam/index.html">Onam</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/14august/index.html">Pakistan Independence</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/panicday/index.html">Panic Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/passover/index.html">Passover Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/patriots/index.html">Patriots Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/pets/index.html">Pets</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/rakhi/index.html">RakshaBandhan</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/ramnavmi/index.html">Ram Navami </A>');
document.write('<BR><A HREF="http://www.dgreetings.com/ramadan/index.html">Ramadan</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/recipe/index.html">Recipes </A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/relations/index.html">Relations </A>');
document.write('<BR><A HREF="http://www.dgreetings.com/roseday/index.html">Rose Day</A>');
document.write('<br><A HREF="http://www.dgreetings.com/citizen/index.html">Sen. Citizen\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/sorry/index.html">Sorry</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/specialcards/index.html">Special Cards</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/sports/index.html">Sports</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/patrick/index.html">St.Patrick\'sDay</A>');
document.write('<br><A HREF="http://www.dgreetings.com/summer/index.html">Summer</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/sympathy/index.html">Sympathy</A>');
document.write('<br><A HREF="http://www.dgreetings.com/tattosday/index.html">Tattoo\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/thanks/index.html">Thank You</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/thanksgiving/index.html">Thanksgiving</A><img src="http://www.dgreetings.com/newimages/home/new.gif" width=28 height=15 border=0 alt="New">');
document.write('<BR><A HREF="http://www.dgreetings.com/travel/index.html">Travel</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/ugadi/index.html">Ugadi</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/unemployment/index.html">Unemployment</A>');
document.write('<br><A HREF="http://www.dgreetings.com/virus/index.html">Virus</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/waterday/index.html">Water Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/weddingcards/index.html">Wedding Cards</A>');
document.write('<br><A HREF="http://www.dgreetings.com/whalesday/index.html">Whale\'s Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/womensday/index.html">Women\'s Day</A>');
document.write('<br><A HREF="http://www.dgreetings.com/familyday/index.html">World Family Day</A>');
document.write('<BR><A HREF="http://www.dgreetings.com/healthday/index.html">World Health Day</A>');

}*/

ads9 = new Array('<A HREF="http://www.123world.com"><IMG SRC="http://www.dgreetings.com/newimages/123world4.gif" WIDTH=304 HEIGHT=53 border=0 ALT=""></A>','<A HREF="http://www.indiafairs.com"><IMG SRC="http://www.dgreetings.com/newimages/indiafairs.gif" WIDTH=467 HEIGHT=61 border=0 ALT=""></A>','<A HREF="http://www.dgreetings.com/valentine/index.html"><IMG SRC="http://www.dgreetings.com/newimages/valentine/valentinefooter.gif" WIDTH=225 HEIGHT=44 border=0></A>')

function insertAd() {
 adIX = Math.round(Math.random()*(ads9.length-1))
 document.write(ads9[adIX])
}


function move() {
  cend=Math.min(c+len,message.length)
  if (c <0)
    cstart=0
  else
    cstart=c
  if (c < 0)
   f.scroll.value=space.substring(0,-c) + message.substring(cstart,cend)
  else
    f.scroll.value=message.substring(cstart,cend)
  c = c +1;
  if (c == message.length ) c = -len;
  tid=window.setTimeout("move()",speed);
}
 
function start(x) {
  f=x
  tid=window.setTimeout("move()",speed);
}
 
function cleartid() {
  window.clearTimeout(tid);
}
 
function ticker(m,l,s)
{
message=m
len=l
speed=s
document.write('<font color="blue"><FORM name=tickertapeform><input name=scroll size=51') 
document.write(len) 
document.write('value="  ") </FORM></font>');
start(document.tickertapeform);
}
 
 
function ticker(m)
{

var tickertapeform
speed=20
len=51; 
space="                                                                                                    "
tid = 0;
message="dgreetings" 
c= -len;
message=m
len=75
speed=75
document.write('<font color="blue"><FORM name=tickertapeform><input name=scroll size=51></FORM></font>');
start(document.tickertapeform);
}

function colo(){
document.write('<table bgcolor="red">');
}


function outsider() {
 adIX = Math.round(Math.random()*(ads.length-1));
 document.write(ads[adIX]);
}

function outsider1(){

bust = Math.floor(1000000*Math.random());
document.write('<IFRAME WIDTH=468 HEIGHT=60 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://ads.mediaturf.net/html.ng/site=dgreetings&size=468x60&bust='+bust+'">\n');
document.write('<SCR' + 'IPT LANGUAGE="JavaScript1.1" SRC="http://ads.mediaturf.net/js.ng/Params.richmedia=yes&site=dgreetings&size=468x60&bust='+bust+'">\n');
document.write('</SCR' + 'IPT>\n');
document.write('</IFRAME>');

document.write('<NOSCRIPT><A HREF="http://ads.mediaturf.net/click.ng/Params.richmedia=yes&site=dgreetings&size=468x60"><IMG WIDTH=468 HEIGHT=60 border=0 SRC="http://ads.mediaturf.net/image.ng/Params.richmedia=yes&site=dgreetings&size=468x60"></A></NOSCRIPT>')
}


function header() {

//*******outer table**********
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%" bgcolor="#FFF8B0"> <TR valign="top">')
document.write('<TD width=170 align=center>')
//******inner table*********
document.write('<a href="http://dgreetings.com/" target=_blank><img src="http://www.dgreetings.com/newimages/homegif/newlogo.gif"  border="0" alt="Send Greeting Cards" width="154" height="48"></a>&nbsp;&nbsp;</td>')

//document.write('kris')
document.write('<td valign="top" align="center">')
//outsider()

//randomb()
//document.write('<img src="http://www.dgreetings.com/newimages/homegif/germanversion.gif"  border="0" alt="German Version">');
//rightcurrentfestivals() 
//document.write('<A HREF="http://www.theeid.com" target="_blank"><img src="http://www.dgreetings.com/images/eidsmall.gif" width="175" height="36" border="1" alt="Eid Mubarak"></A>')
//document.write('<a href="http://de.dgreetings.com/" target=_blank><img src="http://www.dgreetings.com/newimages/homegif/germanversion.gif"  border="0" alt="German Version"></a>')
//document.write('<br><a href="http://www.dgreetings.com/lovemeter/lovemeter.htm" target="_blank" class="left"><font size="2"  face="Arial" color="#0028C0"><b>Love Calculator</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/flames/flames.html" target="_blank"><font size="2"  face="Arial" color="#0028C0"><b>Flames</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/lovehoroscope/index.html" target="_blank"><font size="2" color="#0028C0" face="Arial"><b>Love&nbsp;Horoscope</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/lovequotation/index.html" target="_blank"><font size="2" color="#0028C0" face="Arial"><b>Love&nbsp;Quotations</b></font></a></td><td valign="top" align="right"><a href="http://www.dgreetings.com"><img src="http://www.dgreetings.com/newimages/homegif/dgreetingslogo.jpg" width=154 height=48 border=0 alt="Dgreetings.com"></a><br><br><APPLET code=imglink.class codebase="http://www.dgreetings.com" width="160" height="44" ><PARAM NAME="link" VALUE="http://www.123world.com" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/homegif/123world3.gif" width="160" height="44" border="1" alt="Virtual Rakhi"></APPLET><br><br><APPLET code=imglink.class codebase="http://www.dgreetings.com" height="47"  width="96" ><PARAM NAME="link" VALUE="http://de.dgreetings.com/index.html" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/homegif/germanversion.gif" width="96" height="47" border="1" alt="Virtual Rakhi"></APPLET></td>')
document.write('<br><a href="http://www.dgreetings.com/lovemeter/lovemeter.htm" target="_blank" class="left"><font size="2"  face="Arial" color="#0028C0"><b>Love Calculator</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/flames/flames.html" target="_blank"><font size="2"  face="Arial" color="#0028C0"><b>Flames</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/lovehoroscope/index.html" target="_blank"><font size="2" color="#0028C0" face="Arial"><b>Love&nbsp;Horoscope</b></font></a>&nbsp;&nbsp;<a href="http://www.dgreetings.com/lovequotation/index.html" target="_blank"><font size="2" color="#0028C0" face="Arial"><b>Love&nbsp;Quotations</b></font></a></td><td valign="top" align="right"><APPLET code=imglink.class codebase="http://www.dgreetings.com" width="160" height="44" ><PARAM NAME="link" VALUE="http://www.craftsinindia.com" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/homegif/craftsinindiabanner.gif" width="160" height="44" border="1" alt="Craftsinindia.com"></APPLET><br><br><a href="http://dgreetings.com/newchat/chat.html"><img src="http://www.dgreetings.com/newimages/newchat.gif"  border="0" alt="Chat @ The Speed Of Thought"></a>&nbsp;<a href="http://www.dgreetings.com/logpaswd/signup.html"><img src="http://www.dgreetings.com/newimages/login.gif"  border="0" alt="login"></a>&nbsp;<a href="http://de.dgreetings.com/" target=_blank><img src="http://www.dgreetings.com/newimages/german.gif"  border="0" alt="German Version"></a><br><br><APPLET code=imglink.class codebase="http://www.dgreetings.com" height="47"  width="96" ><PARAM NAME="link" VALUE="http://es.dgreetings.com/index.html" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/homegif/spanishgreetings.gif" width="96" height="47" border="1" alt=""></APPLET></td>')
document.write('</td>')
//********** end of inner table **********
document.write('</tr></table>')
//*******end of outer table ****************
document.write('</TD></TR></TABLE>')

}


function footer()
{

//*************************************DISPLAY OF INTERNAL LINKS *******************************
document.write('<center>')
document.write('<FONT COLOR="#f10101">All Cards are less than 40K.</FONT><br>')

//document.write('<BR>|<A HREF="http://www.dgreetings.com/atwork/index.html"> Atwork </A>|<A HREF="http://www.dgreetings.com/birthday/index.html"> Birthday </A>|<A HREF="http://www.dgreetings.com/goodmorning/index.html">Good Morning</A>|<A HREF="http://www.dgreetings.com/relations/index.html"> Relations </A>|<A HREF="http://www.dgreetings.com/goodluck/index.html"> Good Luck </A>|<A HREF="http://www.dgreetings.com/loveyou/index.html"> Love You </A>|<A HREF="http://www.dgreetings.com/virtualkiss/index.html"> Virtual Kiss </A>|<A HREF="http://www.dgreetings.com/sorry/index.html"> Sorry </A>|<A HREF="http://www.dgreetings.com/farewell/index.html"> Farewell </A>|<br>|<A HREF="http://www.dgreetings.com/events&holidays/index.html"> Events&Holidays </A>|<A HREF="http://www.dgreetings.com/weddingcards/index.html"> Wedding Cards </A>|<A HREF="http://www.dgreetings.com/thanks/index.html"> Thank You </A>|<A HREF="http://www.dgreetings.com/getwellsoon/index.html"> Get Well Soon </A>|<A HREF="http://www.dgreetings.com/missyou/index.html"> Miss You </A>|<A HREF="http://www.dgreetings.com/congrats/index.html"> Congrats </A>|<A HREF="http://www.dgreetings.com/funcards/index.html"> Fun Cards </A>|<BR>|<A HREF="http://www.dgreetings.com/examination/index.html"> Examinations </A>|<A HREF="http://www.dgreetings.com/sports/index.html"> Sports </A>|<A HREF="http://www.dgreetings.com/anniversary/index.html"> Anniversary </A>|<A HREF="http://www.dgreetings.com/engagement/index.html">Engagement </A>|<A HREF="http://www.dgreetings.com/moods/index.html">Moods </A>|<A HREF="http://www.dgreetings.com/kidszone/index.html">Kids Zone </A>|<A HREF="http://www.dgreetings.com/newborn/index.html">New Born </A>|<A HREF="http://www.dgreetings.com/newjobs/index.html">New Jobs </A>|<A HREF="http://www.dgreetings.com/friend/index.html"> Friend </A>|<br>|<A HREF="http://www.dgreetings.com/generalcards/index.html"> General Cards </A>|<A HREF="http://www.dgreetings.com/friendshipcards/index.html"> Friendship Cards</A>|<A HREF="http://www.dgreetings.com/diwali/index.html"> Diwali</A>|<A HREF="http://www.dgreetings.com/foods&drinks/index.html"> Food & Drinks </A>|<A HREF="http://www.dgreetings.com/soundcards/index.html"> Musical</A>|<A HREF="http://www.dgreetings.com/gurunanakbday/index.html">Guru Nanak Birthday</A>|<A HREF="http://www.dgreetings.com/applet/index.html">Java Applet</A>|<BR><BR>')


document.write('<A HREF="http://www.dgreetings.com/index.html"><IMG SRC="http://www.dgreetings.com/images/home.gif" ALT="Home Page" WIDTH=33 HEIGHT=31 BORDER=0></A><br><A HREF="http://www.dgreetings.com/forms/fbackform.htm"><img src="http://www.dgreetings.com/newimages/home/yourf.gif" width=78 height=23 border=0 alt=""></A> &nbsp;&nbsp;<A HREF="http://www.dgreetings.com/mailinglist.html"><img src="http://www.dgreetings.com/newimages/home/mailinglist.gif" width=111 height=23 border=0 alt=""></A> &nbsp;&nbsp;<A HREF="MAILTO:compare@vsnl.com"><img src="http://www.dgreetings.com/newimages/home/contact.gif" width=54 height=23 border=0 alt=""></A>&nbsp;&nbsp;<A HREF="http://www.easytransmit.com/resume/alljobs.asp"><img src="http://www.dgreetings.com/newimages/home/jobo.gif" width=89 height=23 border=0 alt=""></A>&nbsp;&nbsp;<A HREF="http://www.dgreetings.com/forms/help.htm"><img src="http://www.dgreetings.com/newimages/home/help.gif" width=28 height=23 border=0 alt=""></A>')

document.write('<p><center>')	
document.write('<A HREF="http://www.infobase.co.in" target="_blank"><br><img src="http://www.dgreetings.com/newimages/home/translogo.gif" width=89 height=102 border=0 alt="allwonders.com"></A>')
document.write('<BR><FONT SIZE="-1" COLOR="#0A1567">This site is a part of &nbsp;&nbsp;<A HREF="http://www.allwonders.com" target="_blank">allwonders.com</A></font>')

document.write('<FONT SIZE="-1" COLOR="#0A1567"><BR>Copyright 2002&nbsp;&nbsp;<A HREF="http://www.infobase.co.in" target="_blank">Compare Infobase Pvt Ltd.</A><br>All Rights Reserved.<br>C-62, Community Centre, Janak Cinema Complex<br>New Delhi-110 058 (India)<br>Tel : +91-11-5542005, 5527180, 5542045,  Fax : +91-11-5621464<br>Mobile : +91(0) 9810053538, 9810290075</FONT>')
document.write('<FONT SIZE="-1" COLOR="#0A1567"><BR>Contents Developed by <a href="http://www.infobase.co.in/substancefactory/index.html" target="_blank">SubstanceFactory.com</a><br>Best viewed in 800 x 600 resolutions.</FONT>')
document.write('</center>')

}


function bannerani()
{

var msg="Dgreetings.com: Select from the choicest collection of Valentine Day,Mahashivratri,Flirting Week and Many more..."
var num1=Math.round((Math.random())*7)
var num2=Math.round((Math.random())*6)
//prompt("the message 2",num1)

//****************** table for display of recommend and feedback gif ********************

document.write('<center>')
document.write('<table border=0 width=650 cellspacing=0 cellpadding=10>')
document.write('<tr><td align="center" colspan="3">')

document.write('</td></tr>')

document.write('<tr><td align="center" colspan="3">')

ticker(msg)
document.write('</td></tr>')
document.write('<tr><td align="center" colspan="3">');
banners();
//newagent();
document.write('</td></tr>');


document.write('</table>')
document.write('</center>')


document.write('');
//document.write('<CENTER><A HREF="http://www.mapsofindia.com"><IMG SRC="../images/rdmoi.gif" ALT="Total Information" WIDTH=300 HEIGHT=60 BORDER=1></A></CENTER>');
document.write('<BR>');
}





function leftcurrentfestivals(){

var num1=Math.round((Math.random())*4)

limg= new Array()

limg[0]='<A HREF="http://www.dgreetings.com/goodluck/index.html"><IMG SRC="http://www.dgreetings.com/images/RDG15.gif" ALT="Links to GoodLuck Cards" WIDTH=144 HEIGHT=48 border=0></A>'

limg[1]='<A HREF="http://www.dgreetings.com/anniversary/index.html"><IMG SRC="http://www.dgreetings.com/images/RDA11.gif" ALT="Links to Anniversary Cards " WIDTH=112 HEIGHT=43 border=0></A>'

limg[2]='<A HREF="http://www.dgreetings.com/engagement/index.html"><IMG SRC="http://www.dgreetings.com/images/RDE12.gif" ALT="Links to Engagement Cards" WIDTH=112 HEIGHT=45 border=0></A>'

limg[3]='<A HREF="http://www.dgreetings.com/goodmorning/index.html"><img src="http://www.dgreetings.com/newimages/banners/banner1.gif" width=120 height=40 border=0 alt="Link To Good Morning Cards"></A>'

//limg[4]='<A HREF="http://www.dgreetings.com/kidszone/index.html"><img src="http://www.dgreetings.com/newimages/banners/kidszonebanner.gif" width="120" height="40" border="1" alt="Link To Kid\'s zone Cards"></A>'

document.write(limg[num1]);

}

function rightcurrentfestivals(){
var num2=Math.round((Math.random())*5)
rimg= new Array()

rimg[0]='<A HREF="http://www.dgreetings.com/loveyou/index.html"><IMG SRC="http://www.dgreetings.com/images/RDL8.gif" ALT="Links to Love You Cards" WIDTH=128 HEIGHT=56 border=0></A>'

rimg[1]='<A HREF="http://www.dgreetings.com/missyou/index.html"><IMG SRC="http://www.dgreetings.com/images/RDM9.gif" ALT="Links to Miss You Cards" WIDTH=128 HEIGHT=52 border=0></A>'

rimg[2]='<a href="http://www.dgreetings.com/birthday/index.html"><img src="http://www.dgreetings.com/images/pdbdy.gif" width=160 height=44 border=0 alt=""></a>'

//rimg[3]='<A HREF="http://www.dgreetings.com/sports/index.html"><img src="http://www.dgreetings.com/newimages/banners/banner3.gif" width=120 height=40 border=0 alt=""></A>'

//rimg[4]='<A HREF="http://www.theeid.com"><img src="http://www.dgreetings.com/images/eidsmall.gif" width="175" height="36" border="1" alt="Eid Mubarak"></A>'
document.write(rimg[num2]);
}
//***email validation incase of single recipient*****







function display(imagename,left1){

//document.write('<table width=600 cellspacing=10 cellpadding=0 border=0>');
//document.write('<tr><td align="center">');
document.write(left1);
//document.write('</td><td align="right">'+right1+'</td></tr>');
//document.write('</td></tr>');
//document.write('</table>');
cardform(imagename);
}
//********forthcoming events function*********
function events(){
//document.write('<img src="http://www.dgreetings.com/newimages/events&hodys2.gif" width=150 height=33 border=0 alt="">');


}

//********ad force banner********

//<!-- (c) 1997 AdForce, Inc. All AdForce ad tags are the exclusive property of AdForce, Inc., and may not be used or altered without AdForce's express written permission
//-->

/*function newagent()
{
document.write("<IFRAME WIDTH=468 HEIGHT=60 NORESIZE SCROLLING=No FRAMEborder=0 MARGINHEIGHT=0 MARGINWIDTH=0 SRC='http://adforce.imgis.com/?adiframe|2.0|203|166860|1|1|ADFORCE;'>");
document.write("<script language='javascript' src='http://adforce.imgis.com/?addyn|2.0|203|166860|1|1|ADFORCE;loc=700;'>");

document.write("</script>");
document.write("<noscript>");
document.write("<a href='http://adforce.imgis.com/?adlink|2.0|203|166860|1|1|ADFORCE;loc=300;' target='_top'>");
document.write("<img src='http://adforce.imgis.com/?adserv|2.0|203|166860|1|1|ADFORCE;loc=300;' border=0 width=468 height=60></a>");
document.write("</noscript>");
document.write("</IFRAME>");
}*/
//*******ad force banner end*****   

function banners()
{
document.write('<table cellspacing=20  align="center" border="0"><tr width=500> <td align="center" colspan="5"><font size="2" color="#0028C0" face="Arial"><b>Send E- Cards</b></font><br><br></td></tr><tr><td width=20%></td><td width=80% colspan=4><font size="2" color="#ff33cc" face="Comic Sans MS"></font></td></tr><tr width=500><tr width=400><td width=100 align="center"><a href="http://www.dgreetings.com/everyday_cards/thank_you/index.html"><img src="http://www.dgreetings.com/newimages/thankgen/thanks1t.gif" alt="Send thank you Cards" width=70 height=70 border=0></a></td><td width=100 align="center"><a href="http://www.dgreetings.com/birthday_cards/index.html"><img src="http://www.dgreetings.com/newimages/birthday/2-T.gif" alt="Send Birthday Cards" width=70 height=70 border=0></a></td><td width=100 align="center"><a href="http://www.dgreetings.com/just_like_that_cards/good_morning/index.html"><img src="http://www.dgreetings.com/newimages/goodmorning/goodmr4.gif" alt="Send Goodmorning Cards" width=70 height=70 border=0></a></td><td width=100 align="center"><a href="http://www.dgreetings.com/anniversary/index.html"><img src="http://www.dgreetings.com/newimages/anniversary/an1t.gif" alt="Send anniversary Cards" width=70 height=70 border=0></a></td></tr><tr><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Thank You Cards</font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Birthday Cards </font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">GoodMorning Cards </font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Anniversary Cards </font></td></tr><tr><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS"></font></td><td width=20% align="right"></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS"></font></td><td width=20% align="center"></font></td><td width=20%></td></tr></table>')

}
/* ------****altavista banner**********
function agent(){
var date = new Date();
  var ra = date.getTime() % 1000;
  var ua = document.URL;
  if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=4 && (navigator.userAgent.toLowerCase().indexOf("mac")==-1)) {
    document.write("<s"+"cript src='"+"http://ads.clickagents.com/cgibin/banner.ca?cibpl."+ ra +".nframe&"+ ua +"'>"); 
    document.write("</"+"script>");
  } else {
    document.write("<iframe src='http://ads.clickagents.com/cgibin/banner.ca?cibpl." + ra + ".iframe&"+ ua +"' width=468 height=60 scrolling=no marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0>");
    document.write("<a target='_top' href='http://ads.clickagents.com/cgibin/click.ca?cibpl." + ra + "'>");
    document.write("<img src='http://ads.clickagents.com/cgibin/banner.ca?cibpl." + ra + "' width=468 height=60 border=0></a>");
    document.write("</iframe>");
	document.write("<noscript>");
document.write("<a target='_top' href='http://ads.clickagents.com/cgibin/click.ca?cibpl.1'>");
document.write("<img src='http://ads.clickagents.com/cgibin/banner.ca?cibpl.1' width=468 height=60 border=0></a>");
document.write("</noscript>");
		}
	}
*/
function dubaibanner(){

var num1=Math.round(Math.random()*3)
rimg = new Array()

rimg[0]='<a href="http://www.bestbuydubai.com"><img src="http://www.dgreetings.com/newimages/banners/dubai1.gif" width=200 height=50 border=0 alt="Bestbuydubai.com"></a>';

rimg[1]='<a href="http://www.bestbuydubai.com"><img src="http://www.dgreetings.com/newimages/banners/dubai2.gif" width=200 height=50 border=0 alt="Bestbuydubai.com"></a>';

rimg[2]='<a href="http://www.bestbuydubai.com"><img src="http://www.dgreetings.com/newimages/banners/dubai3.gif" width=200 height=50 border=0 alt="Bestbuydubai.com"></a>';

rimg[3]='<a href="http://www.bestbuydubai.com"><img src="http://www.dgreetings.com/newimages/banners/dubai4.gif" width=200 height=50 border=0 alt="Bestbuydubai.com"></a>';



document.write('<table><tr><td align="left">')
document.write(rimg[num1])
document.write('</td></tr></table>')
}


ads1 = new Array('<A HREF="http://www.fabmart.com/stores/jewellery/carboncobrand.asp"><img src="http://www.virtualrakhi.com/images/aquarius.gif" width="468" height="60" border="0" alt=""></A>', '<A HREF="http://www.fabmart.com/stores/jewellery/carboncobrand.asp"><img src="http://www.virtualrakhi.com/images/cancer.gif" width="468" height="60" border="0" alt=""></a>', '<A HREF="http://www.fabmart.com/stores/jewellery/carboncobrand.asp"><img src="http://www.virtualrakhi.com/images/virgo.gif" width="468" height="60" border="0" alt=""></a>', '<A HREF="http://www.fabmart.com/stores/jewellery/carboncobrand.asp"><img src="http://www.virtualrakhi.com/images/leo.gif" width="468" height="60" border="0" alt=""></a>')


function insertAdCarbon() {
 adIX = Math.round(Math.random()*(ads1.length-1));
 document.write(ads1[adIX]);
}

function call2(a)
{
document.write('<BR><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>');
document.write('<table border=0><tr>');
document.write('<td colspan=2>');
  document.write('<a name="forms">');
document.write('<br><br><img src="'+a+'"  border="1"><br>');
//document.write('<a href="#forms1">Click to Continue......</a>');
document.write('</td></tr></table><br>');
}
function call(x)
{
document.write('<BR><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>');
document.write('<table border=0><tr>');
document.write('<td colspan=2>');
  document.write('<a name="forms1">');
document.write('<br><br><img src="'+x+'"  border="1">');
document.write('</td></tr></table><br>');
document.write('<p div align="left"><FONT SIZE=-1 color="blue">Personalise your card.(* Denotes a required field.)</FONT></p>');
}