function confirmMsg(str){
	switch(str){
		case 'delarticle' : return confirm("Do you want to delete this article?     ");break;
		case 'deljob' : return confirm("Do you really want to Delete?\n\nInformation of the applicants for this position will also be deleted.     ");break;
		case 'updateJobs' : return confirm("Do you want to update?     ");break;
		case 'sendinqury' : return confirm("Do you want to send this inquiry?     ");break;
		case 'chargedservice' : return confirm("You must pay for this service.     \n\nDo you want to pay?     ");break;
		default : return false; break;
	}
}


function err_msg(str){
	switch(str){
		case 'nobbsaticle' : alert("There is no information on the page you requested.     ");break;
		case 'notmatchpwd' : alert("Password does not match.     ");break;
		case 'filloutpwd' : alert("Please fill out password.     " );break;
		case 'filloutname' : alert("Please fill out your name.     " );break;
		case 'filloutsubject' : alert("Please fill out a subject.     " );break;
		case 'fillouttitle' : alert("Please fill out a title.     " );break;
		case 'filloutcontents' : alert("Please fill out content.     " );break;
		case 'filloutemail' : alert("Please fill out your email address.     " );break;
		
		case 'writereply' : alert("Your reply has been successfully posted.     ");break;
		case 'writearticle' : alert("Your article has been successfully posted.     \n\nThank you.");break;
		case 'updatearticle' : alert("Your article has been successfully updated.     ");break;
		case 'deletearticle' : alert("Your article has been deleted.     ");break;
	
		case 'overfilesize' : alert("\nAllowed file size for uploading is upto 600KB.    \n");break;
		case 'zerofilesize' : alert("\nUploaded file size is 0Byte     \n");break;
		case 'inserterror' : alert("An error occurred while inserting your data.     ");break;
		case 'uploadimage' : alert("Allowed file formats for uploading are JPG, GIF.     ");break;
		case 'nobbs' : alert("There is no bulletin board you requested.     ");history.back();break;
		default : alert("An unknown error occurred.\n\nPlease contact us at ask@koreajoblink.com.     ");document.location.href="/korea/index.asp";break;
	}			
}




