
/*script for GREETINGSnGIFTS made by Er. Pradeep kr. */



/****************************************FUNCTION FOR DATE**************************************/

function date()
{
var mydate=new Date()
				var year=mydate.getYear()
				if (year < 1000)
				year+=1900
				var day=mydate.getDay()
				var month=mydate.getMonth()
				var daym=mydate.getDate()
				if (daym<10)
				daym="0"+daym
				var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
				var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
				document.write("<small>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</small>")
}

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



/************************FUNCTION FOR SEARCH FORM*************************************/


function search_enquiryform()
{
	
	docf=document.getElementById("frm");
	
	if(docf.search.value=='')
	{
		alert("Please enter the keyword");
		docf.search.focus();
		return false;
	}
	

	 return validate_form(docf);
	
}



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


/******************************FUNCTION FOR MAIN FLASH***********************************************/

function mainflash()
{

document.write('<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 height="219" width="598">');
document.write('<param name="Movie" value="main-flash.swf">');
document.write('<param name="Src" value="main-flash.swf">');
document.write('<param name="WMode" value="Transparent">');
document.write('<param name="Quality" value="High">');
document.write('<param name="Menu" value="0">');
document.write('<param name="Scale" value="NoBorder">');
document.write('<param name="ProfilePort" value="0">');
document.write('<embed src="main-flash.swf" menu="false" quality="best"  wmode="transparent" bgcolor="#000000" WIDTH="598" HEIGHT="219" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.write('</OBJECT>');
}


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

/***********************************FUNCTION FOR TOPHEADER****************************/

function topheader()
{
 document.write('<div align="center">');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="300">');
 document.write('<tr>');
 document.write('<td width="72" align="center" class="toplinks"></td>');
 document.write('<td width="46" align="center"><a href="index.html" class="toplinks">Home</a></td>');
 document.write('<td width="1" align="center" class="toplinks">|</td>');
 document.write('<td width="101" align="center"><a href="gifts-greetings.html" class="toplinks">Gifts & Greetings</a></td>');
 document.write('<td width="1" align="center" class="toplinks">|</td>');
 document.write('<td width="68" align="center"><a href="contact-us.html" class="toplinks">Contact Us</a></td>');
 document.write('<td width="10" align="center" class="toplinks"></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</div>');
        
}


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


/***********************************FUNCTION FOR TOPHEADER FOR Internal Pages****************************/

function inttopheader()
{
 document.write('<div align="center">');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="300">');
 document.write('<tr>');
 document.write('<td width="72" align="center" class="toplinks"></td>');
 document.write('<td width="46" align="center"><a href="../index.html" class="toplinks">Home</a></td>');
 document.write('<td width="1" align="center" class="toplinks">|</td>');
 document.write('<td width="101" align="center"><a href="../gifts-greetings.html" class="toplinks">Gifts & Greetings</a></td>');
 document.write('<td width="1" align="center" class="toplinks">|</td>');
 document.write('<td width="68" align="center"><a href="../contact-us.html" class="toplinks">Contact Us</a></td>');
 document.write('<td width="10" align="center" class="toplinks"></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</div>');
        
}

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



/*********************************FUNCTION FOR FOOTER******************************************************/

function footer()
{
 document.write('<div align="center">');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="450">');
 document.write('<tr>');
 document.write('<td width="10" align="center" class="footer"></td>');
 document.write('<td width="48" align="center"><a href="index.html" class="footer">Home</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="101" align="center"><a href="#.html" class="footer">Gifts & Greetings</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="64" align="center"><a href="feedback.html" class="footer">Feedback</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="89" align="center"><a href="links.html" class="footer">Link Exchange</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="69" align="center" ><a href="contact-us.html" class="footer">Contact Us</a></td>');
 document.write('<td width="65" align="center"></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</div>');
}

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


/*********************************FUNCTION FOR FOOTER FOR INTERNAL************************************/

function intfooter()
{
 document.write('<div align="center">');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="450">');
 document.write('<tr>');
 document.write('<td width="10" align="center" class="footer"></td>');
 document.write('<td width="48" align="center"><a href="../index.html" class="footer">Home</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="101" align="center"><a href="#.html" class="footer">Gifts & Greetings</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="64" align="center"><a href="../feedback.html" class="footer">Feedback</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="89" align="center"><a href="../links.html" class="footer">Link Exchange</a></td>');
 document.write('<td width="1" align="center" class="footer">|</td>');
 document.write('<td width="69" align="center" ><a href="../contact-us.html" class="footer">Contact Us</a></td>');
 document.write('<td width="64" align="center"></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</div>');
}

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


/***********************************FUNCTION FOR TOP GREETING CARDS***********************/

function topgreetingcards()
{
document.write('<div align="center">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="196" bgcolor="#EE667C">');
document.write('<tr>');
document.write('<td width="196"  bgcolor="#E05B70"><h1>Top Greeting Card</h1></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" height="4"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196">');
document.write('<table border="0" cellpadding="2" cellspacing="1" width="196">');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="birthday-cards/index.html" class="topgreeting">Birthday Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="wedding-anniversary-cards/index.html" class="topgreeting">Anniversary Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="friendship-cards/index.html" class="topgreeting">Friendship Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="topgreeting">Good Morning Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="topgreeting">Congratulation Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="thank-u-cards/index.html" class="topgreeting">Thank You Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="missing-you-cards/index.html" class="topgreeting">Miss You Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="love-you-cards/index.html" class="topgreeting">Love and Romance Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="topgreeting">Encouragement Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="wedding-anniversary-cards/index.html" class="topgreeting">Wedding Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="topgreeting">Invitation Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="custmaize-cards/index.html" class="topgreeting">Custmize Your Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;" align="right">&nbsp; <a href="#.html" class="more">More Cards..</a>&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;" align="right" height="5"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
        
}

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



/***********************************FUNCTION FOR TOP GREETING CARDS for internal pages***********************/

function topgreetingcards1()
{
document.write('<div align="center">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="196" bgcolor="#EE667C">');
document.write('<tr>');
document.write('<td width="196"  bgcolor="#E05B70"><h1>Top Greeting Card</h1></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" height="4"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196">');
document.write('<table border="0" cellpadding="2" cellspacing="1" width="196">');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../birthday-cards/index.html" class="topgreeting">Birthday Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../wedding-anniversary-cards/index.html" class="topgreeting">Anniversary');
document.write(' E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../friendship-cards/index.html" class="topgreeting">Friendship Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a class="topgreeting" href="../thank-u-cards/index.html">Thank You Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../missing-you-cards/index.html" class="topgreeting">Miss You Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../love-you-cards/index.html" class="topgreeting">Love and Romance');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../wedding-anniversary-cards/index.html" class="topgreeting">Wedding Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="topgreeting">Invitation Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="topgreeting">Good Morning');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="topgreeting">Congratulation Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="topgreeting">Encouragement Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;<a href="../custmaize-cards/index.html" class="topgreeting">Customize Your Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;" align="right">&nbsp;');
document.write('<a href="#.html" class="more">More Cards..</a>&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="topgreeting" style="padding-left:15px;" align="right" height="5"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');

        
}

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





/*********************************FUNCTION FOR OCASSION GREETING CARDS***********************************/


function ocassioncards()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" width="196">');
document.write('<tr>');
document.write('<td width="196"><a href="love-you-cards/index.html"><img border="0" src="images/love_card_banner.jpg" alt="Love Cards" width="196" height="95"></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" height="5"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#8E9BC7"><h1>Greetings by Occasions</h1></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#A3B0DA" height="5"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#A3B0DA">');
document.write('<table border="0" cellpadding="2" cellspacing="1" width="196">');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="wedding-anniversary-cards/index.html" class="ocassioncard">Anniversary</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="new-year-cards/index.html" class="ocassioncard">New Year</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="lohri-cards/index.html" class="ocassioncard">Lohri</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Pongal</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="makar-sankranti-cards/index.html" class="ocassioncard">Makar Sankranti</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="republicday-cards/index.html" class="ocassioncard">Republic Day</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Basant Panchami</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="christmas-cards/index.html" class="ocassioncard">Christmas-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Shiv Ratri</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="eid-cards/index.html" class="ocassioncard">Eid-Ul-Milad</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="holi-cards/index.html" class="ocassioncard">Holi</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Independence Day</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Raksha Bandhan</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Ramadan</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Ganesh Chaturthi</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Teachers Day</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Inspirational Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">In Remembrance</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="durga-puja-cards/index.html" class="ocassioncard">Durga puja</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="dussehra-cards/index.html" class="ocassioncard">Dussehra</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="diwali-cards/index.html" class="ocassioncard">Diwali</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Halloween Day</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="love-you-cards/index.html" class="ocassioncard">Love &amp; Romance</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Cute Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Good-Bye / Good Luck</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="friendship-cards/index.html" class="ocassioncard">Friendship Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="get-well-soon-cards/index.html" class="ocassioncard">Get Well Soon</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="love-you-cards/index.html" class="ocassioncard">Love &amp; Dating</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp; <a href="under-construction.html" class="ocassioncard">Stay in Touch</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" height="25"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

}

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


/*********************************FUNCTION FOR OCASSION GREETING CARDS For Internal Pages***********************************/


function ocassioncards1()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" width="196">');
document.write('<tr>');
document.write('<td width="196"><a href="../love-you-cards/index.html"><img border="0" src="../images/love_card_banner.jpg" alt="Love Cards" width="196" height="95"></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" height="5"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#8E9BC7"><h1>Greetings by Occasions</h1></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#A3B0DA" height="5"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" bgcolor="#A3B0DA">');
document.write('<table border="0" cellpadding="2" cellspacing="1" width="196">');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../wedding-anniversary-cards/index.html" class="ocassioncard">Anniversary');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../new-year-cards/index.html" class="ocassioncard">New Year Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../lohri-cards/index.html" class="ocassioncard">Lohri Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../makar-sankranti-cards/index.html" class="ocassioncard">Makar Sankranti Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../republicday-cards/index.html" class="ocassioncard">Republic Day Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../christmas-cards/index.html" class="ocassioncard">Christmas Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../eid-cards/index.html" class="ocassioncard">Eid-Ul-Milad Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../holi-cards/index.html" class="ocassioncard">Holi Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../durga-puja-cards/index.html" class="ocassioncard">Durga');
document.write('Puja Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../dussehra-cards/index.html" class="ocassioncard">Dussehra Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../diwali-cards/index.html" class="ocassioncard">Diwali');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../love-you-cards/index.html" class="ocassioncard">Love &amp; Romance Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../friendship-cards/index.html" class="ocassioncard">Friendship Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../get-well-soon-cards/index.html" class="ocassioncard">Get Well Soon');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../love-you-cards/index.html" class="ocassioncard">Love &amp; Dating Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Pongal Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Basant Panchami Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Shiv Ratri Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Independence Day Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Raksha Bandhan Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Ramadan Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Ganesh Chaturthi');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Teachers Day Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">');
document.write('Inspirational E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">In Remembrance Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Halloween Day');
document.write('E-Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">');
document.write('Cute Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Good-Bye/Good Luck Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" style="padding-left:15px;"><img border="0" src="../images/arrow.gif" width="4" height="5" alt="Arrow">&nbsp;');
document.write('<a href="../under-construction.html" class="ocassioncard">Stay in Touch Cards</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="196" class="ocassioncard" height="25"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');



}

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


//function for websites projects1.......

function bdaycards()
{
 document.write('<div align="center">');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="20"  style=\'{border:1px solid #D8DDD7; }\'>');
 document.write('<tr>');
 document.write('<td width="100%" align="center" bgColor="#BFC7BC" class="portfolio3">1</td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</div>');
 document.write('</td>');
 document.write('<td width="3"></td>');
 document.write('<td width="20" align="center">');
 document.write('<div align="center">');
 document.write('<center>');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="20"  style=\'{border:1px solid #D8DDD7; }\'>');
 document.write('<tr onmouseover=this.bgColor="#BFC7BC" onmouseout=this.bgColor="">');
 document.write('<td width="100%" align="center"><a href="../#.html" class="portfolio1"  target="webproject">2</a></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</center>');
 document.write('</div>');
 document.write('</td>');
 document.write('<td width="3"></td>');
 document.write('<td width="20" align="center">');
 document.write('<div align="center">');
 document.write('<center>');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="20"  style=\'{border:1px solid #D8DDD7; }\'>');
 document.write('<tr onmouseover=this.bgColor="#BFC7BC" onmouseout=this.bgColor="">');
 document.write('<td width="100%" align="center"><a href="../#.html" class="portfolio1"  target="webproject">3</a></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</center>');
 document.write('</div>');
 document.write('</td>');
 document.write('<td width="3"></td>');
 document.write('<td width="20" align="center">');
 document.write('<div align="center">');
 document.write('<center>');
 document.write('<table border="0" cellpadding="0" cellspacing="0" width="20"  style=\'{border:1px solid #D8DDD7; }\'>');
 document.write('<tr onmouseover=this.bgColor="#BFC7BC" onmouseout=this.bgColor="">');
 document.write('<td width="100%" align="center"><a href="../#.html" class="portfolio1"  target="webproject">4</a></td>');
 document.write('</tr>');
 document.write('</table>');
 document.write('</center>');
 document.write('</div>');
}

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



function rightbanner()
{
 document.write('<td><a href="../valentine-day/index.html"><img border="0" src="../images/valentine_banner.jpg" width="182" height="219" alt="New Year Cards"></a></td>');
}


function rightbanner1()
{
 document.write('<td><a href="valentine-day/index.html"><img border="0" src="images/valentine_banner.jpg" width="182" height="219" alt="New Year Cards"></a></td>');
}


/***********************FUNCTION FOR CONTACT US FORM****************************/


//function for enquiry form.........

function check_enquiryform()
{
	
	docf=document.getElementById("frm1");
	
	if(docf.name.value=='')
	{
		alert("Please enter your Name");
		docf.name.focus();
		return false;
	}
	
	if(docf.city.value=='null')
	{
		alert("Please enter City Name");
		docf.city.focus();
		return false;
	}
	if(docf.country.value=='Select a country')
	{
		alert("Please enter Country Name");
		docf.country.focus();
		return false;
	}
	if(docf.email.value=='')
	{
		alert("Please enter your Email ID");
		docf.email.focus();
		return false;
	}

	if(docf.phone.value=='')
	{
		alert("Please enter your Phone");
		docf.phone.focus();
		return false;
	}

if(docf.code_field.value=='')
	{
		alert("Please enter the Code above in Figure");
		docf.code_field.focus();
		return false;
	}


	 return validate_form(docf);
	
}

function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(email,"Not a valid e-mail address!")==false)
  		{
  			email.focus();
  			return false;
  		}
	}
	
}

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

/******************FUNCTION FOR FEEDBACK FORM***************************/


function check_feedbackform()
{
	
	docf=document.getElementById("frm3");
	
	if(docf.name.value=='')
	{
		alert("Please enter your Name");
		docf.name.focus();
		return false;
	}
	
	if(docf.email.value=='')
	{
		alert("Please enter your Email ID");
		docf.email.focus();
		return false;
	}

	if(docf.city.value=='null')
	{
		alert("Please enter City Name");
		docf.city.focus();
		return false;
	}
	if(docf.country.value=='Select a country')
	{
		alert("Please enter Country Name");
		docf.country.focus();
		return false;
	}
	
	if(docf.sitelayout.value=='')
	{
		alert("Please enter Rating Factor");
		docf.sitelayout.focus();
		return false;
	}

  if(docf.loadtime.value=='')
	{
		alert("Please enter Rating Factor");
		docf.loadtime.focus();
		return false;
	}
	if(docf.sectionhead.value=='')
	{
		alert("Please enter Rating Factor");
		docf.sectionhead.focus();
		return false;
	}
	if(docf.userfriendly.value=='')
	{
		alert("Please enter Rating Factor");
		docf.userfriendly.focus();
		return false;
	}
	if(docf.phone.value=='')
	{
		alert("Please enter your Phone");
		docf.phone.focus();
		return false;
	}
if(docf.comments.value=='')
	{
		alert("Please enter your Comments");
		docf.comments.focus();
		return false;
	}

	if(docf.reply.value=='')
	{
		alert("Please enter Would you like to receive reply?");
		docf.reply.focus();
		return false;
	}


if(docf.code_field.value=='')
	{
		alert("Please enter the Code above in Figure");
		docf.code_field.focus();
		return false;
	}


	 return validate_form(docf);
	
}

function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(email,"Not a valid e-mail address!")==false)
  		{
  			email.focus();
  			return false;
  		}
	}
	
}



/*************function for send card**********************/


function checksendcards()
{
	
	docf=document.getElementById("pForm");
	
	if(docf.sname.value=="")
	{
	alert("Plese enter your name !");
	docf.sname.focus();
	return false;
	}
	
	if(docf.semail.value=="")
	{
	alert("Plese enter your email !");
	docf.semail.focus();
	return false;
	}

	if(docf.rname1.value=="")
	{
	alert("Plese enter your name !");
	docf.rname1.focus();
	return false;
	}
	
if(docf.remail1.value=="")
	{
	alert("Plese enter your email !");
	docf.remail1.focus();
	return false;
	}

	 return validate_form(docf);
	
}

function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(semail,"Not a valid e-mail address!")==false)
  		{
  			semail.focus();
  			return false;
  		}
	}
	
}


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

/*********************function for thanks page********************************/

function internalheader()
{
document.write('<div align="center">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('<tr>');
document.write('<td width="100%" valign="top"><p align="center"><b><i><font face="Arial" size="3" color="#FF7A2B">Free eCards for all occasion</font></i></b></td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');

}
///////////////////////////

function form_check()
{
	
	docf=document.frm;
	if(docf.date_to.value=='')
	{
		alert("Please enter the Date to !!");
		docf.date_to.focus();
		return false;
	}
		
	if(docf.date_from.value=='')
	{
		alert("Please enter the Date from !!");
		docf.date_from.focus();
		return false;
	}
	return validate_form(docf);
	
}

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


function checkcat()
{
	
	docf=document.frm;
	if(docf.cat.value=='')
	{
		alert("Please enter the Category Name!!");
		docf.cat.focus();
		return false;
	}
		
	if(docf.key.value=='')
	{
		alert("Please enter the Keyword !!");
		docf.key.focus();
		return false;
	}

	if(docf.details.value=='')
	{
		alert("Please enter the Description !!");
		docf.details.focus();
		return false;
	}
	return validate_form(docf);
	
}


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

/*****************Function for orkut links**************/

function copylink(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
therange=tempval.createTextRange()
therange.execCommand("Copy")
} 



//function for advertise form.........

function check_advertiseform()
{
	
	docf=document.getElementById("frm1");
	

	if(docf.company.value=='')
	{
		alert("Please enter Company name");
		docf.company.focus();
		return false;
	}
if(docf.firstname.value=='')
	{
		alert("Please enter your First Name");
		docf.firstname.focus();
		return false;
	}


	if(docf.name.value=='')
	{
		alert("Please enter your Name");
		docf.name.focus();
		return false;
	}
	
	if(docf.city.value=='null')
	{
		alert("Please enter City Name");
		docf.city.focus();
		return false;
	}
	if(docf.country.value=='Select a country')
	{
		alert("Please enter Country Name");
		docf.country.focus();
		return false;
	}
	if(docf.email.value=='')
	{
		alert("Please enter your Email ID");
		docf.email.focus();
		return false;
	}

	if(docf.phone.value=='')
	{
		alert("Please enter your Phone");
		docf.phone.focus();
		return false;
	}

if(docf.code_field.value=='')
	{
		alert("Please enter the Code above in Figure");
		docf.code_field.focus();
		return false;
	}


	 return validate_form(docf);
	
}

function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(email,"Not a valid e-mail address!")==false)
  		{
  			email.focus();
  			return false;
  		}
	}
	
}

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

