function DisplayFlash(path, width, height, wmode){

    text = "<object type=\"application/x-shockwave-flash\" data=\""+path+"\" allowScriptAccess=\"sameDomain\" width=\""+width+"\" height=\""+height+"\" wmode=\""+wmode+"\" quality=\"high\">\r\n";
    text += "<param name=\"movie\"	value=\""+path+"\" />\r\n";
    text += "<param name=\"allowScriptAccess\"	value=\"sameDomain\" />\r\n";
    text += "<param name=\"wmode\" value=\""+wmode+"\" />\r\n";
    text += "<param name=\"quality\" value=\"high\" />\r\n";
    text += "<param name=\"width\" value=\""+width+"\" />\r\n";
    text += "<param name=\"height\" value=\""+height+"\" />\r\n";
    text += "</object>";
    document.write(text);
}

function GetOrder(action) {
	var items = "";
        
	var delitems = "";
        var inputs = document.item.getElementsByTagName('input');
        for (var i = 0; i < inputs.length; i++){
        	if(parseInt(inputs[i].value)){
                	items = items+inputs[i].name+"-"+inputs[i].value+" ";
                }
                else if(inputs[i].checked)
                        delitems = delitems+" "+inputs[i].name.replace("delete_", "");

        }
      alert(items);  
	$('#order').load('/privat_ajax/?action='+action+'&items='+items+'&delitems='+delitems);
		$('#order').load('/privat_ajax/?action='+action+'&items='+items+'&delitems='+delitems);
			$('#order').load('/privat_ajax/?action='+action+'&items='+items+'&delitems='+delitems);
}
