<!--
	function showJobPosting(JobSearhURL, ServerID, CompanyID, WorkDept, GetPath)
	{
		var obj = document.getElementById('JobPosting');
		var req = new XMLHTTP();
		
		if (obj != null && req!=null) {
			if (document.getElementById('JobPostingCol')) document.getElementById('JobPostingCol').style.visibility = 'visible';

			var url = JobSearhURL + "/_profile/previewProfileJobsJX.asp";
			req.onreadystatechange = function () {
				if (req.readyState==4) {
					if (req.status==200) {
						if (req.responseText && req.responseText.lastIndexOf("PreviewProfile=") != -1) {
							obj.innerHTML = req.responseText.substring(req.responseText.lastIndexOf("PreviewProfile=")+15);
						}
						else {
							obj.innerHTML = "<center><b>Sorry, the server is too busy to handle your request. <br>Please try again later.</b></center>";
							sendErrorReport(CompanyID, WorkDept, GetPath, req.status, req.statustext);
						}
					}
					else {
						obj.innerHTML = "<center><b>Sorry, the server is too busy to handle your request. <br>Please try again later.</b></center>";
						sendErrorReport(CompanyID, WorkDept, GetPath, req.status, req.statustext);
					}	
				}	
			}
			req.open("POST", url);
			req.send("ServerID=" + ServerID + "&AID=" + CompanyID + "&WorkDept=" + WorkDept);
		}
	}
	
	function sendErrorReport(CompanyID, WorkDept, GetPath, ReqStatus, ReqStatusText)
	{
		var req = new XMLHTTP();
		
		if (req!=null) {
			var url = "http://" + GetPath + "/_profile/reportError.asp?CompanyID=" + CompanyID + "&WorkDept=" + WorkDept + "&GetPath=" + GetPath + "&Status=" + ReqStatus + "&StatusText=" + ReqStatusText;
			
			req.open("GET", url, true);
			req.send(url);
		}
	
	
	}
//-->
