


 // JScript source code



			var appStr="http://nadarsangam.com/";



			var strMenu = new Array()



			strMenu[0] = new Array()



			strMenu[0][0] = "";



			strMenu[0][1] = "My Profile,http://nadarsangam.com/myprofile.asp";



			strMenu[1] = new Array()



			strMenu[1][0] = "Member Features";



			strMenu[1][1] = "Matrimonials,http://nadarsangam.com/matrimonials";



			strMenu[1][2] = "Child Adoption,http://nadarsangam.com/adoption";



			strMenu[1][3] = "Sponsor a Child,http://nadarsangam.com/sponsorachild";



			strMenu[1][4] = "Family Tree,http://nadarsangam.com/FamilyTree/";



			strMenu[1][5] = "Match Making,http://nadarsangam.com/matchmaking";



			strMenu[1][6] = "Trade Directory,http://nadarsangam.com/tradedirectory";



			strMenu[1][7] = "Institutions,http://nadarsangam.com/institutions";



			strMenu[1][8] = "Classifieds,http://nadarsangam.com/classifieds";



			strMenu[1][9] = "Sangam Listing,http://nadarsangam.com/sangam";



			strMenu[1][10] = "Events Calendar,http://nadarsangam.com/eventscalendar.asp";



			strMenu[1][11] = "Jobs,http://nadarsangam.com/jobs";



			strMenu[1][12] = "E-Mail,http://nadarsangam.com/mail";



			strMenu[1][13] = "E-Greetings,http://nadarsangam.com/greetings/";



			strMenu[1][13] = "Volunteers,http://nadarsangam.com/volunteers/welcomevolunteers.asp";



			strMenu[2] = new Array()



			strMenu[2][0] = "Links";



			strMenu[2][1] = "Compatibility,http://nadarsangam.com/compatibility.asp";



			strMenu[2][2] = "Indian Culture,javascript:openNewWindow('http://www.indianmirror.com/culture/cul1.html');";



			strMenu[2][3] = "Make a Contribution,http://nadarsangam.com/contribute.asp";



			strMenu[2][4] = "About Us,http://nadarsangam.com/aboutus.html";



			strMenu[2][5] = "Sitemap,http://nadarsangam.com/sitemap.html";



			strMenu[2][6] = "Report Abuse,http://nadarsangam.com/reportabuse.asp";



			strMenu[2][7] = "FAQ,http://nadarsangam.com/faq.html";



			



			var strTopBanners = new Array()



			strTopBanners['CHILDADOPTION'] = "http://nadarsangam.com/banners/childadoption.gif,http://nadarsangam.com/adoption"



			strTopBanners['DONATE'] = "http://nadarsangam.com/banners/donateonline.gif,http://www.nadarsangam.com/contribute.asp"



			strTopBanners['MATRIMONIALS'] = "http://nadarsangam.com/banners/matrimonials.gif,http://nadarsangam.com/matrimonials"



			strTopBanners['SPONSORACHILD'] = "http://nadarsangam.com/banners/sponsorachild.gif,http://nadarsangam.com/sponsorachild"



				   



			var strBottomBanners = new Array()



			strBottomBanners['JOBS'] = "http://nadarsangam.com/banners/jobs.gif,http://nadarsangam.com/jobs"



			strBottomBanners['INSTITUTIONS'] = "http://nadarsangam.com/banners/institutions.gif,http://nadarsangam.com/institutions"



			strBottomBanners['TRADE'] = "http://nadarsangam.com/banners/trade.gif,http://nadarsangam.com/tradedirectory"



			strBottomBanners['CLASSIFIEDS'] = "http://nadarsangam.com/classifieds.gif,http://nadarsangam.com/classifieds"



			function fnGetMenu(mSelected)



			{



				var iCnt,jCnt,strTemp



				var retString="";



				var nStart=GetStartCode();



				for (iCnt=nStart;iCnt<strMenu.length;iCnt++)



				{



					if (strMenu[iCnt][0].length>0)retString +="<tr><td class='links'>&nbsp;</td><td bgcolor='#BDAB5A'><font face='verdana' color='white' size='1'><b>"+strMenu[iCnt][0]+"</b></font></td></tr>"



					for (jCnt=1;jCnt<strMenu[iCnt].length;jCnt++)



					{



						strTemp = strMenu[iCnt][jCnt];



						if (strTemp.split(",")[0]==mSelected){retString+="<tr><td class='links'>&nbsp;</td><td><font face='verdana' size='1'><b>"+strTemp.split(",")[0]+"</b></font></td></tr>";}



						/*else if(strTemp.split(",")[0]=="Indian Culture")
							{
								retString+="<tr><td class='links'>&nbsp;</td><td><a class='links' href=\""+strTemp.split(",")[1] +"\">"+strTemp.split(",")[0]+"</a></td>";
							}
							else
							{*/
							if (strTemp.split(",")[1].indexOf("javascript") >= 0)retString+="<tr><td class='links'>&nbsp;</td><td><a class='links' href=\""+strTemp.split(",")[1] +"\">"+strTemp.split(",")[0]+"</a></td>";



							else retString+="<tr><td class='links'>&nbsp;</td><td><a class='links' href=\""+strTemp.split(",")[1] +"\">"+strTemp.split(",")[0]+"</a></td>";
							 

							/*}*/



							



					}



				}



				document.write(retString);



			}			



		



			function openNewWindow(URL){



				windowHandle = window.open(URL);



			}



			



			function GetTopImage()



			{



				



				var isLogin = GetStartCode();



				var retStr="";



				if (isLogin==0)retStr += "<TD COLSPAN='2' valign='bottom'><IMG SRC='http://nadarsangam.com/inner/nadar_03.jpg' WIDTH='185' HEIGHT='36' border='0' usemap='#logout'><map name='logout'><area shape='rect' coords='-58,0,43,19' href='http://nadarsangam.com/forum'><area shape='rect' coords='43,0,136,19' href='http://nadarsangam.com/membersearch.asp'><area shape='rect' coords='136,0,183,19' href='http://nadarsangam.com/logout.asp'></map></TD>";



				else retStr += "<TD COLSPAN='2' valign='bottom'><IMG SRC='http://nadarsangam.com/inner/nadar_login_03.jpg' HEIGHT='36' border='0' usemap='#logout'><map name='logout'><area shape='rect' coords='-58,0,43,19' href='http://nadarsangam.com/forum'><area shape='rect' coords='43,0,136,19' href='http://nadarsangam.com/membersearch.asp'><area shape='rect' coords='136,0,183,19' href='http://nadarsangam.com/login.asp'></map></TD>";



				document.write(retStr);



			}







			function GetStartCode(){



				var aCookie = document.cookie.split("; ");



				for (var i=0; i < aCookie.length; i++)



				{



					// a name/value pair (a crumb) is separated by an equal sign



					var aCrumb = aCookie[i].split("=");



					if (aCrumb[0]=='NSLOGIN') 



					return (unescape(aCrumb[1]));



				}



				// a cookie with the requested name does not exist



				return 1;



			}



			



			function GetBottomMenu(){



			  var retString="";



			  retString = "<br><font face='verdana' color='white' size='1'><a class='bottom' href='"+appStr+"advertisewithus.asp'>Advertise with Us</a>| <a class='bottom' href='"+appStr+"privacypolicy.html'>Privacy Policy</a> | <a class='bottom' href='"+appStr+"termsandconditions.html'>Terms & Conditions</a> | <a class='bottom' href='"+appStr+"contactus.html'>Contact Us</a></font>";



			  document.write(retString);



			}



			




			function GetTopRightBanner(bannerID)


			{



			  var retString=""



			  retString="<IMG SRC='"+strTopBanners[bannerID].split(",")[0]+"' WIDTH='185' HEIGHT='162' USEMAP='#lBannerMap' border=0>";



			  retString+="<MAP NAME='lBannerMap'><AREA SHAPE='poly' ALT='' COORDS='0,20, 13,19, 39,17, 94,10, 138,1, 168,-8, 182,-14,182,121,182,199,179,189,170,162,162,147,157,137,148,124, 127,99, 100,75, 69,54, 39,38, 13,27,-9,20' HREF='"+strTopBanners[bannerID].split(",")[1]+"'></MAP>"



			  document.write(retString);



			}



			



			function GetBottomBanner(bannerID)



			{



			  var retString=""



		  retString="<a href='"+strBottomBanners[bannerID].split(",")[1]+"'><img src='"+strBottomBanners[bannerID].split(",")[0]+"' width=503 height=69 border=0></a>";



			  document.write(retString);



			}			
