

/*****************Window opens when click on send to friend Link*********************/
function friend_popup(rooturl) {
	var rootUrl=rooturl;
	var sendUrl =window.location.href;
	var html_content=""+
				"<html>"+
				"<head>"+
				"<title>Tell a Friend!</title>"+
				"<style>"+
				"body a{color: #6c321f;}"+
				"input, textarea{background-color: #FFE5C2; border: 1px solid #cfbd8f; color: #6c321f; scrollbar: none; overflow: auto;}"+
				"table {color: #6c321f;"+
					   "font-size: 13px; font-family: Arial; background-color: #dacc7b; border: 1px solid #cfbd8f;}"+
				"table td{border-bottom: 2px solid #ffe5c1; height: 45px;}"+
				"table tr td h1{float: left; padding-left: 20px; margin-bottom: 0px; font-weight: normal; font-size: 18px;}"+
				
				".sized_td {width: 175px;}"+
				"#info_container {position: relative;}"+
				"</style></head>"+
				
				"<body bgcolor='#ffe5c1'>"+
					"<div id=\"info_container\">"+
					"<table cellspacing='0' align='center'>"+
						"<tr><td colspan='2' align='center'><h1>Send To A Friend</h1></td></tr>"+
						"<form name=\"tell_a_friend\" method=\"POST\" action='"+rootUrl+"SendToAFriend/'>"+
						"<tr><td class=\"sized_td\" align='center'> <label for='your_name'><font color=\"#f79e21\">*</font>&nbsp;Your Name</label><br/><input type=\"text\" name=\"your_name\" /></td>"+
								"<td class=\"sized_td\" align='center'><font color=\"#f79e21\">*</font>&nbsp;Your Email<br /><input type=\"text\" name=\"your_email\" /></td></tr>"+
							"<tr><td class=\"sized_td\" align='center'><font color=\"#f79e21\">*</font>&nbsp;Friend's Name<br /><input type=\"text\" name=\"friends_name\" /></td>"+
								"<td class=\"sized_td\" align='center'><font color=\"#f79e21\">*</font>&nbsp;Friend's Email<br /><input type=\"text\" name=\"friends_email\"/></td></tr>"+
							"<tr><td colspan=\"2\" align='center'>Message (Optional)<br />"+
								"<textarea rows=\"7\" cols=\"37\" name=\"message\" ></textarea></td>"+
							"<tr><td colspan=\"2\" align=\"center\" style=\"border-bottom: none;\"><input type=\"submit\" value=\"Send\" /></td></tr><input type=\"hidden\" name=\"link\" value='"+sendUrl+"' />"+
						"</form>"+
					"</table>"+
				  "<br><a href='"+rootUrl+"PrivacyPolicy/' onclick='if (window.opener) {window.opener.location=this.href; return false}'>Privacy Policy</a><BR>"+
				"</div>"+
				"</body></html>";
		
		html = html_content;
		js_window = window.open('','Testing','width=375, height=430');
		js_window.moveTo(500,450);
		js_document = js_window.document;
		js_document.open();
		js_document.write(html);
		js_document.close();
}
/*******************************************************************/


/********This window opens when clicking on Send Beta Feedback Link******/
function sendFeedBack_popup(rooturl){
	var rootUrl=rooturl;
	var sendUrl =window.location.href;
	var html_content=""+
				"<html>"+
				"<head>"+
				"<title>Send Us Feedback!</title>"+
				"<style>"+
				"body a{color: #6c321f;}"+
				"input, textarea{background-color: #FFE5C2; border: 1px solid #cfbd8f; color: #6c321f; scrollbar: none; overflow: auto;}"+
				"table {color: #6c321f; font-size: 13px; font-family: Arial; background-color: #dacc7b; border: 1px solid #cfbd8f;}"+
				"table td{border-bottom: 2px solid #ffe5c1; height: 45px;}"+
				"table tr td h1{float: left; padding-left: 20px; margin-bottom: 0px; font-weight: normal; font-size: 18px;}"+
				".sized_td {width: 175px;}"+
				"#info_container {position: relative;}"+
				"</style></head>"+
				
				"<body bgcolor='#ffe5c1'>"+
					"<div id=\"info_container\">"+
					"<table cellspacing='0' align='center'>"+
						"<tr><td colspan='2' align='center'><h1>Send Beta Feedback</h1></td></tr>"+
						"<form name=\"tell_a_friend\" method=\"POST\" action='"+rootUrl+"SendFeedBack/'>"+
							"<tr><td class=\"sized_td\" align='center'> <label for='first_name'><font color=\"#f79e21\">*</font>First Name</label><br/><input type=\"text\" name=\"first_name\" /></td>"+
								"<td class=\"sized_td\" align='center'><font color=\"#f79e21\">*</font>Last Name<br /><input type=\"text\" name=\"last_name\" /></td></tr>"+
							"<tr><td colspan='2' align='center' class=\"sized_td\"><font color=\"#f79e21\">*</font>Email<br /><input type=\"text\" name=\"email\" /></td>"+
								"</tr>"+
							"<tr><td colspan=\"2\" align='center' >Message<br /><textarea name=\"message\" cols='37' rows='7'/></textarea></td></tr>"+
							"<tr><td colspan='2' class=\"sized_td\" style=\"border-bottom: none;\" align='center'><input type=\"submit\" value=\"Send\" /></td></tr><input type=\"hidden\" name=\"link\" value='"+sendUrl+"' />"+
						"</form>"+
					"</table>"+
				  "<br><a href='"+rootUrl+"PrivacyPolicy/' onclick='if (window.opener) {window.opener.location=this.href; return false}'>Privacy Policy</a><br>"+
				"</div>"+
				"</body></html>";
		
		html = html_content;
		js_window = window.open('','Testing','width=375, height=430');
		js_window.moveTo(500,450);
		js_document = js_window.document;
		js_document.open();
		js_document.write(html);
		js_document.close();
}
/**************************************************************************************/


/**************This window opens when user clicks on forgot password link***************/

function send_userinfo(rooturl){
		var rootUrl=rooturl;
	var sendUrl =window.location.href;
	var html_content=""+
				"<html>"+
				"<head>"+
				"<title>Email My Information!</title>"+
				"<style>"+
				"body a{color: #6c321f;}"+
				"input, textarea{background-color: #FFE5C2; border: 1px solid #cfbd8f; color: #6c321f; scrollbar: none; overflow: auto;}"+
				"table {color: #6c321f;"+
					   "font-size: 13px; font-family: Arial; background-color: #dacc7b; border: 1px solid #cfbd8f;}"+
				"table td{border-bottom: 2px solid #ffe5c1; height: 45px;}"+
				"table tr td h1{float: left; padding-left: 20px; margin-bottom: 0px; font-weight: normal; font-size: 18px;}"+
				
				".sized_td {width: 175px;}"+
				"#info_container {position: relative;}"+
				"</style></head>"+
				
				"<body bgcolor='#ffe5c1'>"+
					"<div id=\"info_container\">"+
					"<table cellspacing='0' align='center' width='100%'>"+
						"<tr><td colspan='2' align='center'><h1>Email My Information</h1></td></tr>"+
						"<form name=\"tell_a_friend\" method=\"POST\" action='"+rootUrl+"SendUserInfo/'>"+
						"<tr><td class=\"sized_td\" align='center'><font color=\"#f79e21\">*</font>&nbsp;Email Address:&nbsp;<input type=\"text\" name=\"email\" /></td></tr>"+
		"<tr><td colspan=\"2\" align=\"center\" style=\"border-bottom: none;\"><input type=\"submit\" value=\"Send\" /></td></tr>"+
						"</form>"+
					"</table>"+
				  "<br><a href='"+rootUrl+"PrivacyPolicy/' onclick='if (window.opener) {window.opener.location=this.href; return false}'>Privacy Policy</a><BR>"+
				"</div>"+
				"</body></html>";
		
		html = html_content;
		js_window = window.open('','Testing','width=375, height=230');
		js_window.moveTo(500,450);
		js_document = js_window.document;
		js_document.open();
		js_document.write(html);
		js_document.close();
	
}

/**************************************************************************************/
              