/************************** no reference found: consider deprecated ************************
function send_resume(id, email, baseurl)
{
	if(confirm("We will send this resume to your email address at "+email))
	{
		jQuery.ajax(
		{ 
			url: baseurl+'recruiter/sendresume',
			type: 'POST',
			data: ({'uid' : id}),
			dataType: 'text',
			async: false,
			success: function(data) { 
					if(data == 'false')
					{
						alert('Resume has not been sent to your email address. Please inform Website Administrator.');
					}
					else
					{
						alert('Resume has been sent to your email address successfully.');		
					}
				}
		});

	}
	return false;
}
******************************************************************************************************/

popup_small=function(url,height,width,options){  
  var options =options || {};
  
  if(screen.availHeight && screen.availWidth){
    var ah=screen.availHeight-30;
    var aw=screen.availWidth-10;
  }else{
	var ah=708; 
	var aw=1014;	
  }  
  if(height==undefined){	
    height=600;
  }
  if(width==undefined){	
    width=700;
  }  
		
  var xc = (aw - 500) / 2;
  var yc = (ah - 500) / 2;
  
  // configs
  var resizable  =(options.resizable!=undefined && options.resizable=="N")?0:1;
  var scrollbars =options.scrollbars || 1;
  var winProp='toolbar=0, menubar=0, resizable='+resizable+', scrollbars='+scrollbars+', dependent=0, status=0,';      
      winProp+=' width='+width+', height='+height+',left=' + xc + ', top=' + yc;  	
    
  var new_window = window.open(url, 'new_window', winProp);
  if(new_window && new_window.focus){
    new_window.focus();
  }
}
