function validate() {
	var a=document.frm.select.options[document.frm.select.selectedIndex].value;

	if(a=="selectme") alert("Please select one option");
	else if(a=="marriage") 
		window.open('/mindQuips_sea.jsp?sec=Marriage&no=1','fortune','scrollbars=yes,resizable=yes,width=350,height=300');
	else if(a=="wives")
		window.open('/mindQuips_sea.jsp?sec=wives&no=1','fortune','scrollbars=yes,resizable=yes,width=350,height=300');
	else location.href=a;
}

document.write(''+
'<table width="191" border="0" cellspacing="0" cellpadding="0" height="26">'+
'	<form name="frm">'+
'		<tr><td> '+
'			<table width="34%" border="0" cellspacing="1" cellpadding="2">'+
'				<tr> '+
'					<td width="36%"> '+
'						<select name="select">'+
'							<option value="selectme" selected>Select</option>'+
'							<option value="premarital_sea.htm">Overcoming Pre-marital Jitters</option>'+
'							<option value="ceremony_sea.htm">Traditional Marriage Ceremonies In India</option>'+
'							<option value="customsLaws_sea.htm">Marriage Customs And Laws</option>'+
'							<option value="nutsBolts_sea.htm">Wedding Nuts And Bolts</option>'+
'							<option value="wedfashion_sea.htm">Wedding Fashion</option>'+
'							<option value="wedbeauty_sea.htm">Wedding Beauty and Make-up</option>'+
'							<option value="marriagesex_sea.htm">Marriage and Sex</option>'+
'							<option value="responsibilities_sea.htm">Marriage and Responsibilities</option>'+
'							<option value="maritalprobs_sea.htm">Marital Problems</option>'+
'							<option value="humour_sea.htm">Humour</option>'+
'							<option value="searchwife_sea.htm">Matrimonials (Humour)</option>'+
'							<option value="q_marriage_sea.htm">How is your marriage doing?</option>'+
'							<option value="sexQuiz_sea.jsp">Sex Quiz</option>'+
'							<option value="marriage">Mind Quips-Marriage</option>'+
'							<option value="wives">Mind Quips-Wives</option>'+
'						</select>'+
'					</td>'+
'					<td width="64%"><a href="JavaScript:validate()"><img src="images/go.gif" width="28" height="29" border="0"></a></td>'+
'				</tr>'+
'			</table>'+
'		</td></tr>'+
'	</form>'+
'</table>'+
'');

