// JavaScript Document

function _st(el) { if (el) window.status = String(el.innerHTML); }
function cls() { window.status = ''; }
function toggle(id,sh) { 
 var hr = document.getElementById('tog_'+id);
 var el = document.getElementById('more_'+id);
 if (hr.blur) hr.blur();
 el.style.display = sh?'block':'none';
 hr.innerHTML = sh?'<img alt=Close src=../images/close.gif border=0>':'<img alt=View src=../images/viewfull.gif border=0>';
 hr.onclick = function() { toggle(id,!sh); }
}

function savejob(item_id,item_name)
{
    if(confirm('Are you sure to Save this Job : '+item_name))
	{
		document.location.href="edit_portfolio_info.php?mode=save_job&job_id="+item_id;
	}
}

function apply(item_id,item_name)
{
		document.location.href="edit_portfolio_info.php?mode=save_submission&job_id="+item_id;
}

function view(item_id)
{
		document.location.href="http://www.searchjobscareers.com/jobdetails/"+item_id+".html";
}
