// JavaScript Document
			 
			function submit_GR_form(){
				
				var email = document.getElementById('GRCategory3').value;
				var valid_email = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
				if( valid_email.test( email ) ){
					document.GRSubscribeForm.submit();
					//document.forms.GRSubscribeForm.submit();					
					document.getElementById('before').style.display = 'none';
					document.getElementById('after').style.display = 'block';
					
				} else {
					alert("Invalid email address");
				}
				return false;
			}
						 
			function blurTextbox(){
				if (this.value.length = 0) {
					this.value = "Your email here";
				}
			}			
			 
			function focusTextbox(){
				this.value="";
			}
			
			
			function blurTextbox2(){
				if (this.value.length = 0) {
					this.value = "First name here";
				}
			}
			function focusTextbox2(){
				this.value="";
			}

						 
			 
			var TextBox = document.getElementById('GRCategory3');
			 
			var TextBoxObj = {
			 
				ManageTextbox : function(){
					TextBox.onblur = TextBoxObj.blurTextbox;
					TextBox.onfocus = TextBoxObj.focusTextbox;
				},
			 
				blurTextbox : function(){
					if (TextBox.value.length==0) {
						TextBox.value="Your email here";
					}
				},
			 
				focusTextbox: function(){
					if (TextBox.value=="Your email here") {
						TextBox.value="";
					}		
				}
			}
			 
			TextBoxObj.ManageTextbox();
			
			
			 
			var TextBox2 = document.getElementById('GRCategory2');			 
			var TextBoxObj2 = {
			 
				ManageTextbox2 : function(){
					TextBox2.onblur = TextBoxObj2.blurTextbox2;
					TextBox2.onfocus = TextBoxObj2.focusTextbox2;
				},
			 
				blurTextbox2 : function(){
					if (TextBox2.value.length==0) {
						TextBox2.value="First name here";
					}
				},
			 
				focusTextbox2: function(){
					if (TextBox2.value=="First name here") {
						TextBox2.value="";
					}		
				}
			}
			 
			TextBoxObj2.ManageTextbox2();
			
			
			
			 
function submit_GR_formf(){
				
				var email = document.getElementById('GRCategory5').value;
				var valid_email = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
				if( valid_email.test( email ) ){
					document.GRSubscribeFormf.submit();
					//document.forms.GRSubscribeForm.submit();					
					document.getElementById('beforef').style.display = 'none';
					document.getElementById('afterf').style.display = 'block';
					
				} else {
					alert("Invalid email address");
				}
				return false;
			}
						 
			function blurTextBoxff(){
				if (this.value.length = 0) {
					this.value = "Your email here";
				}
			}			
			 
			function focusTextBoxff(){
				this.value="";
			}
			
			
			function blurTextBoxff2(){
				if (this.value.length = 0) {
					this.value = "First name here";
				}
			}
			function focusTextBoxff2(){
				this.value="";
			}

						 
			 
			var TextBoxf = document.getElementById('GRCategory5');
			 
			var TextBoxfObjf = {
			 
				ManageTextBoxf : function(){
					TextBoxf.onblur = TextBoxfObjf.blurTextBoxff;
					TextBoxf.onfocus = TextBoxfObjf.focusTextBoxff;
				},
			 
				blurTextBoxff : function(){
					if (TextBoxf.value.length==0) {
						TextBoxf.value="Your email here";
					}
				},
			 
				focusTextBoxff: function(){
					if (TextBoxf.value=="Your email here") {
						TextBoxf.value="";
					}		
				}
			}
			 
			TextBoxfObjf.ManageTextBoxf();
			
			
			 
			var TextBoxf2 = document.getElementById('GRCategory4');			 
			var TextBoxfObjf2 = {
			 
				ManageTextBoxf2 : function(){
					TextBoxf2.onblur = TextBoxfObjf2.blurTextBoxff2;
					TextBoxf2.onfocus = TextBoxfObjf2.focusTextBoxff2;
				},
			 
				blurTextBoxff2 : function(){
					if (TextBoxf2.value.length==0) {
						TextBoxf2.value="First name here";
					}
				},
			 
				focusTextBoxff2: function(){
					if (TextBoxf2.value=="First name here") {
						TextBoxf2.value="";
					}		
				}
			}
			 
			TextBoxfObjf2.ManageTextBoxf2();