// JavaScript Document
$(document).ready(function() {
	 var options1 = { 
        target:        '#outputTags',   
        beforeSubmit:  showRequestTag,  
        success:       showResponseTag
    }; 
    $('#setTagform').ajaxForm(options1);
});

function showRequestTag() { 
	if(document.getElementById('txtPersonalTags').value==''){		
		document.getElementById('hintTag').style.display="block";
		document.getElementById('hintTag').innerHTML='Please enter tags';
		return false;
	}
	document.getElementById('outputTags').innerHTML='';
	document.getElementById('outputTags').innerHTML='wait..';
} 

function showResponseTag(responseText, statusText)  { 	
	document.getElementById('hintTag').innerHTML='';
}  










