function sendFeedback(txtModel, strPrefix) {
	
	var rating = $("#feedback option:selected").val();	;
	txtCom = $( '#fbl_txt' ).val(); 

	if ( rating != -1 )	{	
		postwith(strPrefix + '/computing/vaio/feedback.asp', { url: escape(document.location), fbl: rating, fbl_txt: txtCom, model_id: txtModel });

	    $('#fbl_txt').val('');
		if ($( '.vsp-feedback-box' ) ) {	$( '.vsp-feedback-box' ).css('display','none');}
	}
	else alert( "Please select an option" );

	return false;
}

function postwith(to, p) {

    var myForm = document.createElement("form");

    myForm.method = "post";

    myForm.action = to;

    myForm.target = "_blank";

    for (var k in p) {

        var myInput = document.createElement("input");

        myInput.setAttribute("name", k);

        myInput.setAttribute("value", p[k]);

        myForm.appendChild(myInput);

    }

    document.body.appendChild(myForm);

    myForm.submit();

    document.body.removeChild(myForm);

}


