



function top(path)
{
	if (path=="")
	{
	path="./";
	}

document.write("<TR><TD valign='top' cellpadding='0' cellspacing='0'><!-- 1 -->	<TABLE cellpadding='0' cellspacing='0'>  	<TR>  	<TD><A HREF='http://www.causeindia.com'><IMG SRC='"+path+"images/logo.gif' BORDER='0' ALT=''></A></TD>  	</TR>	<TR><TD></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR>  	<TR><TR><TD></TD></TR>  	<TD WIDTH='300' HEIGHT='138' BORDER='0' bgcolor='#ff6633'><TABLE>  	<TR>  		<TD  class='link' WIDTH='300'> >> <a href='"+path+"aboutus.php' class='link'>Who We Are</a><BR>	>> <a href='"+path+"taxdeductions.php' class='link'>Income Tax Deductions</a><BR> >> <a href='"+path+"makedonations.php' class='link'>Make Donations</a> <a href='http://www.thisismyindia.com/end-hunger/index.html' target='_blank'><img src='http://www.thisismyindia.com/images/end-hunger.gif' align='right' border='0'></a><BR> >> <a href='"+path+"faqs.php' class='link'>FAQs</a><BR> >> <a href='"+path+"search.php' class='link'>Search</a><BR> >> <a href='"+path+"contactus.php' class='link'>Contact Us</a>	</TD>  	</TR>  	</TABLE>	</TD>  	</TR>  	</TABLE></TD> <TD><!-- 2 -->	<TABLE cellpadding='0' cellspacing='0'>  	<tr>    <td width='326' rowspan='2' valign='top'><img src='"+path+"images/01.gif' width='332' height='126'></td>    <td width='342' rowspan='2' valign='top'><img src='"+path+"images/02.gif' width='341' height='126'></td>  </tr>  <tr>    <td height='2'></td>    <td></td>  </tr>  <tr>    <td valign='top'><img src='"+path+"images/03.gif' width='332' height='136'></td>    <td valign='top'><img src='"+path+"images/04.gif' width='341' height='136'></td>  </tr>  	</TABLE></TD> </TR><TR><TD colspan='2'></TD></TR><TR><TD colspan='2'></TD></TR><TR><TD colspan='2'></TD></TR><TR><TD colspan='2'></TD></TR><TR><TD colspan='2'></TD></TR> "); 
}

 

function left(path)
{
	if (path=="")
	{
	path="./";
	}

document.write("<TD valign='top'><TABLE cellpadding='0' cellspacing='0'><TR>	<TD bgcolor='#BDE1F7'><TABLE><TR><TD colspan='4' class='col'>Support a Cause</CENTER></h3></TD></TR><TR><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><TD><li><a href='"+path+"agriculture/index.php' class='ulink'>Agriculture</a><li><a href='"+path+"children/index.php' class='ulink'>Children</a>    <li><a href='"+path+"disabled/index.php' class='ulink'>Disabled</a><li><a href='"+path+"economy/index.php' class='ulink'>Economy</a>    <li><a href='"+path+"education/index.php' class='ulink'>Education</a><li><a href='"+path+"elderly/index.php' class='ulink'>Elderly</a><li><a href='"+path+"employment/index.php' class='ulink'>Employment</a><li><a href='"+path+"environment/index.php' class='ulink'>Environment</a><li><a href='"+path+"health/index.php' class='ulink'>Health</a></TD><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><TD><li><a href='"+path+"homelessness/index.php' class='ulink'>Homelessness</a><li><a href='"+path+"humanrights/index.php' class='ulink'>Human Rights</a><li><a href='"+path+"laws/index.php' class='ulink'>Laws</a><li><a href='"+path+"peace/index.php' class='ulink'>Peace</a><li><a href='"+path+"poverty/index.php' class='ulink'>Poverty</a><li><a href='"+path+"relief/index.php' class='ulink'>Relief</a>                  <li><a href='"+path+"society/index.php' class='ulink'>Society</a><li><a href='"+path+"women/index.php' class='ulink'>Women</a>             <li><a href='"+path+"youth/index.php' class='ulink'>Youth</a></TD></TR></TABLE></TD></tr><TR><TD></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR><TR><TR><TD></TD></TR><TR><TD><A HREF='"+path+"makedonations.php'><IMG SRC='"+path+"images/help_image.gif' BORDER='0' ALT='help now'></A></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR><TR><TR><TD></TD></TR><TR><TD height='122' valign='top' class='index_text'  style='border:2px solid #6699FF;'><form id='form1' name='form1' method='post' action=''><table width='296' border='0'class='index_text'><tr><td colspan='2'><strong>Existing User Login</strong></td></tr><tr><td width='86'>&nbsp;Username</td><td width='245'><input type='text' name='email'></td></tr>   <tr><td>&nbsp;Password</td><td><input type='text' name='pass'></td></tr><tr><td><input name='but' type='button' value='Login' onClick='javascript: val();'></td><td><a href='"+path+"registration/donorregister.php' class='ulink'>Donor Register</a> | <a href='"+path+"registration/ngoregister.php' class='ulink'>NGO Register</a></td></tr><tr><td colspan='2' align='center'>&nbsp;<a href='"+path+"registration/fpassword.php' class='ulink'>Forgot Password</a></td></tr></table></form></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR><TR><TD></TD></TR><TR><TR><TD></TD></TR>	<TR><TD height='75' valign='middle' bgcolor='#99CC33' class='col' style=color='#FFFFFF'>List of NGO's</TD></TR><TR><TD height='50' valign='middle' bgcolor='#99CC33' class='link'><CENTER><A HREF='"+path+"ngo/azad-india-foundation.php' class='link' title='Azad India Foundation'>Azad India Foundation</A><br><BR><A HREF='"+path+"ngo/gift-india.php' class='link' title='Gift India'>Gift India</A></CENTER><br><br></TD></TR><TR class='link'><TD height='30' valign='middle' bgcolor='#ff6633'><A HREF='"+path+"ngo/index.php' class='link' title='List Of NGO's'>Click Here</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>></TD></TR></TABLE></TD>  "); 
}

function bottom(path)
{
	if (path=="")
	{
	path="./";
	}

document.write("<TR>  <td colspan='3'><hr>  </td>  </TR><!-- for horizontal line --></TABLE></TD></TR> <tr><td colspan='2'>&nbsp;</td></tr> <tr><td colspan='2'><hr></td></tr><TR><td colspan='2'><TABLE width='998' class='index_text'><TR><td align='center'><B><a href='"+path+"index.html' class='ulink'>Home</a></B> ::&nbsp;&nbsp;<B><a href='"+path+"makedonations.php'  class='ulink'>Make Donations</a></B>&nbsp;::&nbsp;<B><a href='"+path+"contactus.php'  class='ulink'>Contact Us</a></B></td>	</TR></TABLE></td></TR><TR><TD colspan='2'  class='link' bgcolor='#333333'><CENTER>&copy; 2008 CauseIndia.com    <A HREF='http://www.concerninfotech.com' target='_blank'  class='link'>WebSite Development in India</A> by Concern Infotech Pvt. Ltd.</CENTER></TD></TR></table>");
}
function val()
{
var msg		=	'';
var vmsg	=	'';
var email = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; // E-mail id Verification
if(document.login.email.value	==	'' || document.login.email.value	==	null)
{
	msg		+=	' Enter the Username';
	document.login.email.focus();
}
else if(!(email.test(document.login.email.value)))
{
	vmsg	+=	' Enter valid Email ID';
	document.login.email.focus();	
}
if(document.login.pass.value	==	'' || document.login.pass.value	==	null)
{
	msg		+=	'\n Enter the Password';
	document.login.email.focus();	
}

if((msg != null) && (msg != ""))
{
	alert(msg);
	msg = "";
}
else if((vmsg != null) && (vmsg != ""))
{
	alert(vmsg);
	vmsg ="";
}
else
{
	document.login.submit();
} 
}