function openIResume(URL,title){
      day = new Date();
      id = day.getTime();
      eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=0,menubar=0,resizable=0,width=800,height=600,left = 240,top = 212');");  
  //iWindow = window.open(url,title,"location=1,status=1,scrollbars=1,width=800,height=600,top=100,left=140");
}

function primary_address_checked(){
	var primary = document.getElementById('em_job_use_primary_address');
	if (!primary.checked)
		addressToggle();
}

function showLayer(whichLayer){	
	var paste = document.getElementById('paste_resume').style;
	var upload = document.getElementById('upload_resume').style;			
	var current = document.getElementById(whichLayer).style;
	
	var paste_tab = document.getElementById('paste_tab');
	var upload_tab = document.getElementById('upload_tab');	
	
	
	if (whichLayer == 'upload_resume'){
		current.display='block';
		paste.display='none';
		
		paste_tab.className='';
		upload_tab.className='current';		
	}
	else if (whichLayer == 'paste_resume'){
		current.display='block';
		upload.display='none';
		upload_tab.className='';
		paste_tab.className='current';		
	}	
}


