// JavaScript Document
// wait for the DOM to be loaded 
$(document).ready(function() { 
						   
	$("input#submitimg").click(function() { 
	var useremail = $("input#useremail").val();
	var password = $("input#password").val();
	
	if (useremail == "" || password == "") 
	{  
		$("div#warning").show("slow"); 
		return false;  
	}
	else
	{
		return true;
	}   
	}); 
						   
	/*for warning div*/
	$("img#hider1").click(function(){
		$("div#warning").fadeOut("slow");
	});
	
	/*for email div*/
	/*$("#forgot").click(function(){
		$("div#emailpopup").show("slow");
	});
	
	$("img#forgot1").click(function(){
		$("div#emailpopup").fadeOut("slow");
	});*/

	$("input#keyword").click(function(){
		$("div#warning").show("slow");
	});
	$("select#position").click(function(){
		$("div#warning").show("slow");
	});
	$("select#job_type").click(function(){
		$("div#warning").show("slow");
	});
	$("select#location").click(function(){
		$("div#warning").show("slow");
	});


}); 
function close_popup() {
$("div#emailpopup").fadeOut("slow");
//					$("#emailpopup").css('display','none');
}

