<!--
	function node_user_jquery_widget(uid, nid, action, option, type, token ) {
		if(Drupal.jsEnabled)
		{
			if(nid > 0 && uid > 0) {
				$.ajax({
					type: "POST",
					beforeSend: function(XMLHttpRequest) {
				   		$('#statusBox').html('<div style="text-align:center; padding:10px;"><img src="/sites/all/themes/yaml/images/loader.gif" width="16" height="16" alt="loading ..." border="0" /></div>');
	    				$('#statusBox').show().fadeIn('slow');
					},
					url: "/sites/all/ajax/setMovie.php",
					data: "action="+action+"&option="+option+"&type="+type+"&token="+token+"&uid="+uid+"&nid="+nid,
					error: function (XMLHttpRequest, textStatus, errorThrown) {
						$('#errorBox').html('Es ist ein Fehler aufgetreten.');
						$('#errorBox').show();
	    				$('#statusBox').hide();
					},
					success: function(data){
						if(option == "add"){
							var show_option = "del";
						} else {
							var show_option = "add";
						}
						
						$('#'+action+'_'+show_option+'').show();
						$('#'+action+'_'+option+'').hide();
						
						$('#statusBox').html('<div style="color:#619F61; background:#F1FFF1; border:2px dotted #A2BEA2; padding:10px;"><div style="float:left; width:25px; padding-top:8px;"><img src="/sites/all/themes/yaml/images/filmliste-ok.gif" width="23" height="21" /></div><div style="float:left; width:160px; padding-left:5px;">'+data+'</div><div style="clear:both"></div></div>');
	   	 				$('#statusBox').show();
					},
					timeout: 5000
				});
			}
		}
	}
//-->