
//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;
	}
}


//----------end of login password--------


//-------function login starts--------


function vallinks(){
document.write('<A HREF="http://www.dgreetings.com/loveyou/index.html">Love&nbsp;You</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/lovequotes/index.html">Love&nbsp;Quotes</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/missyou/index.html">Miss&nbsp;You</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/thinkofyou/index.html">Thinking&nbsp;of&nbsp;You</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/missulove/index.html">Miss&nbsp;You&nbsp;Love </A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/virtualkiss/index.html">Virtual&nbsp;Kiss</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/lovesongs/index.html">Love&nbsp;Songs </A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/lovepoems/index.html">Love&nbsp;Poems </A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/lovesorry/index.html">Love&nbsp;Sorry </A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/cupid/index.html">Cupid</A><br><br>');
document.write('<A HREF="http://www.dgreetings.com/digitallove/index.html">Digital&nbsp;Love</A><br><br>');
}
//banner changes to be done here---For above panel
ads2 = new Array('<a href="http://www.dgreetings.com/diwali/index.html" ><img src="http://www.dgreetings.com/newimages/banners/diwali-banner.gif" width="468" height="60" border="1" alt="Send Diwali Cards" style="border-color:yellow"></a>','<a href="http://www.dgreetings.com/send-diwali-gifts/index.html"><img src="http://www.dgreetings.com/newimages/banners/diwali-product-banner.gif" width="468" height="60" border="1" alt="Send Diwali Gifts" style="border-color:blue"></a>','<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60">  <param name=movie value="http://www.dgreetings.com/newimages/banners/gifttoindia.swf">  <param name=quality value=high>  <param name="menu" value="false">  <embed src="http://www.dgreetings.com/newimages/banners/gifttoindia.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60" menu="false">  </embed> </object> ');

//<!-- <a href="http://www.dgreetings.com/just_like_that_cards/good_morning/index.html" ><img src="http://www.dgreetings.com/newimages/banners/goodmorning1.gif" width="307" height="50" border="0" alt="Send goodmorning Cards"></a>','<a href="http://www.dgreetings.com/birthday_cards/index.html"><img src="http://www.dgreetings.com/newimages/banners/birthday.gif" width="307" height="50" border="0" alt="Send birthday Cards"></a>'
//'<a href="http://www.diwalimela.com/diwali-gifts/gifts-to-us.html" ><img src="http://www.dgreetings.com/newimages/banners/diwali-banner1.gif" width="307" height="50" border="0" alt=""></a>','<a href="http://www.diwalimela.com/diwali-gifts/index.html" ><img src="http://www.dgreetings.com/newimages/banners/diwali-banner2.gif" width="307" height="50" border="0" alt=""></a>','<a href="http://www.dgreetings.com/diwali/index.html" ><img src="http://www.dgreetings.com/newimages/banners/diwali01.gif" width="305" height="50" border="0" alt="Send Diwali Cards"></a>','<a href="http://www.diwalimela.com/diwali-gifts/index.html"><img src="http://www.dgreetings.com/newimages/banners/diwali-banner3.gif" width="307" height="50" border="0" alt=""></a>'
function randomb() {

adIX2 = Math.round(Math.random()*(ads2.length-1));
 document.write(ads2[adIX2]);


}

//
adsn2 = new Array('<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://www.vindia.com/swimsuit" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/swinsuit_3001.gif" width="300" height="50" border="1" alt=""></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://app.indya.com/musicapp/antakshari/index.asp" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/cinema_3001.gif" width="300" height="50" border="1" alt="123world.com"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://cinemaa.indya.com/cinema/news.html" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/hrithik_300.gif" width="300" height="50" border="1" alt="hrithik"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://www.indya.com/citibank/ecardfeature.htm" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/citibank_safe_300x50.gif" width="300" height="50" border="1" alt="citibank"></APPLET>');
adsn3 = new Array('<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://www.123janmashtami.com" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/janmashtamibanne.gif" width="300" height="50" border="1" alt="Janmashtami"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://www.123independenceday.com" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/123independenceday.gif" width="300" height="50" border="1" alt="Independenceday"></APPLET>','<APPLET code=imglink.class codebase="http://www.dgreetings.com" height="50"  width="300" ><PARAM NAME="link" VALUE="http://www.123world.com" target="_blank"><PARAM NAME="image" VALUE="http://www.dgreetings.com/newimages/banners/123world1.gif" width="300" height="50" border="1" alt="123world.com"></APPLET>');


function randombn() {

adIX2 = Math.round(Math.random()*(adsn2.length-1));
 document.write(adsn2[adIX2]);


}






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="2" face="arial" color="red" ><B>eCard Search</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="../goodmorning/good'+j+'.htm"><b>'+i+'</b></a>&nbsp &nbsp');
	}
}

function gnext()
{
	numbergoodloop();
	abc=z+1;
	document.write('<a href="../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="../goodmorning/good'+(az)+'.htm"><b>Next</b></a>&gt;&gt;&nbsp&nbsp');
}

function gpre()
{
	abc=z-1;
	document.write('&lt;&lt;<a href="../goodmorning/good'+(abc)+'.htm"><b>Previous</b></a>&nbsp &nbsp');
}

function lpre()
{
	abc=z-1;
	az='0'+abc;
	document.write('&lt;&lt;<a href="../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="../'+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="../'+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="../'+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(){
open("http://www.dgreetings.com/linknewdiwali.html","win","menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=no,width=350,height=350,resizable=no,alwaysRaised=no,left=0,top=0");
}

//*********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<11;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 rightpanel()
{
//for right side banner
/*
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=Holi V2 WIDTH=250 HEIGHT=350> <PARAM NAME=movie VALUE="http://www.dgreetings.com/newimages/holi/holi-side.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#CCCCCC> <EMBED src="http://www.dgreetings.com/newimages/holi/holi-side.swf" quality=high bgcolor=#CCCCCC  WIDTH=250 HEIGHT=350 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT><br><br><br><center><a href="http://www.indianvisit.com/"><img src="http://dgreetings.com/images/royals6.jpg" border="0"></a></center>')*/
//document.write('<a href="http://www.theydeserveit.com" target="_blank"><img src="http://www.dgreetings.com/newimages/shopingonline.gif" border=0 alt="Send Gifts"></a> <br>')
//document.write('<br>')
//document.write('<script src="http://rcm.amazon.com/e/cm?t=dgreetingscom-20&p=14&o=1&l=bn1&browse=37&mode=music" type="text/JavaScript"></script><noscript><MAP NAME="boxmap"><AREA SHAPE="RECT" COORDS="37, 588, 126, 600" HREF="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1"><AREA COORDS="0,0,10000,10000" HREF="http://www.amazon.com/exec/obidos/redirect-home/dgreetingscom-20"></MAP><img src="http://rcm-images.amazon.com/images/G/01/rcm/160x600.gif" width="160" height="600" border="0" usemap="#boxmap" alt="Shop at Amazon.com"></noscript>')

}

function amazon()
{
document.write('');
}

function rightpanelonam()
{
document.write('<table width="150"><tr><td  align="center" bgcolor="#FF1188"><a href="http://malayalifestivals.dgreetings.com" target="_blank"><img src="../newimages/banners/onamrightbanner.jpg" width="150" height="400" alt="Send Onam Gifts" border="0"></a></td></tr></table>');
}
/*function amazon()
{
document.write(' <a HREF="http://www.diwalimela.com/diwali-gifts/index.html">  <img src="http://www.dgreetings.com/newimages/banners/diwalimela01.jpg" width="120" height="150" border="0"   alt="Shop at diwalimela.com"> </a>');
}*/






function category(){
document.write('<table cellspacing=0 cellpadding=0 width=100% bgcolor="FFFFFF" border=0 height=290><tr><td valign=top>');
search();
document.write('<table cellspacing=1 cellpadding=0 width=148 border=0 >');
document.write('<tr bgcolor="#FF6D0A"><td align="left" height="15"><img src="http://www.dgreetings.com/newimages/newhome/categories.jpg"></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left" height="15"><A HREF="http://www.dgreetings.com/birthday_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Birthday Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/couple_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Couple Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/everyday_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Everyday Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/fun_sake_cards/fun/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Fun Sake Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/grand_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Grand Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/independence_day_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Independence Day</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/just_like_that_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Just Like That Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/kids_zone_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Kids Zone Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/love_romance_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Love Romance Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/pet_animals_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Pet Animal Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/seasonal_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Seasonal Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/sports_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Sports Cards</b></font></A></td></tr>');
document.write('<tr bgcolor="#FF6D0A"><td align="left"><A HREF="http://www.dgreetings.com/support_cards/index.html" style="text-decoration:none"><font size="2" face="arial" color="FFFFFF">&nbsp;<b>Support Cards</b></font></A></td></tr><tr><td>')
amazon();
document.write('</td></tr>');

document.write('</table><br><table width="120" style="border:1px #E8601E solid;"><tr><td  align="center" bgcolor="#FF6D0A" width="120"><a href="http://www.dgreetings.com/send-diwali-gifts/index.html" target="_self"><font color="FFFF00" style="font-size:12px"  face="verdana"><b>www.DGreetings.com</b></a><br><font color="FFFFFF" size="2" face="arial"><b>Exclusive Diwali Gift Store  >></b></font>&nbsp;<a href="http://www.dgreetings.com/send-diwali-gifts/index.html" target="_self"><font color="FFFF00" size="2" face="arial"><b><u>Click</u></b></font></a></td></tr></table></td></tr></table>');

}




ads = 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=1></A>')

function insertAd() {
 adIX = Math.round(Math.random()*(ads.length-1))
 document.write(ads[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);
}






// Indiads Code Starts. Do NOT Modify --->


function script()
{
var _version=11;
document.write('<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://www.indiads.com/RealMedia/ads/adstream_jx.cgi/www.dgreetings.com/@Top"></script>');
document.write('<script LANGUAGE="JavaScript">		<!--		_version=10;		//-->		</script>');
document.write('<script LANGUAGE="JavaScript1.1"> 		<!--		_version=11;		// -->		</script>');
if (navigator.appVersion.indexOf("MSIE 3") != -1){
		document.write('<IFRAME WIDTH=460 HEIGHT=120 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://www.indiads.com/RealMedia/ads/adstream_sx.cgi/www.dgreetings.com/@Top"></iframe>'); 
		} else if (_version < 11) {
		  document.write ('<A HREF="http://www.indiads.com/RealMedia/ads/click_nx.cgi/www.dgreetings.com/@Top?x"><IMG SRC="http://www.indiads.com/RealMedia/ads/adstream_nx.cgi/www.dgreetings.com/@Top?x"></a>');
		}
		document.write('<NOSCRIPT>		<A HREF="http://www.indiads.com/RealMedia/ads/click_nx.cgi/www.dgreetings.com/@Top?x">			<IMG SRC="http://www.indiads.com/RealMedia/ads/adstream_nx.cgi/www.dgreetings.com/@Top?x">		</A>		</NOSCRIPT>');
}
	//<!--- Indiads Code Ends --->
	


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 out()
{
document.write("hello");
}

function header() {

//*******outer table**********
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"  height="100"> <TR valign="top">')


//document.write('kris')
document.write('<td valign="top" align="center" width=100%><table  background="http://www.dgreetings.com/newimages/banners/diwali-banner-dg.jpg" border=0 bgcolor=FFFFFF width=100% height=100 bordercolor="brown"><tr><td valign="middle" align=center style="padding-left:100px">')
//script()

randomb()
document.write('</td></tr></table>')
document.write('<table border=0 width=100%>')
document.write('<tr><td valign="top"><table cellpadding=0 cellspacing=0 border=0 width="100%" ><tr height=20><td valign="middle" bgcolor="#ff6030" align="center" colspan="2"><marquee behavior="scroll" width=90% bgcolor="#FF6030" scrollamount="2" scrolldelay="1" direction="left"><font color="#f3fdff" style="FONT-SIZE: 10px" face="verdana">&nbsp;<b><big>Dgreetings Family Wishes You a Happy Diwali (Deepavali) Nov. 1, 2005!</big>  <a href="http://www.dgreetings.com" class="text" target="_blank"><font color="#f3fdff" style="FONT-SIZE: 12px" face="verdana"><b></b></font></a> </b></font></marquee></td></tr></table></td></tr></table>')



//*******end of outer table ****************
document.write('</TD></TR></TABLE>')

}


function headerg() {

//*******outer table**********
document.write('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%"> <TR valign="top">')
document.write('<TD>')
//******inner table*********
login()

//document.write('kris')
document.write('<td valign="middle" align="center">')
//randomb()
script()
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.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><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('</td>')
//********** end of inner table **********
document.write('</tr></table>')
//*******end of outer table ****************
document.write('</TD></TR></TABLE>')


}
function right(){
document.write('<table border="0" cellspacing="1">')
document.write('<tr><td colspan="3" align="left"><font color=blue><b>Surfers<br> Demand</b></font>')
document.write('</td><td></td>')
//document.write('<td align="center"><font color=navy>Christmas</td></tr>')
document.write('<tr><td>')
document.write('<a href="http://www.dgreetings.com/newyear/flash/5.htm" target="_blank"><img src="http://www.dgreetings.com/newimages/homegif/5t.gif"  border="1" alt="Happy New Year"></a><br>')
document.write('</td></tr><tr><td align="left"><font color=navy>New Year</td></tr>')
document.write('<tr><td>')
document.write('<a href="http://www.dgreetings.com/newyear/animated/thanks1.htm"><img src="http://www.dgreetings.com/newimages/newyear/animated/thanks1t.gif"  border="1" alt="New Year Thanks Card" width=60 height=60></a><br>')
document.write('</td></tr><tr><td align="left"><font color=navy>New Year Thanks</td></tr>')
document.write('<tr><td>')
document.write('<a href="http://www.dgreetings.com/newyear/animated/24.htm"><img src="http://www.dgreetings.com/newimages/homegif/newyear1.gif"  border="1" alt="Happy New Year"></a></td>')
document.write('</td></tr><tr><td align="left"><font color=navy>New Year</td></tr>')


document.write('</TABLE>')
}


function footer()
{

//*************************************DISPLAY OF INTERNAL LINKS *******************************
document.write('<center><br><br>')
//randombn();
document.write('<br><br><br><br><br><br><br><br><br><br><FONT COLOR="#f10101">All Cards are less than 50K.</FONT><br>')
document.write('<br><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/affiliate.htm"><img src="http://www.dgreetings.com/newimages/home/beouraffiliate.gif" width=111 height=23 border=0 alt""></a>&nbsp;&nbsp;<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.cvonweb.com/"><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 2003&nbsp;&nbsp;<A HREF="http://www.infobase.co.in" target="_blank">Compare Infobase Pvt Ltd.</A><br>All Rights Reserved.<br>C-62,Janakpuri,New Delhi-110 058 (India)<br>Tel : +91-11-25542045,  Fax : +91-11-25547264,Mobile : +91(0) 9810053538,9810430573</FONT>')
document.write('<br><FONT SIZE="2" COLOR="#0A1567">We host with</font><A HREF="http://www.serversindia.net" target="_blank"><FONT COLOR="#0000f0" face="arial" size="2"> Serversindia.net Pvt. Ltd. </FONT></a>')
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 diwalirightbanner()
{

document.write('<TABLE bgcolor="#4A4AFF" WIDTH="150" style="border-left:solid 1 #4A4AFF;"><TR><TD ALIGN="MIDDLE"><A HREF="http://www.dgreetings.com/send-diwali-gifts/index.html"><font size=4 color=white face=arial><b><u>Send Online Diwali Gifts </u></b></font></A></TD></TR></TABLE>	<table border="0" bgcolor="#F4F4FF" cellspacing="0" cellpadding="0"  width="150" height="100%" style="border-left:solid 1 #4A4AFF;border-bottom:solid 1 #4A4AFF;border-right:solid 1 #4A4AFF;"><tr><td valign=top style="padding-top:1px"><table cellspacing="0" cellpadding="0" BORDER="0"><tr><td  align=center valign=top style="padding-top:6px" colspan="2"></td></tr>	<tr><td height="2"></td></tr>		<tr WIDTH="107"><td  align=center style="padding-top:6px,padding-left:0px"><BR><FONT style="font-SIZE=11px" face=arial COLOR="#0005E1"><B>Soan Papdi Haldiram Sweet </B></font><BR><a href="http://www.dgreetings.com/send-diwali-gifts/TDW0003HLDSP.html">  <IMG SRC="http://www.dgreetings.com/newimages/gift/soan-papdi_new.gif" WIDTH="107" HEIGHT="81" BORDER="1" ALT="Haldiram\'s Soan Papdi " style="border-color:#0006FB"></a><div style="padding-top:6px"><FONT style="font-SIZE=10px" face=verdana COLOR="black"><b>Price&nbsp;:</b>&nbsp;<b>Rs &nbsp;&nbsp;175<BR>&nbsp;&nbsp; </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>US$ 3.85</b></div></td></tr>		<tr><td  height=18 style="padding-bottom:0px;padding-top:7px" align="center">&nbsp;<a href="http://www.dgreetings.com/send-diwali-gifts/TDW0003HLDSP.html"><IMG SRC="http://www.dgreetings.com/newimages/rakhi-gifts/buy-now.gif" WIDTH="65" HEIGHT="24" BORDER="0" ALT=""></a></td></tr>		<tr><td  height=18 style="padding-bottom:7px" align="center">&nbsp;<font style="{font-size:10px;}" color=navy face=arial>[Shipping Free Within India]<div align="right"><A HREF="http://www.dgreetings.com/send-diwali-gifts/index.html"><font color="blue" face="verdana">More Gifts..</font></A></div></font></a></td></tr>	<tr><td align="center" height="1" bgcolor="#4A4AFF"></td></tr><tr><td  align=center><FONT style="font-SIZE=11px" face=arial COLOR="#0005E1"><B><BR>Ferro Rocher 16  Chocolate </B><BR></font><a href="http://www.dgreetings.com/send-diwali-gifts/TDCH0007FRT16.html"><img src="http://www.dgreetings.com/newhome/gifts/ferrorochocolatenew.gif" width="107" height="81" border=1 alt="Ferro Roscher 16  Chocolate" style="border-color:#0006FB"></a><div style="padding-top:6px"><FONT style="font-SIZE=10px" face=verdana COLOR="black"><b>Price : Rs&nbsp;&nbsp;  325 <BR>   </b>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>US$  6.95</b></div></td></tr>  <tr><td  height=18 style="padding-bottom:0px;padding-top:7px" align="center">&nbsp;<a href="http://www.dgreetings.com/send-diwali-gifts/TDCH0007FRT16.html"><img SRC="http://www.dgreetings.com/newimages/rakhi-gifts/buy-now.gif" WIDTH="65" HEIGHT="24" BORDER="0" ALT=""></a></td></tr><tr><td  height=18 style="padding-bottom:7px" align="center">&nbsp;<font style="{font-size:9px;}" color=navy face=arial>[Shipping Free Within India]<div align="right"><A HREF="http://www.dgreetings.com/send-diwali-gifts/index.html"><font color="blue" face="verdana">More Gifts..</font></A></div></font></a></td></tr>			<tr><td height=5></td></tr><tr><td align="center" height="1" bgcolor="#4A4AFF" nowrap></td></tr>	<tr><td  align=center  style="padding-top:6px"><FONT style="font-SIZE=11px" face=arial COLOR="#0005E1"><B>Haldiram Sweets</B></font><BR><a href="http://www.dgreetings.com/send-diwali-gifts/TDSW0001HLDRS.html"><IMG SRC="http://www.dgreetings.com/newimages/rakhi-gifts/VRG245.jpg" WIDTH="107" HEIGHT="81" BORDER="1" ALT="Send Haldiram  Rasgulla " style="border-color:#0006FB"></a><div style="padding-top:6px"><FONT style="font-SIZE=10px" face=verdana COLOR="black"><b>Price :</b>&nbsp;<b>Rs &nbsp;&nbsp;&nbsp;&nbsp;195<BR></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>US$ &nbsp;&nbsp;4.25</b></div></td></tr>		<tr><td  height=18 style="padding-bottom:0px;padding-top:7px" align="center">&nbsp;<a href="http://www.dgreetings.com/send-diwali-gifts/TDSW0001HLDRS.html"><img SRC="http://www.dgreetings.com/newimages/rakhi-gifts/buy-now.gif" WIDTH="65" HEIGHT="24" BORDER="0" ALT=""></a></td></tr>		<tr WIDTH="107"><td  height=18 style="padding-bottom:7px" align="center" ><font style="{font-size:9px;}" color=navy face=arial>[Shipping Free Within India]<div align="right"><A HREF="http://www.dgreetings.com/send-diwali-gifts/index.html"><font color="blue" face="verdana">More Gifts..</font></A></div></font></form></td></tr>			<tr><td height=1></td></form></tr><tr><td align="center" height="1" bgcolor="#4A4AFF" nowrap></td></tr>	<tr WIDTH="107"><td  align=center style="padding-top:6px,padding-left:0px"><BR><FONT style="font-SIZE=11px" face=arial COLOR="#0005E1"><B>Diwali ke Tohafe Combo</B></font><BR><a href="http://www.dgreetings.com/send-diwali-gifts/Combo0005.html"> <IMG SRC="http://www.dgreetings.com/newimages/gift/Combo0005_new.jpg" WIDTH="107" HEIGHT="81" BORDER="1" ALT="This corporate gift combo is truly a recipient delight. The Parker Vector pen has a steel gold plated clip and employs Instaflo technology. The sumptuous Ferro Rocher chocolates will keep the tastebuds of the recipient satiated while the wooden carved box will be perfect for storing precious trinkets and jewelry pieces. And last but not the least the beautiful blue colored hand painted clay flower vase is ideal to keep at the home entrance to welcome all your near and dear ones. Order now and add that warm touch to your personal and professional relationships this Diwali. " style="border-color:#0006FB"></a><div style="padding-top:6px"><FONT style="font-SIZE=10px" face=verdana  COLOR="black"><b>Price&nbsp;:</b>&nbsp;<b>Rs &nbsp;&nbsp;885 <BR>&nbsp;&nbsp; </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>US$ 19.25</b></div></td></tr>		<tr><td  height=18 style="padding-bottom:0px;padding-top:7px" align="center">&nbsp;<a href="http://www.dgreetings.com/send-diwali-gifts/Combo0005.html"><IMG SRC="http://www.dgreetings.com/newimages/rakhi-gifts/buy-now.gif" WIDTH="65" HEIGHT="24" BORDER="0" ALT=""></a></td></tr>		<tr><td  height=18 style="padding-bottom:7px" align="center">&nbsp;<font style="{font-size:10px;}" color=navy face=arial>[Shipping Free Within India]<div align="right"><A HREF="http://www.dgreetings.com/send-diwali-gifts/index.html"><font color="blue" face="verdana">More Gifts..</font></A></div></font></a></td></tr>			<tr><td align="center" height="1" bgcolor="#4A4AFF" nowrap></td></tr><tr><td height=5></td></tr><tr><td height=5></td></tr>  <tr><td   align=center></td></tr>  		        </table></TD></TR>	  	   <tr valign="top"><td valign="top"><hr color=#4A4AFF width=100%>	              </table>  ');



}

function bannerani()
{

document.write('<center><table border=0  cellspacing=1 cellpadding=1 width=100% align=left bgcolor=#FF4FA7><tr><td align="center" colspan="3" bgcolor="FFFFFF">');
banners();
//newagent();
document.write('</td></tr></table></center>');

}

function bannerani1()
{

var msg="Dgreetings.com: Select from the choicest collection of Budhajayanti Cards, Mothers Day Cards 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('<BR>');
}



function leftcurrentfestivals(){

var num1=Math.round((Math.random())*4)

limg= new Array()

limg[0]='<A HREF="http://www.dgreetings.com/sendgifts/index.html"><img src= "http://www.dgreetings.com/newimages/banners/gifts1.gif" width="192" height="44" border="0" alt="Send Gifts"></A>'

limg[1]='<A HREF="http://www.dgreetings.com/sendgifts/index.html"><img src= "http://www.dgreetings.com/newimages/banners/gifts1.gif" width="192" height="44" border="0" alt="Send Gifts"></A>'

limg[2]='<A HREF="http://www.dgreetings.com/sendgifts/index.html"><img src= "http://www.dgreetings.com/newimages/banners/gifts1.gif" width="192" height="44" border="0" alt="Send Gifts"></A>'

limg[3]='<A HREF="http://www.dgreetings.com/sendgifts/index.html"><img src= "http://www.dgreetings.com/newimages/banners/gifts1.gif" width="192" height="44" border="0" alt="Send Gifts"></A>'

limg[4]='<A HREF="http://www.dgreetings.com/sendgifts/index.html"><img src= "http://www.dgreetings.com/newimages/banners/gifts1.gif" width="192" height="44" border="0" alt="Send Gifts"></A>'

document.write(limg[num1]);

}

function rightcurrentfestivals(){
var num2=Math.round((Math.random())*4)
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=1></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=1></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=1 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=1 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*****


bannerArray = new Array('')


/*
bannerArray = new Array('<a href="http://goa.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/goa.jpg" width="468" height="60" border="0" alt="Goa - India at its best"></a>','<a href="http://hill-resorts.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/hill-resort1.jpg" width="468" height="60" border="0" alt="Hill Resort - India at its best"></a>','<a href="http://palaceonwheels.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/palace-on-wheel1.jpg" width="468" height="60" border="0" alt="Palace on Wheels - India at its best"></a>','<a href="http://kerala.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/kerala2.jpg" width="468" height="60" border="0" alt="Kerala - India at its best"></a>','<a href="http://palaceonwheels.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/palace-on-wheel1.jpg" width="468" height="60" border="0" alt="Palace on Wheels - India at its best"></a>','<a href="http://leh-ladakh.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/ladakh.jpg" width="468" height="60" border="0" alt="Ladakh - India at its best"></a>','<a href="http://palaceonwheels.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/palace-on-wheel1.jpg" width="468" height="60" border="0" alt="Palace on Wheels - India at its best"></a>','<a href="http://taj-mahal.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/taj.jpg" width="468" height="60" border="0" alt="Taj Mahal - India at its best"></a>','<a href="http://taj-mahal.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/taj.jpg" width="468" height="60" border="0" alt="Taj Mahal - India at its best"></a>','<a href="http://wildlife-india.indianvisit.com" target="_blank"><img src="http://www.diwaliutsav.com/images/iv-banner/wildlife1.jpg" width="468" height="60" border="0" alt="Wildlife - India at its best"></a>')
*/

function insertAd2() {
 adIX = Math.round(Math.random()*(bannerArray.length-1))
 document.write(bannerArray[adIX])
}



function display1(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="../newimages/events&hodys2.gif" width=150 height=33 border=0 alt="">');


}
ads1 = new Array('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=christmas D1 WIDTH=468 HEIGHT=110> <PARAM NAME=movie VALUE="http://www.diwaliutsav.com/images/Movie3.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#682C40> <EMBED src="http://www.diwaliutsav.com/images/Movie3.swf" quality=high bgcolor=#682C40  WIDTH=468 HEIGHT=110 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>')


function insertAdCarbon() {
 adIX = Math.round(Math.random()*(ads1.length-1));
 document.write(ads1[adIX]);
}

 

function oldbanners()
{

document.write('<table  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=500><td width=100 align="center"><a href="http://www.dgreetings.com/support_cards/exam_fever/index.html"><img src="http://www.dgreetings.com/newimages/examfever/efani10t.gif" width="70" height="70" border="1" alt=" Send Exam Cards"></a></td><td width=100 align="center"><a href="http://www.dgreetings.com/womensday/index.html"><img src="http://www.dgreetings.com/newimages/homegif/womensdayp2t.gif" alt="Send Womens Day Cards" width=70 height=70></a></td><td width=100 align="center"><a href="http://www.dgreetings.com/nosmoking/index.html"><img src="http://www.dgreetings.com/newimages/homegif/smokinghp.gif" alt="Send No Smoking Day Cards" width=70 height=70></a></td><td width=120 align="center"><a href="http://www.dgreetings.com/navreh/index.html"><img src="http://www.dgreetings.com/newimages/homegif/navrehhp.gif" width="70" height="70" border="1" alt="Navreh Cards"></A></td><td width=100 align="center"><a href="http://www.dgreetings.com/vishu/index.html"><img src="http://www.dgreetings.com/newimages/vishu/vis5t.gif" alt="Send Vishu Cards" width=70 height=70></a></td></tr><tr><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Exam Card</font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Womens Day Card</font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">No Smoking Day Cards</font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Navreh cards</font></td><td width=20% align="center"><font size="2" color="#ff33cc" face="Comic Sans MS">Vishu 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>')

}

function banners()
{

		insertAd2(); //for banner straight
		
		//Cards table
document.write('<table width="350" bgcolor="FFFFFF"><tr><td colspan="4" align="center"><font color="navy" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>Send  Quick Cards</b></font></td></tr><tr><td  align=center><a href="http://www.dgreetings.com/horoscope/scorpio-birthday-flash-card1.htm"><img src="http://www.dgreetings.com/newimages/birthday/scorpio-birthday-flash-card1t.gif" width="70" height="70" alt="Birthday card" border="1" style="border-color:blue"><br><font color="navy" size="1" face=verdana>Scorpio Birthday </font></a></td><td  align=center style="padding-left:10px" width="85"><a href="http://www.dgreetings.com/diwali/diwali-flash-cards1.htm"><img src="http://www.dgreetings.com/newimages/diwali/diwali-flash-cards1t.gif" width="70" height="70" alt="Diwali  eCards" border="1" style="border-color:#F8D048"><br><font color="navy" size="1" face=verdana>Diwali Greeting Cards </font></a></td><td align=center style="padding-left:10px"><a href="http://www.dgreetings.com/diwali/diwali-flash-cards3.htm" target="_blank"><img src="http://www.dgreetings.com/newimages/diwali/diwali-flash-cards3t.gif" width="70" height="70" alt="Diwali Flash  eCards " border="1" style="border-color:navy"><br><font color="navy" size="1" face=verdana>Diwali Greeting </font></a></td><td  align=center></td><td align=center width="70"><a href="http://www.dgreetings.com/diwali/diwali-flash-cards4.htm" target="_blank"><img src="http://www.dgreetings.com/newimages/diwali/diwali-flash-cards5t.gif" width="70" height="70" alt="Diwali Greeting Cards " border="1" style="border-color:#FFDC00"><br><font color="navy" size="1" face=verdana>Diwali Greetings</font></a></td></tr><tr></table>')
//india at its best
}


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=1 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=1 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=1 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=1 alt="Bestbuydubai.com"></a>';



document.write('<table><tr><td align="left">')
document.write(rimg[num1])
document.write('</td></tr></table>')
}



function smile1(){

var cookiestring=document.cookie;

if(cookiestring==""){
 open("http://www.dgreetings.com/linknewdiwali.html","win","menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=no,width=350,height=350,resizable=no,alwaysRaised=no,left=0,top=0")
document.cookie="flag=true";
}
}
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>');
}