//var lastUpdatedOn="Thursday, 4th December 2003";
var shippmentStatement="";


///////////////////////////		header function		////////////////////////////////
function header(path){
if (path==null)path="../";

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%"><!-- HEADER ROW 1 --><TR><TD BGCOLOR="#FFC000" COLSPAN=2 VALIGN=TOP><IMG SRC="'+path+'images03/theeidtop.jpg" width="367" height="63" align=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size=4 color=black face=arial><i>Successfully Celebrating 6th Year of Eid-e-Milad</i></font></TD></TR><!-- HEADER ROW 2 --><TR>	<TD  VALIGN=TOP BGCOLOR="#FFC000" style="{border-right: 1 solid #006400;}"><IMG SRC="'+path+'images03/theeidbottom.jpg" width="177" height="104"></TD>	<TD VALIGN=TOP style="{border-top: 1 solid #006400;}">		<TABLE CELLPADDING=2 CELLSPACING=0 BORDER=1 bordercolor="#FFA224" WIDTH="100%">			<TR><TD ALIGN=CENTER bgcolor="#FF9000" VALIGN=MIDDLE>				<TABLE BORDER=0 WIDTH="100%">					<TR><TD VALIGN=TOP><A HREF="'+path+'abouteid/index.html" CLASS=TOPLINKS>About Eid</A> | <A HREF="'+path+'card/index.html" CLASS=TOPLINKS>Eid Cards</A> | <A HREF="http://www.wallpapers.dgreetings.com/eid/index.html" CLASS=TOPLINKS>Eid Wallpapers</A> </TD>					<TD VALIGN=MIDDLE ALIGN=RIGHT><A HREF="'+path+'cart/inr/viewCart.html" CLASS=TOPLINKS><IMG SRC="'+path+'images03/viewcartrs.jpg" border=0 width="117" height="20"></A>  <A HREF="'+path+'cart/usd/viewCart.html" CLASS=TOPLINKS><IMG SRC="'+path+'images03/viewcartusd.jpg" border=0 width="117" height="20"></A><A HREF="'+path+'index.html" CLASS=TOPLINKS><IMG SRC="'+path+'images03/home.jpg" border=0 width="60" height="20"></A></TD> 				</TR>				</TABLE>		</TD></TR>			<TR><TD>						<TABLE BORDER=0 WIDTH="100%" cellspacing=0 cellpadding=0>							<tr>								<td width="100%" valign="top">											<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" ALIGN=LEFT >												<!-- <tr height="20"><td colspan="4" align="center">												 <img src="images/brandlogo.jpg" border=0 width="443" height="45">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.diwaligiftstore.com/index.html" target="_blank"><img src="images/multiplegifting.gif" width="100" height="45" border=0></a><br>												</td></tr>												<TR HEIGHT=1 BGCOLOR=#687CA8><TD COLSPAN=4></TD></TR> -->												<TR HEIGHT="10" bgcolor="#ffffff"><TD COLSPAN="3" align="center">												<!-- <IMG SRC="images/EDGS.jpg"> -->												<!-- <A HREF="diwali-gifts/gifts-to-india/index.html">--><font face="verdana" color="#000066" style="font-size:16px">												<b>Thanks for visiting Theeid.com. It has been a pleasure serving you.</b> 			</font>									</TD><td align=center>&nbsp;</td></TR>																<TR bgcolor="#f1f1f2">												<td colspan="4" valign="top" align="left" bgcolor=#ffffff style="{padding-left:20px;}"><font color="#000066"><FONT FACE=WINGDINGS SIZE=2>Ø</FONT> Please visit <a href="http://www.theydeserveit.com" target="_Blank" class="bodylink1"><B>Theydeserveit.com</b></a>, our premium-gift store for all occasions.<BR><font color="#000066"><FONT FACE=WINGDINGS SIZE=2>Ø</FONT> Please visit our <a href="http://www.india-crafts.com" target="_Blank" class="bodylink1"><B>India-crafts.com</b></a> for exclusive, ethnic, ready-to-ship handicraft items.<BR><font color="#000066"><FONT FACE=WINGDINGS SIZE=2>Ø</FONT> Please visit our <a href="http://www.indiamapstore.com" target="_Blank" class="bodylink1"><B>IndiaMapStore.com</b></a>, one of the largest online shops on India maps and travel guides.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>																			</TR></TABLE></td>							   <td align=center valign=top bgcolor="#FFC000"><B>We accept all</B> <BR><img src="'+path+'images03/visamastero.jpg"  width="78" height="23">							   </td>						   </tr>					   </table>			</TD></TR>			<TR>				<TD bgcolor="#FFA224">					<marquee behavior="scroll" width=100% scrollamount="2" scrolldelay="1" direction="left"><font color=white><b>Celebrating 6th successful year of Eid e Milad at TheEid.com. TheEid.com is a part of India\'s largest eCelebration network <a href="http://www.dgreetings.com" class="text1" target="_blank">Dgreetings.com</a>. </b></font></MARQUEE>				</TD>			</TR>		</TABLE>	</TD></TR></TABLE>');
}



///////////////////////////		leftpanel function		////////////////////////////////
function leftpanel(path){
if (path==null)path="../";
document.write('<TABLE CELLPADDING=2 CELLSPACING=2 BORDER=0 WIDTH="177">					<TR><tD bgcolor="#006400"><font class=heading>&raquo; Gift Categories</font></TD></TR>						<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'gifts-to-india/sweets.html" CLASS="LEFTPANELLINKS">Sweets</a></TD></TR>					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'gifts-to-india/dry-fruits-tupperware.html" CLASS="LEFTPANELLINKS">Tupperware - Dry Fruits</a></TD></TR>	<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'gifts-to-india/dry-fruits-handmade.html" CLASS="LEFTPANELLINKS">Craft Boxes - Dry Fruits</a></TD></TR>				<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'gifts-to-india/chocolates-cookies.html" CLASS="LEFTPANELLINKS"> Chocolates and Cookies</a></TD></TR>					<TR height=5><tD></TD></TR>							<TR><tD bgcolor="#006400"><font class=heading>&raquo;  Eid Channels</font></TD></TR>									<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'history/index.html" CLASS="LEFTPANELLINKS">History of Islam</a></TD></TR>					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'abouteid/index.html" CLASS="LEFTPANELLINKS">About Eid</a></TD></TR>				   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'customs/index.html" CLASS="LEFTPANELLINKS">Legends</a></TD></TR>					   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'card/eidemilad.html" CLASS="LEFTPANELLINKS">Greeting Cards</a></TD></TR>			   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="http://www.wallpapers.dgreetings.com/eid/index.html" CLASS="LEFTPANELLINKS">Wallpapers</TD></TR>				   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'cgi-bin/rmessage2.pl?year=2003" CLASS="LEFTPANELLINKS">Eid Messages</TD></TR>	<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'gifts-to-india/eid-gifts.html" CLASS="LEFTPANELLINKS">Eid Gifts</a></TD></TR>			   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'recipes/index.html" CLASS="LEFTPANELLINKS">Dawat</TD></TR>					   					<TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'links/index.html" CLASS="LEFTPANELLINKS">Link to sites</TD></TR><TR><tD><img src="'+path+'images03/bullet.jpg" width=8 height=8> <A HREF="'+path+'forms/suggestform.htm" CLASS="LEFTPANELLINKS">Recommend This Site</TD></TR><map name="map"><area alt="" coords="21,3,124,16" href="announcements" onclick="javascript: return openAnnouncement();";></map><tr><td  valign="top"><img src="'+path+'images03/specialoffer2.gif" width="168" height="19" alt="" border="0" usemap="#map"></td></tr>	<tr height="15"><td BGCOLOR="#006400" align="center"><FONT SIZE=2 face=verdana color="#FFC000"><B>You May Contact</FONT></B><br></TD>											</TR>											<tr  height=100%><td align="center" bgcolor="#FFC000" height=100% valign="top">											<IMG SRC="'+path+'images03/mani.jpg"><br><font color=black face=verdana size=2><B>Mani Singh</B><br>(+91 9810290075)<br>												<A HREF="mailto:mani@infobase.co.in"><B>mani@infobase.co.in</B></A><br>												between 08:00 to 22:00 hrs for orders, shipments or any other clarifications.<!-- <br><b>Now Available 24x7 - Support</b>. --><hr color=gray> <!-- <font size=1>&raquo; Need help for shopping on this site? <B>Chat with us</B> on MSN (diwalimela2003@hotmail.com) or Yahoo (diwalimela2003@yahoo.com)<br><br> You can send a message directly to us by <br><a href="message" onclick="javascript: return openMessage();" style="{color:green;}"><font color=blue>Clicking Here</font></a>	</font>	-->	<b>All shipments are being done from our own Central Warehouse, New Delhi.</b><br><br><font size=1>'+shippmentStatement+'</font><br>								</td></tr>		   </TABLE>');
}


///////////////////////////		rightpanel function		////////////////////////////////
function rightpanel(path){
if (path==null)path="../";
document.write('The rightpanel HTML will come here.');
}



///////////////////////////		footer function		////////////////////////////////
function footer(path){
if (path==null)path="../";
document.write('<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING="0"><TR height=1><TD BGCOLOR="#000000"> </TD></TR><TR HEIGHT=30><TD BGCOLOR="#FF9000" ALIGN=CENTER>  <a href="'+path+'mailinglist/index.html" class=toplinks>Join Mailing List</a> | <a href="'+path+'forms/privacy.htm" class=toplinks>Privacy Statement</a> | <a href="'+path+'forms/surfing.htm" class=toplinks>Surfing Agreement</a> | <a href="'+path+'forms/shipping.htm" class=toplinks>Shipping Policy</a> | <a href="'+path+'forms/disclaimer.htm" class=toplinks>Disclaimer</a> | <a href="mailto:webmaster@theeid.com" class=toplinks>Contact Us</a> </TD></TR><TR height=1><TD BGCOLOR="#000000"> </TD></TR><!-- <TR><TD BGCOLOR="#FFC000" ALIGN=CENTER > LINKS | LINKS </TD></TR> --></TABLE><table width="97%" cellpadding="0" cellspacing="0" border=0 align=center><tr><td valign="top"><center><BR><!-- <p><font face="verdana" style="FONT-SIZE: 12px" color="#090078"><B>All shipments are being done from our own Central Warehouse, New Delhi.</font><br><font face="verdana" style="FONT-SIZE: 12px" color="red">'+shippmentStatement+'</B></font></p> --><div><p align=justify><font face="verdana" style="FONT-SIZE: 11px"><B>Customs duties in the country of destination:</B> In the event that the customs authorities in the customer\'s country of residence, levy any charges on an incoming parcel, these charges are to be borne by the customer, and are not included in the price and shipping charges of the product as displayed on the site. </font><BR><BR></p></div><font size=+1 face=verdana color=black><b>Statement of Confidence</b></font></p><p align="justify"><font size=2 face=verdana color=black>Our payment gateway for your online financial transaction is fully secured with 128-bit encryption facility. Your sensitive financial information is not stored on our server and it is free from any human intervention. The gateway server is assigned a server ID and authenticated by Verisign, one of the leading certifying authorities. It may be noted that Payseal can be adapted to support SET. <br><br><B>TheEid.com</B> is a part of  <a href="http://www.dgreetings.com" class="link"><b>dgreetings.com</b></a> - the organization behind the largest celebration network - <a href="http://www.dgreetings.com" class="link" target=dgreeting><b>Dgreetings.com</b></a> with over two-dozen festival sites on the web. Our network sites generate more than six million user sessions per month and that shows the immense confidence and respect we command in the heart of our users. Over the years, the overwhelming and ever-increasing response to the gift centers at <a href="http://www.123ganeshchaturthi.com" class="link" target=123ganeshchaturthi><b>123ganeshchaturthi.com</b></a>, <a href="http://www.virtualrakhi.com" class="link" target=virtualrakhi><b>VirtualRakhi.com</b></a> and <a href="http://www.diwalimela.com" class="link" target=diwalimela><b>Diwalimela.com</b></a> have encouraged us to bring the best of gifts for delivery anywhere in the world yet again in 2003. We have partnered with ICICI Bank and use authentication by Verisign for the secure online transaction through Credit Cards. <br><br>All the Eid Gift orders are shipped by courier. In case the domestic courier i.e. for delivery within India we use the services of <B>Blue Dart.</b> <!-- and for international courier i.e. delivery outside India we use the services of <b>DHL</b> -->If services of our courier company are not available for any delivery location, the orders are shipped by <b>National Postal Services</b>. </p></td></tr><tr><td valign="top" align="center"><img src="'+path+'images03/master.gif" border=0  width="86" height="45">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="'+path+'images03/payseal.gif" border=0  width="123" height="104">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="'+path+'images03/visa.jpg" border=0  width="71" height="46">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</center> <br><hr color="#0055C9" width=100% size=3></td></tr><tr><TD align=middle><table width="100%" border="0" style="{font-family: verdana; font-size:11px;}" bgcolor="#ffffff" align=center><tr><td colspan=2></td></tr><tr><td width="100%" valign="bottom" class=footStyle colspan=2><A HREF="http://www.infobase.co.in"><img src="'+path+'images03/comparelogo.gif"  border=0 alt="allwonders.com" align=right  width="74" height="87"></A>Compare Infobase (P) Ltd<br>C-62, Community Center, Janakpuri, New Delhi-58 (India)<br>Tel : +91-11- 55453565, 55453566, 25542045, 51588013, 51588014<BR>Fax : + 91-11-25547264   Mobile : +91(0) 9810053538<br>This site is a part of <A HREF="http://www.allwonders.com" class="link">Allwonders.com</a><br>&copy Copyright 2000-2003&nbsp;&nbsp;- Compare Infobase Pvt Ltd. &nbsp;&nbsp;All Rights Reserved.<br>We host with <a href="http://www.serversindia.net" class="link">Serversindia.net Pvt. Ltd.</A>&nbsp;&nbsp;Best viewed in 1024 x 768 resolution setting.</td><td width="325" align="right" ></td></tr></table></TD></tr></table></td></tr></table></TABLE>');
}


///////////////////////////////////		SHOPPING CART FUNCTIONS		/////////////////////////////////////////////
function checkMe(frm){
//alert(_sLastCurrencySymbol);
var Flag = false;
var url="";
		for (var i=0;i<= frm.currency.length-1 ;i++ ){
			if (frm.currency[i].checked){
				url = frm.currency[i].value;

					if ( url.indexOf("inr") != -1 ){
						sCurrency="INR";
					}else{
						sCurrency="USD";
					}

				Flag = true;
			}
		}
		if (Flag == false){
			alert("Please select the Payment Currency Type and then click on Buy Now button\n to proceed to online transaction.\n\nThank you!");
			return false;	
		}
		if (url != "" && Flag){
		
				if ( _sLastCurrencySymbol.toUpperCase() != sCurrency.toUpperCase() && _sLastCurrencySymbol.toUpperCase() != ""){
					
						var messagecurrency="";

						if (sCurrency.toUpperCase() == "INR"){
							messagecurrency="Rs.( Indian Rupees )";
						}else if (sCurrency.toUpperCase() == "USD"){
							messagecurrency="US$ ( US Dollars )";
						}

					//if (confirm("You have chosen a different currency this time. Do you want to pay in "+ messagecurrency +"?\n\nTo continue shopping click on OK or click on Cancel button and continue shopping by selecting  "+_sLastCurrencySymbol+" again as buying currency!\n\nThank You!")){
					if (confirm("You have selected "+_sLastCurrencySymbol+" as your buying currency for last product you added to shopping cart. Please choose the same currency or you will lose your last item in different shopping cart!\n\nDo you want to continue buying this item in "+ sCurrency.toUpperCase()+"?")){
					
						//alert(_sLastCurrencySymbol.toLowerCase());
						//alert(url);
					

					}else{
						
						return false;
					}
				}
		//alert(url);	
		window.location =  url ;
		}
return false;
}






//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var IndianProductsCodeArray=new Array();



//alert(_sLastCurrencySymbol);
function shippingForm(pcode,pweight,inr,usd){
	document.write('<div align=center><div align=left><font size=3 color=green face="times new roman"><i>You may send this as a gift. Each gift goes with an exclusive paper greeting card carrying your message.</i></font></div><form onsubmit="return calculateShipping(this,\''+pcode+'\','+pweight+',\''+inr+'\',\''+usd+'\');">  <table  cellpadding=4 cellspacing=0 bgcolor="#FFC800" width="100%" style="{font-size:14px;}" border=0 align=center style="{border:1 solid black;}">		<tr><td><font size=2><b>Calculate Shipping Charges &raquo;&raquo;</b></font><BR><font size=-1>Delivery Country:</font>&nbsp;<select size="1" name="selCountry" CLASS="SMALLCOUNTRY"><option value="NA" ><OPTION value=Afghanistan>Afghanistan<OPTION value=Albania>Albania<OPTION value=Algeria>Algeria<OPTION value="American Samoa">American  Samoa<OPTION value=Andorra>Andorra<OPTION value=Angola>Angola<OPTION value=Anguilla>Anguilla<OPTION value=Anguilla>Antarctica<OPTION value="Antigua and Barbuda">Antigua and Barbuda<OPTION value=Argentina>Argentina<OPTION value=Armenia>Armenia<OPTION value=Aruba>Aruba<OPTION value=Australia>Australia<OPTION value=Austria>Austria<OPTION value=Azerbaijan>Azerbaijan<OPTION value=Bahamas>Bahamas<OPTION value=Bahrain>Bahrain<OPTION value=Bangladesh>Bangladesh<OPTION value=Barbados>Barbados<OPTION value=Belarus>Belarus<OPTION value=Belgium>Belgium<OPTION value=Belize>Belize<OPTION value=Benin>Benin<OPTION value=Bermuda>Bermuda<OPTION value=Bhutan>Bhutan<OPTION value=Bolivia>Bolivia<OPTION value="Bosnia and Herzegovina">Bosnia  and Herzegovina<OPTION value=Botswana>Botswana<OPTION value=Brazil>Brazil<OPTION value="British Indian Ocean Territory">British Indian Ocean  Territory<OPTION value="British Virgin Islands">British Virgin  Islands<OPTION value=Brunei>Brunei<OPTION value=Bulgaria>Bulgaria<OPTION value="Burkina Faso">Burkina  Faso<OPTION value=Burundi>Burundi<OPTION value=Cambodia>Cambodia<OPTION value=Cameroon>Cameroon<OPTION value=Canada>Canada<OPTION value="Cape Verde">Cape Verde<OPTION value="Cayman Islands">Cayman Islands<OPTION value="Central African Republic">Central African Republic<OPTION value=Chad>Chad<OPTION value=Chile>Chile<OPTION value=China>China<OPTION value="Christmas Island">Christmas  Island<OPTION value="Cocos Islands">Cocos Islands<OPTION value=Colombia>Colombia<OPTION value=Comoros>Comoros<OPTION value=Congo>Congo<OPTION value="Cook Islands">Cook Islands<OPTION value="Costa Rica">Costa Rica<OPTION value=Croatia>Croatia<OPTION value=Cuba>Cuba<OPTION value=Cyprus>Cyprus<OPTION value="Czech Republic">Czech Republic<OPTION value=Denmark>Denmark<OPTION value=Djibouti>Djibouti<OPTIONvalue=Dominica>Dominica<OPTION  value="Dominican Republic">Dominican Republic<OPTION value="East Timor">East Timor<OPTION value=Ecuador>Ecuador<OPTION value=Egypt>Egypt<OPTION value="El Salvador">El Salvador<OPTION value="Equatorial Guinea">Equatorial Guinea<OPTION value=Eritrea>Eritrea<OPTION value=Estonia>Estonia<OPTION value=Ethiopia>Ethiopia<OPTION value="Falkland Islands">Falkland  Islands<OPTION value="Faroe Islands">Faroe Islands<OPTION value=Fiji>Fiji<OPTION value=Finland>Finland<OPTION value=France>France<OPTION value="French Guiana">French  Guiana<OPTION value="French Polynesia">French Polynesia<OPTION value="French Southern Territories">French Southern Territories<OPTION value=Gabon>Gabon<OPTION value=Gambia>Gambia<OPTION value=Georgia>Georgia<OPTION value=Germany>Germany<OPTION value=Ghana>Ghana<OPTION value=Gibraltar>Gibraltar<OPTION value=Greece>Greece<OPTION value=Greenland>Greenland<OPTION value=Grenada>Grenada<OPTION value=Guadeloupe>Guadeloupe<OPTION value=Guam>Guam<OPTION value=Guatemala>Guatemala<OPTION value=Guinea>Guinea<OPTION value=Guinea-Bissau>Guinea-Bissau<OPTION value=Guyana>Guyana<OPTION value=Haiti>Haiti<OPTION value="Heard and McDonald Islands">Heard and McDonald Islands<OPTION value=Honduras>Honduras<OPTION value="Hong Kong">Hong Kong<OPTION value=Hungary>Hungary<OPTION value=Iceland>Iceland<OPTION value=India selected>India<OPTION  value=Indonesia>Indonesia<OPTION value=Iran>Iran<OPTION value=Iraq>Iraq<OPTION value=Ireland>Ireland<OPTION value=Israel>Israel<OPTION value=Italy>Italy<OPTION value="Ivory Coast">Ivory Coast<OPTION value=Jamaica>Jamaica<OPTION value=Japan>Japan<OPTION value=Jordan>Jordan<OPTION value=Kazakhstan>Kazakhstan<OPTION value=Kenya>Kenya<OPTION value=Kiribati>Kiribati<OPTION value="Korea, North">Korea, North<OPTION value="Korea, South">Korea, South<OPTION value=Kuwait>Kuwait<OPTION value=Kyrgyzstan>Kyrgyzstan<OPTION value=Laos>Laos<OPTION value=Latvia>Latvia<OPTION value=Lebanon>Lebanon<OPTION value=Lesotho>Lesotho<OPTION value=Liberia>Liberia<OPTION value=Libya>Libya<OPTION value=Liechtenstein>Liechtenstein<OPTION value=Lithuania>Lithuania<OPTION value=Luxembourg>Luxembourg<OPTION value=Macau>Macau <OPTIONvalue=Madagascar>Madagascar<OPTION value=Malawi>Malawi<OPTION value=Malaysia>Malaysia<OPTION value=Maldives>Maldives<OPTION value=Mali>Mali<OPTION value=Malta>Malta<OPTION value="Marshall Islands">Marshall Islands<OPTION value=Martinique>Martinique<OPTION value=Mauritania>Mauritania<OPTION value=Mauritius>Mauritius<OPTION value=Mayotte>Mayotte<OPTION value=Mexico>Mexico<OPTION value="Micronesia, Federated States of">Micronesia, Federated States of,<OPTION value=Moldova>Moldova<OPTION value=Monaco>Monaco<OPTION value=Mongolia>Mongolia<OPTION value=Montserrat>Montserrat<OPTION value=Morocco>Morocco<OPTION value=Mozambique>Mozambique<OPTION value=Myanmar>Myanmar<OPTION value=Namibia>Namibia<OPTION value=Nauru>Nauru<OPTION value=Nepal>Nepal<OPTION value=Netherlands>Netherlands<OPTION value="Netherlands Antilles">Netherlands Antilles<OPTION value="New Caledonia">New Caledonia<OPTION value="New Zealand">New Zealand<OPTION value=Nicaragua>Nicaragua<OPTION value=Niger>Niger<OPTION value=Nigeria>Nigeria<OPTION value=Niue>Niue<OPTION value="Norfolk Island">Norfolk Island<OPTION value="Northern Mariana Islands">Northern Mariana Islands<OPTION value=Norway>Norway<OPTION value=Oman>Oman<OPTION value=Pakistan>Pakistan<OPTION value=Palau>Palau<OPTION value=Panama>Panama<OPTION value="Papua New Guinea">Papua New Guinea<OPTION value=Paraguay>Paraguay<OPTION value=Peru>Peru<OPTION value=Philippines>Philippines<OPTION value="Pitcairn Island">Pitcairn Island<OPTION value=Poland>Poland<OPTION value=Portugal>Portugal<OPTION value="Puerto Rico">Puerto Rico<OPTION value=Qatar>Qatar<OPTION value=Reunion>Reunion<OPTION value=Romania>Romania<OPTION value=Russia>Russia<OPTION value=Rwanda>Rwanda<OPTION value="S. Georgia and S. Sandwich Isls.">S. Georgia and S. Sandwich Isls<OPTION value="Saint Kitts &amp; Nevis">Saint Kitts &amp; Nevis<OPTION value="Saint Lucia">Saint Lucia<OPTION value="Saint Vincent and The Grenadines">Saint Vincent and The Grenadines<OPTION value=Samoa>Samoa<OPTION value="San Marino">San Marino<OPTION value="Sao Tome and Principe">Sao Tome and Principe<OPTION value="Saudi Arabia">Saudi Arabia<OPTION value=Senegal>Senegal<OPTION value=Seychelles>Seychelles<OPTION value=Seychelles>Seychelles<OPTION value=Singapore>Singapore<OPTION value=Slovakia>Slovakia<OPTION value=Slovenia>Slovenia<OPTION value=Somalia>Somalia<OPTION value="South Africa">South Africa<OPTION value=Spain>Spain<OPTION value="Sri Lanka">Sri Lanka<OPTION value="St. Helena">St. Helena<OPTION value="St. Pierre and Miquelon">St. Pierre and Miquelon<OPTION value=Sudan>Sudan<OPTION value=Suriname>Suriname<OPTION value="Svalbard and Jan Mayen Islands">Svalbard and Jan Mayen Islands<OPTION value=Swaziland>Swaziland<OPTION value=Sweden>Sweden<OPTION value=Switzerland>Switzerland<OPTION value=Syria>Syria<OPTION value=Taiwan>Taiwan<OPTION value=Tajikistan>Tajikistan<OPTION value=Tanzania>Tanzania<OPTION value=Thailand>Thailand<OPTION value=Togo>Togo<OPTION value=Tokelau>Tokelau<OPTION value=Tonga>Tonga<OPTION value="Trinidad and Tobago">Trinidad and Tobago<OPTION value=Tunisia>Tunisia<OPTION value=Turkey>Turkey<OPTION value=Turkmenistan>Turkmenistan<OPTION value="Turks and Caicos Islands">Turks and Caicos Islands<OPTION value=Tuvalu>Tuvalu<OPTION value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands<OPTION value=Uganda>Uganda<OPTION value=Ukraine>Ukraine<OPTION value="United Arab Emirates">United Arab Emirates<OPTION value="United Kingdom">United Kingdom<OPTION value="United States of America">United States of America<OPTION value=Uruguay>Uruguay<OPTION value=Uzbekistan>Uzbekistan<OPTION value=Vanuatu>Vanuatu<OPTION value="Vatican City">Vatican City<OPTION value=Venezuela>Venezuela<OPTION value=Vietnam>Vietnam<OPTION value="Virgin Islands">Virgin Islands<OPTION value="Wallis and Futuna Islands">Wallis and Futuna Islands<OPTION value="Western Sahara">Western Sahara<OPTION value=Yemen>Yemen<OPTION value="Yugoslavia (Former)">Yugoslavia (Former)<OPTION value=Zaire>Zaire<OPTION value=Zambia>Zambia<OPTION value=Zimbabwe>Zimbabwe</OPTION></SELECT>&nbsp;&nbsp;<input type=submit value="Calculate Now"></td></tR></table></form></div>');
}


/////////////////////////////////////////////////////////////////////
function calculateShipping(frm,pc,w,inrprice,usdprice){
var _iWeight=w;
var _fFreight=0;
_iWeight*=1.15;
//check for country
	if ( frm.selCountry.value.toUpperCase() == "NA" ){
		alert("Please select the Delivery Country!");
		frm.selCountry.focus();
		return false;
	}
//if country is selected....		
	if ( frm.selCountry.value.toUpperCase() != "INDIA"){
			if ( _iWeight > 0 && _iWeight <= 1000 ){
				_fFreight = 800;
			 }else if ( _iWeight > 1000 ){
				_fFreight = 800 + Math.ceil( (_iWeight - 1000)/500 ) * 200;
			}
	}else{
				if ( _iWeight > 0 && _iWeight <= 625 ){
					_fFreight = 35;
				}else if ( _iWeight > 625 ){
					_fFreight = 35 + Math.ceil( (_iWeight - 625)/625 ) * 35;
				}
	}

	/*if (checkCode(pc) && frm.selCountry.value.toUpperCase() != "INDIA"){
		writeScreen(_iWeight,_fFreight,inrprice,usdprice,false);
	}else{
		writeScreen(_iWeight,_fFreight,inrprice,usdprice,true);
	}*/


	if ( frm.selCountry.value.toUpperCase() != "INDIA"){
		writeScreen(_iWeight,_fFreight,inrprice,usdprice,false);
	}else{
		writeScreen(_iWeight,_fFreight,inrprice,usdprice,true);
	}
	
	

return false;
}
///////////////////////////////////////////////////////////////////////
function writeScreen(weight,freight,inrp,usdp,Flag){
var shippingWindow=window.open("","sWin","width=300, height=180");
shippingWindow.document.open();
shippingWindow.document.writeln("<html><head><title>Calculate Shipping Charges - TheEid.com</title></head>");
shippingWindow.document.writeln("<body bgcolor=#FFFFFF TOPMARGIN=0 LEFTMARGIN=0>");
shippingWindow.document.writeln("<table align=center width=100% height=100% STYLE='{BORDER:1 SOLID BLACK; font-family: verdana; font-size: 12px;}' CELLPADDING=4 CELLSPACING=0>");

	if (Flag){
	
	shippingWindow.document.writeln("<tr BGCOLOR='#FFC800'><td valign=middle align=center><font size=3 face=arial><B>Shipping Calculations</B></font></td></tr>");

	shippingWindow.document.writeln("<tr><td><p align=justify>You will need to pay <B>Rs."+ freight + " / US$" + Math.ceil( freight /45.66)+"</B> as shipping charges for the selected product.</p><p  align=justify>Please note that the total amount to be paid towards the product comprises of the price <B>Rs."+inrp+" / US$"+usdp+"</B> and the shipping charges of <B>Rs."+ freight + " / US$" + Math.ceil( freight /45.66)+"</B> only.</p><p align=center><input type=button value='Close Window' onclick='self.close();' style='{border:0;}'></p></td></tr>");
	
	}else{
		shippingWindow.document.writeln("<tr BGCOLOR='#FFC800'><td valign=middle align=center><font size=3 face=arial><B>Sorry!<BR>This Product can not be delivered to Countries other than India.</B></font></td></tr>");
		shippingWindow.document.writeln("<tr><td><p align=center><input type=button value='Close Window' onclick='self.close();' style='{border:0;}'></p></td></tr>");
	}


shippingWindow.document.writeln("</table></body></html>");
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function checkCode(pcode){
	for (var i=0;i<IndianProductsCodeArray.length;i++ ){
		//alert(IndianProductsCodeArray[i]);
		if (pcode.toUpperCase() == IndianProductsCodeArray[i].toUpperCase()){
			return true;
		}
	}
return false;



}

////////////////////////////////////////////////////////////////////////////
function openAnnouncement(){
var announcementWindow=window.open("http://www.theeid.dgreetings.com/message-back/Show-MessageEid.jsp","announcement","width=500, height=450,scrollbars=1,resizable=yes,alwaysRaised=yes,left=300,top=190")
return false;

}

////////////////////////////////////////////////////////////////////////////
function openMessage(){
var messageWindow=window.open("http://www.theeid.dgreetings.com/message-back/Send-MessageEid.jsp","message","width=510, height=523,scrollbars=1,resizable=yes,alwaysRaised=yes,left=300,top=150")
return false;

}